[92220] trunk/dports/math/pari/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Apr 22 01:09:02 PDT 2012
Revision: 92220
https://trac.macports.org/changeset/92220
Author: ryandesign at macports.org
Date: 2012-04-22 01:09:02 -0700 (Sun, 22 Apr 2012)
Log Message:
-----------
pari: put doc stuff into doc variant
Modified Paths:
--------------
trunk/dports/math/pari/Portfile
Modified: trunk/dports/math/pari/Portfile
===================================================================
--- trunk/dports/math/pari/Portfile 2012-04-22 08:07:28 UTC (rev 92219)
+++ trunk/dports/math/pari/Portfile 2012-04-22 08:09:02 UTC (rev 92220)
@@ -77,7 +77,12 @@
xinstall -m 644 -v -W ${worksrcpath} \
AUTHORS CHANGES COPYING ${docdir}
ln -s ../../${name}/doc ${docdir}/doc
- if {[variant_isset doc]} {
+}
+
+variant doc description {Build DVI/PDF/PS documentation} {
+ depends_build-append path:bin/tex:texlive
+ build.target-append docpdf
+ post-destroot {
if {[variant_isset universal]} {
xinstall -m 644 -v -W ${worksrcpath}-${os.arch}/doc \
develop.pdf libpari.pdf refcard.pdf tutorial.pdf users.pdf \
@@ -90,11 +95,6 @@
}
}
-variant doc description {Build DVI/PDF/PS documentation} {
- depends_build-append path:bin/tex:texlive
- build.target-append docpdf
-}
-
# Qt support doesn't work with:
# depends_lib-append port:qt4-mac
# configure.args-delete --graphic=none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120422/b0d38c40/attachment.html>
More information about the macports-changes
mailing list