[138202] trunk/dports/graphics/graphviz/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Jul 1 16:15:20 PDT 2015
Revision: 138202
https://trac.macports.org/changeset/138202
Author: ryandesign at macports.org
Date: 2015-07-01 16:15:20 -0700 (Wed, 01 Jul 2015)
Log Message:
-----------
graphviz: move poppler support to a variant to make graphviz distributable
Modified Paths:
--------------
trunk/dports/graphics/graphviz/Portfile
Modified: trunk/dports/graphics/graphviz/Portfile
===================================================================
--- trunk/dports/graphics/graphviz/Portfile 2015-07-01 22:30:25 UTC (rev 138201)
+++ trunk/dports/graphics/graphviz/Portfile 2015-07-01 23:15:20 UTC (rev 138202)
@@ -10,7 +10,6 @@
name graphviz
set my_name graphviz
version 2.38.0
-revision 1
set thisbranch [strsed ${name} "g/^${my_name}//"]
set otherbranch [expr {${thisbranch} eq {} ? {-devel} : {}}]
categories graphics
@@ -41,7 +40,7 @@
minimum_xcodeversions {9 3.1.2}
if {${name} eq ${subport}} {
-revision 1
+revision 2
conflicts graphviz${otherbranch}
@@ -57,8 +56,7 @@
port:gts \
port:libtool \
port:zlib \
- port:gettext \
- port:poppler
+ port:gettext
depends_run port:urw-fonts
@@ -88,6 +86,7 @@
--without-glade \
--without-gnomeui \
--without-ming \
+ --without-poppler \
--without-qt \
--without-quartz \
--disable-swig \
@@ -267,6 +266,12 @@
configure.args-replace --without-pangocairo --with-pangocairo
}
+# This is not a default variant because its license would make Graphviz undistributable.
+variant poppler description {Add poppler support} {
+ depends_lib-append port:poppler
+ configure.args-replace --without-poppler --with-poppler
+}
+
variant x11 {
depends_lib-append port:xorg-libXaw
configure.args-delete --without-x
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150701/f1d4a620/attachment.html>
More information about the macports-changes
mailing list