most recent changes, diff for plplot
Index: science/plplot/Portfile
--- science/plplot/Portfile (revision 37737)
+++ science/plplot/Portfile (revision 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@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
}