[98980] trunk/dports/science/plplot/Portfile
takeshi at macports.org
takeshi at macports.org
Mon Oct 22 14:42:31 PDT 2012
Revision: 98980
http://trac.macports.org//changeset/98980
Author: takeshi at macports.org
Date: 2012-10-22 14:42:31 -0700 (Mon, 22 Oct 2012)
Log Message:
-----------
plplot: added qhull support. fixed +aquaterm, closing #36685
Modified Paths:
--------------
trunk/dports/science/plplot/Portfile
Modified: trunk/dports/science/plplot/Portfile
===================================================================
--- trunk/dports/science/plplot/Portfile 2012-10-22 21:27:34 UTC (rev 98979)
+++ trunk/dports/science/plplot/Portfile 2012-10-22 21:42:31 UTC (rev 98980)
@@ -5,7 +5,7 @@
name plplot
version 5.9.9
-revision 3
+revision 4
platforms darwin
maintainers takeshi openmaintainer
categories science
@@ -26,6 +26,7 @@
depends_build port:cmake \
path:bin/pkg-config:pkgconfig
depends_lib port:expat \
+ port:qhull \
port:fontconfig \
port:freefont-ttf \
port:freetype \
@@ -39,6 +40,7 @@
port:zlib
post-patch {
+ reinplace "s|-ObjC|-ObjC -framework AquaTerm|" ${worksrcpath}/cmake/modules/aqt.cmake
reinplace "s|-framework AquaTerm|-F${frameworks_dir} -framework AquaTerm|" ${worksrcpath}/cmake/modules/aqt.cmake
}
@@ -71,6 +73,7 @@
-DFREETYPE_LIBRARY=${prefix}/lib/libfreetype.dylib \
-DPL_FREETYPE_FONT_PATH=${prefix}/share/fonts/freefont-ttf \
-DWITH_FREETYPE=ON \
+ -DQHULL_INCLUDE_DIR=${prefix}/include \
-DPLD_aqt=OFF \
-DPLD_extcairo=ON \
-DPLD_memcairo=ON \
@@ -220,7 +223,8 @@
variant aquaterm description {Add support for Aquaterm} {
depends_lib-append port:aquaterm
configure.args-delete -DPLD_aqt=OFF
- configure.args-append -DPLD_aqt=ON
+ configure.args-append -DPLD_aqt=ON \
+ -DAQT_FRAMEWORK=${prefix}/Library/Frameworks/AquaTerm.framework
}
variant no_x11 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121022/e28ef0bf/attachment.html>
More information about the macports-changes
mailing list