[47119] trunk/dports/science/plplot/Portfile

takeshi at macports.org takeshi at macports.org
Sun Feb 22 02:18:06 PST 2009


Revision: 47119
          http://trac.macports.org/changeset/47119
Author:   takeshi at macports.org
Date:     2009-02-22 02:17:59 -0800 (Sun, 22 Feb 2009)
Log Message:
-----------
plplot @5.9.2_1: added variants gdc cairo

Modified Paths:
--------------
    trunk/dports/science/plplot/Portfile

Modified: trunk/dports/science/plplot/Portfile
===================================================================
--- trunk/dports/science/plplot/Portfile	2009-02-22 10:04:04 UTC (rev 47118)
+++ trunk/dports/science/plplot/Portfile	2009-02-22 10:17:59 UTC (rev 47119)
@@ -5,6 +5,7 @@
 
 name            plplot
 version         5.9.2
+revision        1
 platforms       darwin
 maintainers     takeshi at macports.org
 categories      science
@@ -65,7 +66,7 @@
                         -DPL_FREETYPE_FONT_PATH=${prefix}/share/fonts/freefont-ttf \
                         -DWITH_FREETYPE=ON \
                         -DPLD_aqt=OFF \
-                        -DPLD_tkwin=ON \
+                        -DPLD_tkwin=OFF \
                         -DPLD_wxwidgets=OFF \
                         -DPLD_gnome=OFF \
                         -DPLD_gcw=OFF \
@@ -121,11 +122,11 @@
 if {![variant_isset g95] && ![variant_isset universal]} {
     default_variants +gcc43
 }
-variant gcc43 conflicts g95 description {Build using gcc43 (default)} {
+variant gcc43 conflicts {g95 universal} description {Build using gcc43 (default)} {
     depends_lib-append      port:gcc43
     configure.args-append   -DCMAKE_Fortran_COMPILER=\"${prefix}/bin/gfortran-mp-4.3\"
 }
-variant g95 conflicts gcc43 description {Build using g95} {
+variant g95 conflicts {gcc43 universal} description {Build using g95} {
     depends_lib-append      port:g95
     configure.args-append   -DCMAKE_Fortran_COMPILER=\"${prefix}/bin/g95\"
 }
@@ -158,3 +159,17 @@
                             -DHAVE_NUMPY:BOOL=ON \
                             -DPYTHON_INCLUDE_PATH=${prefix}/include/python2.5
 }
+
+variant gdc description {Add support for D} {
+    depends_lib-append      port:gdc
+    configure.args-append   -DENABLE_d=ON
+}
+
+variant cairo description {Add support for pango/cairo drivers} {
+    depends_lib-append      port:cairo \
+                            port:pango
+    configure.args-append   -DPLD_pscairo=ON  \
+    configure.args-append   -DPLD_pdfcairo=ON \
+    configure.args-append   -DPLD_pngcairo=ON \
+    configure.args-append   -DPLD_svgcairo=ON \
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090222/56af52ec/attachment.html>


More information about the macports-changes mailing list