[26312] trunk/dports/math/gsl/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Tue Jun 19 05:01:06 PDT 2007
Revision: 26312
http://trac.macosforge.org/projects/macports/changeset/26312
Author: jochen at macports.org
Date: 2007-06-19 05:01:06 -0700 (Tue, 19 Jun 2007)
Log Message:
-----------
Take over maintainership
install-info gsl-ref
Modified Paths:
--------------
trunk/dports/math/gsl/Portfile
Modified: trunk/dports/math/gsl/Portfile
===================================================================
--- trunk/dports/math/gsl/Portfile 2007-06-19 11:05:27 UTC (rev 26311)
+++ trunk/dports/math/gsl/Portfile 2007-06-19 12:01:06 UTC (rev 26312)
@@ -5,9 +5,9 @@
version 1.9
categories science
platforms darwin
-maintainers nomaintainer at macports.org
+maintainers openmaintainer jochen
description A numerical library for C and C++ programmers
-long_description \
+long_description \
The GNU Scientific Library (GSL) is a numerical \
library for C and C++ programmers. It is free software \
under the GNU General Public License. \
@@ -26,7 +26,7 @@
# bugs in Apple's gcc 3.3 and earlier.
platform darwin 6 7 {
configure.env CFLAGS="-O1"
- }
+}
platform darwin 8 {
configure.env-append CC=/usr/bin/gcc-4.0 \
@@ -37,30 +37,38 @@
configure.args --mandir=${prefix}/share/man \
--infodir=${prefix}/share/info
+depends_build port:texinfo
+
+post-install {
+ system "install-info ${destroot}${prefix}/share/info/gsl-ref.info ${prefix}/share/info/dir"
+}
+
test.run yes
test.target check
-variant doc { depends_build port:ghostscript \
+
+variant doc { depends_build port:ghostscript \
+ port:texinfo \
bin:latex:teTeX
- post-destroot { cd ${worksrcpath}
- system "make dvi"
- cd ${worksrcpath}/doc
- system "dvipdf gsl-ref.dvi gsl-ref.pdf"
- xinstall -d -m 755 ${destroot}${prefix}/share/${name}
- xinstall -c -m 644 ${worksrcpath}/doc/gsl-ref.pdf \
- ${destroot}${prefix}/share/${name}
-
- cd ${worksrcpath}/doc
- system "latex fftalgorithms && bibtex fftalgorithms"
- system "latex fftalgorithms && latex fftalgorithms"
- system "dvipdf fftalgorithms.dvi fftalgorithms.pdf"
- xinstall -c -m 644 ${worksrcpath}/doc/fftalgorithms.pdf \
- ${destroot}${prefix}/share/${name}
- cd ${worksrcpath}
- system "make html"
- xinstall -d -m 755 ${destroot}${prefix}/share/${name}/html
- eval xinstall -c -m 644 [glob ${worksrcpath}/doc/gsl-ref.html/*] \
- ${destroot}${prefix}/share/${name}/html
- }
+ post-destroot {
+ cd ${worksrcpath}
+ system "make dvi"
+ cd ${worksrcpath}/doc
+ system "dvipdf gsl-ref.dvi gsl-ref.pdf"
+ xinstall -d -m 755 ${destroot}${prefix}/share/${name}
+ xinstall -c -m 644 ${worksrcpath}/doc/gsl-ref.pdf \
+ ${destroot}${prefix}/share/${name}
+ cd ${worksrcpath}/doc
+ system "latex fftalgorithms && bibtex fftalgorithms"
+ system "latex fftalgorithms && latex fftalgorithms"
+ system "dvipdf fftalgorithms.dvi fftalgorithms.pdf"
+ xinstall -c -m 644 ${worksrcpath}/doc/fftalgorithms.pdf \
+ ${destroot}${prefix}/share/${name}
+ cd ${worksrcpath}
+ system "make html"
+ xinstall -d -m 755 ${destroot}${prefix}/share/${name}/html
+ eval xinstall -c -m 644 [glob ${worksrcpath}/doc/gsl-ref.html/*] \
+ ${destroot}${prefix}/share/${name}/html
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070619/a4808d8d/attachment.html
More information about the macports-changes
mailing list