[115457] trunk/dports/math/gnuplot/Portfile

mojca at macports.org mojca at macports.org
Thu Jan 2 08:53:15 PST 2014


Revision: 115457
          https://trac.macports.org/changeset/115457
Author:   mojca at macports.org
Date:     2014-01-02 08:53:15 -0800 (Thu, 02 Jan 2014)
Log Message:
-----------
gnuplot: make pdflib a separate variant, turned off by default (#41989)

Modified Paths:
--------------
    trunk/dports/math/gnuplot/Portfile

Modified: trunk/dports/math/gnuplot/Portfile
===================================================================
--- trunk/dports/math/gnuplot/Portfile	2014-01-02 15:34:36 UTC (rev 115456)
+++ trunk/dports/math/gnuplot/Portfile	2014-01-02 16:53:15 UTC (rev 115457)
@@ -9,7 +9,7 @@
 
 name                        gnuplot
 version                     4.6.4
-revision                    3
+revision                    4
 categories                  math science
 # the license has some inconvenient requirements that we're not meeting
 # to be allowed to distribute binaries
@@ -47,7 +47,6 @@
                             port:fontconfig \
                             port:gd2 \
                             port:jpeg \
-                            port:pdflib \
                             port:libiconv \
                             port:libpng \
                             port:ncurses \
@@ -60,7 +59,6 @@
 
 configure.args              --with-readline=${prefix} \
                             --with-gd=${prefix} \
-                            --with-pdf=${prefix} \
                             --with-png=${prefix} \
                             --without-aquaterm \
                             --without-x \
@@ -71,10 +69,11 @@
                             --without-lisp-files \
                             --disable-wxwidgets \
                             --without-bitmap-terminals \
+                            --without-cairo \
                             --without-latex \
-                            --without-tutorial \
-                            --without-cairo \
-                            --without-lua
+                            --without-lua \
+                            --without-pdf \
+                            --without-tutorial
 
 variant aquaterm description "Enable AquaTerm terminal" {
     depends_lib-append      port:aquaterm
@@ -102,11 +101,15 @@
 }
 
 variant pangocairo description "Enable cairo-based terminals" {
-    depends_lib-delete      port:pdflib
     depends_lib-append      path:lib/pkgconfig/pango.pc:pango
     configure.args-delete   --without-cairo
 }
 
+variant pdflib description "Enable pdflib-based pdf terminal" {
+    depends_lib-append      port:pdflib
+    configure.args-replace  --without-pdf --with-pdf=${prefix}
+}
+
 variant wxwidgets description "Enable wxt terminal" {
     wxWidgets.use           wxWidgets-3.0
     depends_lib-append      port:${wxWidgets.port} path:lib/pkgconfig/pango.pc:pango
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140102/6adcfe53/attachment.html>


More information about the macports-changes mailing list