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

takeshi at macports.org takeshi at macports.org
Sat Sep 12 22:24:33 PDT 2015


Revision: 140229
          https://trac.macports.org/changeset/140229
Author:   takeshi at macports.org
Date:     2015-09-12 22:24:32 -0700 (Sat, 12 Sep 2015)
Log Message:
-----------
plplot: fix build by setting ENABLE_DYNDRIVERS=OFF. add dependency to libharu

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

Modified: trunk/dports/science/plplot/Portfile
===================================================================
--- trunk/dports/science/plplot/Portfile	2015-09-13 03:02:36 UTC (rev 140228)
+++ trunk/dports/science/plplot/Portfile	2015-09-13 05:24:32 UTC (rev 140229)
@@ -8,6 +8,7 @@
 
 name            plplot
 version         5.11.1
+revision        1
 platforms       darwin
 maintainers     takeshi openmaintainer
 categories      science
@@ -35,6 +36,7 @@
                 port:fontconfig \
                 port:freefont-ttf \
                 port:freetype \
+                port:libharu \
                 port:libtool \
                 port:libLASi \
                 port:swig-tcl \
@@ -61,7 +63,9 @@
                             -DTcl_Import_TCL_DECLARED
 
 configure.env           HOME=${workpath}
-configure.args-append   -DTCL_LIBRARY=${prefix}/lib/libtcl.dylib \
+configure.args-append   -DBUILD_SHARED_LIBS=ON \
+                        -DTCL_INCLUDE_PATH=${prefix}/include \
+                        -DTCL_LIBRARY=${prefix}/lib/libtcl.dylib \
                         -DFREETYPE_INCLUDE_DIR_ft2build=${prefix}/include/freetype2 \
                         -DFREETYPE_LIBRARIES=${prefix}/lib/libfreetype.dylib \
                         -DPL_FREETYPE_FONT_PATH=${prefix}/share/fonts/freefont-ttf \
@@ -70,8 +74,6 @@
                         -DWITH_FREETYPE=ON \
                         -DQHULL_INCLUDE_DIR=${prefix}/include \
                         -DQHULL_LIBRARIES=${prefix}/lib/libqhull.dylib \
-                        -DAGG_INCLUDE_DIRS=${prefix}/include/agg2 \
-                        -DAGG_LIBRARY=${prefix}/lib/libagg.dylib \
                         -DSHAPELIB_INCLUDE_DIR=${prefix}/include \
                         -DSHAPELIB_LIBRARY=${prefix}/lib/libshp.dylib \
                         -DPLD_aqt=OFF \
@@ -118,15 +120,13 @@
                         -DENABLE_tcl=ON \
                         -DENABLE_tk=OFF \
                         -DENABLE_wxwidgets=OFF \
+                        -DENABLE_DYNDRIVERS=OFF \
                         -DBUILD_TEST=OFF \
                         -DHAVE_SHAPELIB=ON \
                         -DHAVE_AGG=ON \
-                        -DSWIG_DIR=${prefix}/bin
+                        -DSWIG_DIR=${prefix}/bin \
+                        -Dhpdf_INCLUDE_DIR=${prefix}/include
 
-pre-configure {
-    file mkdir ${workpath}/build
-}
-
 if {[variant_isset universal]} {
     configure.args-append -DCMAKE_OSX_ARCHITECTURES=\"[strsed ${configure.universal_archs} "g| |;|"]\" -DENABLE_f95:BOOL=OFF
 } else {
@@ -138,8 +138,6 @@
     }
 }
 
-build.dir               ${workpath}/build
-
 pre-destroot {
     set mods "${workpath}/build/bindings/f95/plplot.mod
               ${workpath}/build/bindings/f95/plplotp.mod
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150912/d612f058/attachment.html>


More information about the macports-changes mailing list