[33159] trunk/dports/math/pari/Portfile
vinc17 at macports.org
vinc17 at macports.org
Sat Jan 19 17:11:36 PST 2008
Revision: 33159
http://trac.macosforge.org/projects/macports/changeset/33159
Author: vinc17 at macports.org
Date: 2008-01-19 17:11:35 -0800 (Sat, 19 Jan 2008)
Log Message:
-----------
pari: install more doc (${prefix}/share/doc/pari directory & PDF files).
Modified Paths:
--------------
trunk/dports/math/pari/Portfile
Modified: trunk/dports/math/pari/Portfile
===================================================================
--- trunk/dports/math/pari/Portfile 2008-01-20 01:10:12 UTC (rev 33158)
+++ trunk/dports/math/pari/Portfile 2008-01-20 01:11:35 UTC (rev 33159)
@@ -4,6 +4,7 @@
name pari
version 2.3.3
+revision 1
categories math
platforms darwin
maintainers vincent-opdarw at vinc17.org
@@ -17,6 +18,7 @@
sha1 5304442a631fd87681112e5e7a8d071eeda3e192 \
rmd160 ad81a5332f42025b822d8906b7e04039f8d50187
depends_build path:${prefix}/bin/tex:texlive port:readline
+build.target gp docpdf
# PARI/GP doesn't use autoconf, and if only *FLAGS environment variables are
# used, libreadline is not found. One needs *PATH environment variables.
@@ -27,6 +29,17 @@
file rename -force ${worksrcpath}/Configure ${worksrcpath}/configure
}
+post-destroot {
+ set docdir ${destroot}${prefix}/share/doc/${name}
+ file mkdir ${docdir}
+ xinstall -m 644 -v -W ${worksrcpath} \
+ AUTHORS CHANGES COPYING TODO ${docdir}
+ system "ln -s ../../${name}/doc ${docdir}/doc"
+ xinstall -m 644 -v -W ${worksrcpath}/doc \
+ develop.pdf libpari.pdf refcard.pdf tutorial.pdf users.pdf \
+ ${destroot}${prefix}/share/${name}/doc
+}
+
livecheck.check regex
livecheck.url ${master_sites}?M=D
livecheck.regex ${name}-(\\d+\\.\\d+\\.\\d+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080119/af1e76ea/attachment.html
More information about the macports-changes
mailing list