[146599] trunk/dports/gnome/dia/Portfile
devans at macports.org
devans at macports.org
Sat Mar 12 15:33:34 PST 2016
Revision: 146599
https://trac.macports.org/changeset/146599
Author: devans at macports.org
Date: 2016-03-12 15:33:34 -0800 (Sat, 12 Mar 2016)
Log Message:
-----------
dia: add +quartz variant, update dependencies, post-activate processing, increment revision.
Modified Paths:
--------------
trunk/dports/gnome/dia/Portfile
Modified: trunk/dports/gnome/dia/Portfile
===================================================================
--- trunk/dports/gnome/dia/Portfile 2016-03-12 22:31:10 UTC (rev 146598)
+++ trunk/dports/gnome/dia/Portfile 2016-03-12 23:33:34 UTC (rev 146599)
@@ -2,9 +2,11 @@
# $Id$
PortSystem 1.0
+PortGroup active_variants 1.1
name dia
version 0.97.3
+revision 1
set branch [join [lrange [split ${version} .] 0 1] .]
maintainers nomaintainer
license GPL-2+
@@ -46,9 +48,11 @@
port:gtk2 \
path:lib/pkgconfig/pango.pc:pango \
port:popt \
+ port:shared-mime-info \
port:zlib
-depends_run port:librsvg
+depends_run port:librsvg \
+ port:gnome-themes-standard
patchfiles patch-autogen.sh.diff \
patch-configure.in.diff
@@ -67,12 +71,19 @@
--with-xslt-prefix=${prefix}
post-activate {
+ system "${prefix}/bin/update-mime-database ${prefix}/share/mime"
system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
}
-livecheck.type gnome-with-unstable
+variant quartz {}
+if {[variant_isset quartz]} {
+ require_active_variants gtk2 quartz
+} else {
+ require_active_variants gtk2 x11
+}
+
variant python27 description {Add python 2.7 bindings} {
set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
depends_build-append port:swig
@@ -84,3 +95,5 @@
configure.env-append am_cv_python_pyexecdir=${python_prefix} \
am_cv_python_pythondir=${python_prefix}
}
+
+livecheck.type gnome-with-unstable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160312/7794f9d4/attachment-0001.html>
More information about the macports-changes
mailing list