# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup active_variants 1.1 name libwnck3 set gname libwnck version 3.4.7 revision 1 set branch [join [lrange [split ${version} .] 0 1] .] maintainers nomaintainer categories gnome platforms darwin license LGPL-2+ description Library used for writing pagers and taskslists. long_description \ libwnck is a Window Navigator Construction Kit, i.e. a library \ to use for writing pagers and taskslists and stuff. It is \ needed for the GNOME 3.0 desktop. homepage http://www.gnome.org/ master_sites gnome:sources/${gname}/${branch}/ use_xz yes distname ${gname}-${version} checksums rmd160 e0f887fad60546082e36e1fbe5ef6c8b1eb105fd \ sha256 d48ac9c7f50c0d563097f63d07bcc83744c7d92a1b4ef65e5faeab32b5ccb723 depends_build port:pkgconfig \ port:intltool \ port:gnome-common depends_lib port:startup-notification \ port:gobject-introspection \ port:gtk3 \ port:xorg-libX11 \ port:xorg-libXres require_active_variants gtk3 x11 # update m4/intltool.m4 and autoreconf pre-configure { copy -force ${prefix}/share/aclocal/intltool.m4 ${worksrcpath}/m4 } use_autoreconf yes autoreconf.args -fvi configure.args --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --enable-introspection \ --disable-silent-rules # gobject-introspection uses g-ir-scanner, which uses $CC from env build.args-append CC="${configure.cc} ${configure.cc_archflags}" # The rules enabled by gobject-introspection require GNU make 3.81+ platform darwin 8 { depends_build-append port:gmake build.cmd ${prefix}/bin/gmake } post-destroot { move ${destroot}${prefix}/bin/wnck-urgency-monitor ${destroot}${prefix}/bin/wnck-urgency-monitor-3.0 move ${destroot}${prefix}/bin/wnckprop ${destroot}${prefix}/bin/wnckprop-3.0 } livecheck.type gnome livecheck.name ${gname}