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

takeshi at macports.org takeshi at macports.org
Sat Apr 10 15:37:06 PDT 2010


Revision: 66386
          http://trac.macports.org/changeset/66386
Author:   takeshi at macports.org
Date:     2010-04-10 15:37:02 -0700 (Sat, 10 Apr 2010)
Log Message:
-----------
plplot: added no_x11 variant

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

Modified: trunk/dports/science/plplot/Portfile
===================================================================
--- trunk/dports/science/plplot/Portfile	2010-04-10 21:54:42 UTC (rev 66385)
+++ trunk/dports/science/plplot/Portfile	2010-04-10 22:37:02 UTC (rev 66386)
@@ -169,3 +169,16 @@
     configure.args-delete   -DPLD_aqt=OFF
     configure.args-append   -DPLD_aqt=ON
 }
+
+variant no_x11 description {Build without X11} {
+    depends_lib-delete      path:lib/pkgconfig/pango.pc:pango \
+                            port:tk
+    configure.args-delete   -DPLD_xcairo=ON  \
+                            -DPLD_tk=ON \
+                            -DTK_INCLUDE_PATH=${prefix}/include \
+                            -DTK_LIBRARY=${prefix}/lib/libtk.dylib
+    configure.args-append   -DPLD_xcairo=OFF \
+                            -DPLD_xwin=OFF \
+                            -DPLD_tk=OFF \
+                            -DENABLE_tk=OFF
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100410/f26aca82/attachment.html>


More information about the macports-changes mailing list