[92408] trunk/dports/science/plplot
takeshi at macports.org
takeshi at macports.org
Fri Apr 27 15:08:48 PDT 2012
Revision: 92408
https://trac.macports.org/changeset/92408
Author: takeshi at macports.org
Date: 2012-04-27 15:08:48 -0700 (Fri, 27 Apr 2012)
Log Message:
-----------
plplot: revamped for 5.9.9
Modified Paths:
--------------
trunk/dports/science/plplot/Portfile
Removed Paths:
-------------
trunk/dports/science/plplot/files/patch-x18f.f90.diff
Modified: trunk/dports/science/plplot/Portfile
===================================================================
--- trunk/dports/science/plplot/Portfile 2012-04-27 21:06:26 UTC (rev 92407)
+++ trunk/dports/science/plplot/Portfile 2012-04-27 22:08:48 UTC (rev 92408)
@@ -4,15 +4,15 @@
PortSystem 1.0
name plplot
-version 5.9.7
+version 5.9.9
platforms darwin
maintainers takeshi openmaintainer
categories science
description Scientific plotting package
master_sites sourceforge
-checksums md5 c53c484ed93ce8446513c31707551b5b \
- sha1 4bfdc2e8ead40ba280ea02ddb56dc90201f5fd47 \
- rmd160 4dacdbe908830f79d7200933a6b16f1fefa53d26
+checksums md5 9f2c8536a58875d97ab6b29bbed67d26 \
+ sha1 3df8fc21723e14af62fea4098e4ef019e1b52a54 \
+ rmd160 403d56896714336e6f8d65ef51563e7c28c7e588
homepage http://plplot.sourceforge.net/
long_description \
PLplot is a cross-platform software package for creating \
@@ -36,7 +36,6 @@
port:tk \
port:zlib
-patchfiles patch-x18f.f90.diff
post-patch {
reinplace "s|-framework AquaTerm|-F${prefix}/Library/Frameworks -framework AquaTerm|" ${worksrcpath}/cmake/modules/aqt.cmake
}
@@ -99,9 +98,9 @@
pre-configure {
file mkdir ${workpath}/build
- if {[file exists ${prefix}/lib/libplplotd.dylib]} {
- return -code error "Before upgrading plplot, please uninstall (or deactivate) the old version of plplot."
- }
+# if {[file exists ${prefix}/lib/libplplotd.dylib]} {
+# return -code error "Before upgrading plplot, please uninstall (or deactivate) the old version of plplot."
+# }
}
if {[variant_isset universal]} {
@@ -128,10 +127,10 @@
}
}
-platform i386 {
- configure.args-append -DCMAKE_MODULE_LINKER_FLAGS=\"-undefined dynamic_lookup\" \
- -DCMAKE_EXE_LINKER_FLAGS=\"-undefined dynamic_lookup\"
-}
+#platform i386 {
+# configure.args-append -DCMAKE_MODULE_LINKER_FLAGS=\"-undefined dynamic_lookup\" \
+# -DCMAKE_EXE_LINKER_FLAGS=\"-undefined dynamic_lookup\"
+#}
if {${os.platform}=="darwin"} {
default_variants +aquaterm
@@ -166,7 +165,8 @@
configure.args-delete -DENABLE_f77=OFF \
-DENABLE_f95=OFF
configure.args-append -DCMAKE_Fortran_COMPILER=\"${prefix}/bin/g95\" \
- -DCMAKE_OSX_DEPLOYMENT_TARGET=\"\"
+ -DCMAKE_OSX_DEPLOYMENT_TARGET=\"\" \
+ -DCMAKE_Fortran_FLAGS=\"${configure.fflags} -fno-second-underscore\"
# Ad hoc fix to enable build of f95 binding by disabling some features
if {${os.major}<10} {
patchfiles-append patch-sfstubsf95.f90.diff
Deleted: trunk/dports/science/plplot/files/patch-x18f.f90.diff
===================================================================
--- trunk/dports/science/plplot/files/patch-x18f.f90.diff 2012-04-27 21:06:26 UTC (rev 92407)
+++ trunk/dports/science/plplot/files/patch-x18f.f90.diff 2012-04-27 22:08:48 UTC (rev 92408)
@@ -1,22 +0,0 @@
---- examples/f95/x18f.f90.orig 2007-03-03 15:46:12.000000000 +0900
-+++ examples/f95/x18f.f90 2007-03-03 16:08:58.000000000 +0900
-@@ -109,8 +109,9 @@
-
- real(kind=plflt) x(5), y(5), z(5)
- integer i, j
-- real(kind=plflt) two_pi
-+ real(kind=plflt) two_pi, one_pi
- parameter ( two_pi = 2.0_plflt*pi )
-+ parameter ( one_pi = 1.0_plflt*pi )
- logical draw(4,4)
- DATA draw / &
- .true., .true., .true., .true., &
-@@ -120,7 +121,7 @@
- real(kind=plflt) theta, phi
- integer ia
- THETA(ia) = (two_pi * (ia) /20._plflt)
-- PHI(ia) = (pi * (ia) / 20.1_plflt)
-+ PHI(ia) = (one_pi * (ia) / 20.1_plflt)
-
- call pladv(0)
- call plvpor(0.0_plflt, 1.0_plflt, 0.0_plflt, 0.9_plflt)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120427/91374277/attachment.html>
More information about the macports-changes
mailing list