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

takeshi at macports.org takeshi at macports.org
Sat Jun 21 01:00:14 PDT 2008


Revision: 37738
          http://trac.macosforge.org/projects/macports/changeset/37738
Author:   takeshi at macports.org
Date:     2008-06-21 01:00:14 -0700 (Sat, 21 Jun 2008)
Log Message:
-----------
plplot: modified to enable build with cmake-2.6

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

Modified: trunk/dports/science/plplot/Portfile
===================================================================
--- trunk/dports/science/plplot/Portfile	2008-06-21 07:45:52 UTC (rev 37737)
+++ trunk/dports/science/plplot/Portfile	2008-06-21 08:00:14 UTC (rev 37738)
@@ -1,9 +1,12 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
+
 PortSystem      1.0
+
 name            plplot
 version         5.9.0
-revision        0
-platforms       darwin 
+revision        1
+platforms       darwin
 maintainers     takeshi at macports.org
 categories      science
 description     Scientific plotting package
@@ -77,8 +80,8 @@
                         -DENABLE_pdl=OFF \
                         -DENABLE_itcl=OFF \
                         -DENABLE_itk=OFF \
-                        -DBUILD_TEST=ON \
-                        -DSWIG_DIR=${prefix}/bin 
+                        -DBUILD_TEST=OFF \
+                        -DSWIG_DIR=${prefix}/bin
 configure.post_args     ../${distname}
 
 pre-configure {
@@ -89,6 +92,12 @@
 
 build.dir               ${workpath}/build
 
+pre-destroot {
+	file copy ${workpath}/build/bindings/f95/plplot.mod ${workpath}/build/
+	file copy ${workpath}/build/bindings/f95/plplotp.mod ${workpath}/build/
+	file copy ${workpath}/build/bindings/f95/plplot_flt.mod ${workpath}/build/
+}
+
 platform i386 {
     configure.args-append   -DCMAKE_MODULE_LINKER_FLAGS=\"-undefined dynamic_lookup\" \
                             -DCMAKE_EXE_LINKER_FLAGS=\"-undefined dynamic_lookup\"
@@ -126,7 +135,7 @@
 
 variant octave description {Add support for Octave} {
     depends_lib-append       port:octave
-    configure.args-delete   -DENABLE_octave=OFF 
+    configure.args-delete   -DENABLE_octave=OFF
     configure.args-append   -DENABLE_octave=ON
 }
 
@@ -137,18 +146,18 @@
 
 #variant python24 description {Add support for python24} {
 #    depends_lib-append      port:python24 \
-#                            port:py24-numpy 
+#                            port:py24-numpy
 #    configure.args-delete   -DENABLE_python=OFF
 #    configure.args-append   -DENABLE_python=ON \
 #                            -DHAVE_NUMPY:BOOL=ON \
-#                            -DPYTHON_INCLUDE_PATH=${prefix}/include/python2.4 
+#                            -DPYTHON_INCLUDE_PATH=${prefix}/include/python2.4
 #}
 
 variant python25 description {Add support for python25} {
     depends_lib-append      port:python25 \
-                            port:py25-numpy 
+                            port:py25-numpy
     configure.args-delete   -DENABLE_python=OFF
     configure.args-append   -DENABLE_python=ON \
                             -DHAVE_NUMPY:BOOL=ON \
-                            -DPYTHON_INCLUDE_PATH=${prefix}/include/python2.5 
+                            -DPYTHON_INCLUDE_PATH=${prefix}/include/python2.5
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080621/d5d8da25/attachment.htm 


More information about the macports-changes mailing list