[116427] trunk/dports/math/sundials/Portfile
sean at macports.org
sean at macports.org
Fri Jan 24 14:04:50 PST 2014
Revision: 116427
https://trac.macports.org/changeset/116427
Author: sean at macports.org
Date: 2014-01-24 14:04:50 -0800 (Fri, 24 Jan 2014)
Log Message:
-----------
sundials: add doc variant
Modified Paths:
--------------
trunk/dports/math/sundials/Portfile
Modified: trunk/dports/math/sundials/Portfile
===================================================================
--- trunk/dports/math/sundials/Portfile 2014-01-24 22:04:45 UTC (rev 116426)
+++ trunk/dports/math/sundials/Portfile 2014-01-24 22:04:50 UTC (rev 116427)
@@ -91,5 +91,12 @@
xinstall -m 644 -W ${worksrcpath} LICENSE README ${destroot}${prefix}/share/doc/${name}
}
+variant doc description {install pdf documentation} {
+ post-destroot {
+ eval copy [glob ${worksrcpath}/doc/*] ${destroot}${prefix}/share/doc/${name}
+ system "find ${destroot}${prefix}/share/doc -type f -exec chmod 644 {} \\;"
+ }
+}
+
livecheck.type regex
livecheck.regex v.(\[0-9.\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140124/4177c7ad/attachment.html>
More information about the macports-changes
mailing list