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

takeshi at macports.org takeshi at macports.org
Fri Jul 3 20:49:51 PDT 2009


Revision: 53363
          http://trac.macports.org/changeset/53363
Author:   takeshi at macports.org
Date:     2009-07-03 20:49:50 -0700 (Fri, 03 Jul 2009)
Log Message:
-----------
plplot: build cairo by default. added psttf driver using libLASi

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

Modified: trunk/dports/science/plplot/Portfile
===================================================================
--- trunk/dports/science/plplot/Portfile	2009-07-04 03:15:09 UTC (rev 53362)
+++ trunk/dports/science/plplot/Portfile	2009-07-04 03:49:50 UTC (rev 53363)
@@ -5,6 +5,7 @@
 
 name            plplot
 version         5.9.4
+revision        1
 platforms       darwin
 maintainers     takeshi
 categories      science
@@ -23,14 +24,15 @@
 
 depends_build   port:cmake \
                 path:bin/pkg-config:pkgconfig
-depends_lib     port:expat \
+depends_lib     port:cairo \
+                port:expat \
                 port:fontconfig \
                 port:freefont-ttf \
                 port:freetype \
-                port:gd2 \
                 port:libiconv \
-                port:jpeg \
+                port:libLASi \
                 port:libpng \
+                port:pango \
                 port:swig \
                 port:tcl \
                 port:tk \
@@ -65,16 +67,23 @@
                         -DPL_FREETYPE_FONT_PATH=${prefix}/share/fonts/freefont-ttf \
                         -DWITH_FREETYPE=ON \
                         -DPLD_aqt=OFF \
+                        -DPLD_extcairo=ON \
+                        -DPLD_memcairo=ON \
+                        -DPLD_psttf=ON \
+                        -DPLD_pscairo=ON  \
+                        -DPLD_pdfcairo=ON \
+                        -DPLD_pngcairo=ON \
+                        -DPLD_svgcairo=ON \
+                        -DPLD_xcairo=ON  \
                         -DPLD_tkwin=OFF \
-                        -DPLD_wxwidgets=OFF \
-                        -DPLD_gnome=OFF \
-                        -DPLD_gcw=OFF \
+                        -DENABLE_gnome2=OFF \
                         -DENABLE_java=OFF \
                         -DENABLE_python=OFF \
                         -DENABLE_octave=OFF \
                         -DENABLE_pdl=OFF \
                         -DENABLE_itcl=OFF \
                         -DENABLE_itk=OFF \
+                        -DENABLE_wxwidgets=OFF \
                         -DBUILD_TEST=OFF \
                         -DSWIG_DIR=${prefix}/bin
 configure.post_args     ../${distname}
@@ -108,6 +117,7 @@
 }
 
 # variant gcw is deleted since it has been deprecated
+# gd driver (gif, jpeg, png, svg) has been deprecated
 
 if {![variant_isset g95] && ![variant_isset universal]} {
     default_variants +gcc43
@@ -146,12 +156,3 @@
     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_xcairo=ON  \
-    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/20090703/58dd51ec/attachment-0001.html>


More information about the macports-changes mailing list