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

mojca at macports.org mojca at macports.org
Sat May 17 12:21:54 PDT 2014


Revision: 120166
          https://trac.macports.org/changeset/120166
Author:   mojca at macports.org
Date:     2014-05-17 12:21:54 -0700 (Sat, 17 May 2014)
Log Message:
-----------
gnuplot: add dependency on libcerf, remove some default flags

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

Modified: trunk/dports/math/gnuplot/Portfile
===================================================================
--- trunk/dports/math/gnuplot/Portfile	2014-05-17 19:20:52 UTC (rev 120165)
+++ trunk/dports/math/gnuplot/Portfile	2014-05-17 19:21:54 UTC (rev 120166)
@@ -9,6 +9,7 @@
 
 name                        gnuplot
 version                     4.6.5
+revision                    1
 categories                  math science
 # the license has some inconvenient requirements that we're not meeting
 # to be allowed to distribute binaries
@@ -46,6 +47,7 @@
                             port:fontconfig \
                             port:gd2 \
                             port:jpeg \
+                            port:libcerf \
                             port:libiconv \
                             port:libpng \
                             port:ncurses \
@@ -58,11 +60,8 @@
 
 configure.args              --with-readline=${prefix} \
                             --with-gd=${prefix} \
-                            --with-png=${prefix} \
                             --without-aquaterm \
                             --without-x \
-                            --enable-datastrings \
-                            --enable-histograms \
                             --infodir='\${prefix}/share/info' \
                             --mandir='\${prefix}/share/man' \
                             --without-lisp-files \
@@ -100,7 +99,6 @@
 }
 
 variant pangocairo description "Enable cairo-based terminals" {
-    depends_lib-append      path:lib/pkgconfig/pango.pc:pango
     configure.args-delete   --without-cairo
 }
 
@@ -112,9 +110,6 @@
 variant wxwidgets description "Enable wxt terminal" {
     wxWidgets.use           wxWidgets-3.0
     depends_lib-append      port:${wxWidgets.port}
-    if {![variant_isset pangocairo]} {
-        depends_lib-append  path:lib/pkgconfig/pango.pc:pango
-    }
     configure.args-delete   --disable-wxwidgets
     configure.args-append   --with-wx-config=${wxWidgets.wxdir}
 }
@@ -141,6 +136,10 @@
     default_variants-append +wxwidgets
 }
 
+if {[variant_isset pangocairo] || [variant_isset wxwidgets]} {
+    depends_lib-append      path:lib/pkgconfig/pango.pc:pango
+}
+
 # Building and installing TeX macro files for TikZ could/should be done by gnuplot's Makefile,
 # but without a patch that would require a dependency on texlive.
 # Apart from that the files would fly to the wrong place in TDS,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140517/0e990481/attachment.html>


More information about the macports-changes mailing list