[29329] trunk/dports/math/gsl/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Fri Sep 21 01:19:13 PDT 2007
Revision: 29329
http://trac.macosforge.org/projects/macports/changeset/29329
Author: jochen at macports.org
Date: 2007-09-21 01:19:13 -0700 (Fri, 21 Sep 2007)
Log Message:
-----------
upgrade to new upstream release 1.10
fix installation directory for PDF and html documentation
add modeline for Emacs and vim
whitespace changes according to modeline
Modified Paths:
--------------
trunk/dports/math/gsl/Portfile
Modified: trunk/dports/math/gsl/Portfile
===================================================================
--- trunk/dports/math/gsl/Portfile 2007-09-21 08:12:46 UTC (rev 29328)
+++ trunk/dports/math/gsl/Portfile 2007-09-21 08:19:13 UTC (rev 29329)
@@ -1,72 +1,67 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
-name gsl
-version 1.9
-categories science
-platforms darwin
-maintainers openmaintainer jochen
-description A numerical library for C and C++ programmers
-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. \
- \
- The library provides a wide range of mathematical \
- routines such as random number generators, special \
- functions and least-squares fitting. There are over \
- 1000 functions in total.
+PortSystem 1.0
+name gsl
+version 1.10
+categories math science
+maintainers openmaintainer jochen
+description A numerical library for C and C++ programmers
+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. \
+ \
+ The library provides a wide range of mathematical routines \
+ such as random number generators, special functions and \
+ least-squares fitting. There are over 1000 functions in total.
-master_sites gnu
-checksums md5 81dca4362ae8d2aa1547b7d010881e43 \
- sha1 7541504ed9864b1a278f9392830ecac9e0146258 \
- rmd160 faca66d02876135c31c2f3585baa1931488e1593
+platforms darwin
+master_sites gnu
+checksums md5 d67be4f2e5560d6cf907e18a428becdc \
+ sha1 401d0203d362948e30d0b3c58601a3bc52d0bfd4 \
+ rmd160 0b6ac2b1aec6a93521941620a824ae78f79adebb
# Lower optimization level (-O1) is required to avoid code generation
# bugs in Apple's gcc 3.3 and earlier.
platform darwin 6 7 {
- configure.cflags-append "-O1"
+ configure.cflags-append "-O1"
}
-
platform darwin 8 {
- configure.compiler gcc-4.0
+ configure.compiler gcc-4.0
}
-configure.args --mandir=${prefix}/share/man \
- --infodir=${prefix}/share/info
+configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info
-depends_build port:texinfo
+depends_build port:texinfo
-post-install {
- system "install-info ${destroot}${prefix}/share/info/gsl-ref.info ${prefix}/share/info/dir"
+post-install {
+ system "install-info ${destroot}${prefix}/share/info/gsl-ref.info ${prefix}/share/info/dir"
}
-test.run yes
-test.target check
+test.run yes
+test.target check
-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
- }
+variant doc description "Install PDF and HTML documentation" {
+ 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/doc/${name}
+ xinstall -c -m 644 ${worksrcpath}/doc/gsl-ref.pdf ${destroot}${prefix}/share/doc/${name}
+ cd ${worksrcpath}/doc
+ system "latex fftalgorithms"
+ system "bibtex fftalgorithms"
+ system "latex fftalgorithms"
+ system "latex fftalgorithms"
+ system "dvipdf fftalgorithms.dvi fftalgorithms.pdf"
+ xinstall -c -m 644 ${worksrcpath}/doc/fftalgorithms.pdf ${destroot}${prefix}/share/doc/${name}
+ cd ${worksrcpath}
+ system "make html"
+ xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/html
+ eval xinstall -c -m 644 [glob ${worksrcpath}/doc/gsl-ref.html/*] \
+ ${destroot}${prefix}/share/doc/${name}/html
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070921/80494013/attachment.html
More information about the macports-changes
mailing list