[86229] trunk/dports/math/fgsl/Portfile
takeshi at macports.org
takeshi at macports.org
Sat Oct 22 21:24:10 PDT 2011
Revision: 86229
http://trac.macports.org/changeset/86229
Author: takeshi at macports.org
Date: 2011-10-22 21:24:05 -0700 (Sat, 22 Oct 2011)
Log Message:
-----------
fgsl: updated for 0.9.4. Set cc. Use HTML doc
Modified Paths:
--------------
trunk/dports/math/fgsl/Portfile
Modified: trunk/dports/math/fgsl/Portfile
===================================================================
--- trunk/dports/math/fgsl/Portfile 2011-10-23 03:18:48 UTC (rev 86228)
+++ trunk/dports/math/fgsl/Portfile 2011-10-23 04:24:05 UTC (rev 86229)
@@ -3,7 +3,7 @@
PortSystem 1.0
name fgsl
-version 0.9.3
+version 0.9.4
categories math science
maintainers takeshi
license GPL-2
@@ -14,22 +14,22 @@
homepage http://www.lrz-muenchen.de/services/software/mathematik/gsl/fortran/
platforms darwin
master_sites ${homepage}
-checksums md5 c947c761121900dcd81f544b1a0dbe6e \
- sha1 96e0e0c6b538377bdbe043c8c064e5d60ba6e428 \
- rmd160 159162527256408ecf210b382461794b71c4738c
+checksums md5 cee6760809bc1ddbb6172fc8818a76b2 \
+ sha1 82f3047a3b1b1970fae741946fd8479f15595362 \
+ rmd160 7c12162b4fb64746d91715756c01e52dbb4e0e09
depends_lib port:gsl port:g95
patch {
reinplace "s| \$bits | \"\$bits\" |" ${worksrcpath}/configure
- reinplace "s|uname -i|uname -p|" ${worksrcpath}/configure
+ reinplace "s|fgsl_doc|share/doc/fgsl|" ${worksrcpath}/Makefile
reinplace "s|\$(PREFIX)|\$(DESTDIR)\$(PREFIX)|" ${worksrcpath}/Makefile
- reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/doc/usage.texi
+ reinplace "s|error_3\.exe||" ${worksrcpath}/doc/examples/Makefile
}
#pre-configure {
# reinplace "s|gfortran|gfortran-mp-4.3|" ${worksrcpath}/configure
#}
configure.pre_args-delete --prefix=${prefix}
-configure.args "--prefix ${prefix} --f90 g95 --gsl ${prefix}"
+configure.args "--prefix ${prefix} --f90 g95 --cc ${configure.cc} --gsl ${prefix}"
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/${name}/examples
@@ -39,7 +39,6 @@
reinplace "s|-I../..|-I${prefix}/include/\$(F90)|" ${destroot}${prefix}/share/${name}/examples/Makefile
if {[variant_isset doc]} {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 ${worksrcpath}/doc/fgsl-ref.pdf ${destroot}${prefix}/share/doc/${name}/
}
}
@@ -53,11 +52,11 @@
# reinplace "s|g95|gfortran-mp-4.3|" ${worksrcpath}/doc/usage.texi
#}
-variant doc description {typeset documentation} {
- depends_build-append port:texinfo bin:dvipdf:teTeX
- post-build {
- system "cd ${worksrcpath}/doc/; make"
- }
+variant doc description {deprecated. dummy variant} {
+# depends_build-append port:texinfo bin:dvipdf:teTeX
+# post-build {
+# system "cd ${worksrcpath}/doc/; make"
+# }
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111022/d00e6fe9/attachment.html>
More information about the macports-changes
mailing list