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

takeshi at macports.org takeshi at macports.org
Wed Aug 12 01:07:13 PDT 2009


Revision: 55497
          http://trac.macports.org/changeset/55497
Author:   takeshi at macports.org
Date:     2009-08-12 01:07:09 -0700 (Wed, 12 Aug 2009)
Log Message:
-----------
plplot: added dependency to antigraingeometry. enabled AquaTerm. explicitly disabled wxwidgets

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

Modified: trunk/dports/science/plplot/Portfile
===================================================================
--- trunk/dports/science/plplot/Portfile	2009-08-12 07:53:36 UTC (rev 55496)
+++ trunk/dports/science/plplot/Portfile	2009-08-12 08:07:09 UTC (rev 55497)
@@ -35,12 +35,13 @@
                 port:swig \
                 port:tcl \
                 port:tk \
+                port:aquaterm \
+                port:antigraingeometry \
                 port:zlib
 
 patchfiles      patch-x18f.f90.diff
-
-pre-configure {
-    file mkdir ${workpath}/build
+post-patch {
+    reinplace "s|-framework AquaTerm|-F${prefix}/Library/Frameworks -framework AquaTerm|" ${worksrcpath}/cmake/modules/aqt.cmake
 }
 
 configure.dir           ${workpath}/build
@@ -65,7 +66,7 @@
                         -DFREETYPE_LIBRARY=${prefix}/lib/libfreetype.dylib \
                         -DPL_FREETYPE_FONT_PATH=${prefix}/share/fonts/freefont-ttf \
                         -DWITH_FREETYPE=ON \
-                        -DPLD_aqt=OFF \
+                        -DPLD_aqt=ON \
                         -DPLD_extcairo=ON \
                         -DPLD_memcairo=ON \
                         -DPLD_psttf=ON \
@@ -73,6 +74,7 @@
                         -DPLD_pdfcairo=ON \
                         -DPLD_pngcairo=ON \
                         -DPLD_svgcairo=ON \
+                        -DPLD_wxwidgets=OFF \
                         -DPLD_xcairo=ON  \
                         -DPLD_tkwin=OFF \
                         -DENABLE_gnome2=OFF \
@@ -88,6 +90,7 @@
 configure.post_args     ../${distname}
 
 pre-configure {
+    file mkdir ${workpath}/build
     if {[file exists ${prefix}/lib/libplplotd.dylib]} {
         return -code error "Before upgrading plplot, please uninstall (or deactivate) the old version of plplot."
     }
@@ -154,4 +157,3 @@
     depends_lib-append      port:gdc
     configure.args-append   -DENABLE_d=ON
 }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090812/142bb91a/attachment.html>


More information about the macports-changes mailing list