[73759] trunk/dports/science/dineroIV/Portfile
and.damore at macports.org
and.damore at macports.org
Wed Nov 24 02:42:19 PST 2010
Revision: 73759
http://trac.macports.org/changeset/73759
Author: and.damore at macports.org
Date: 2010-11-24 02:42:15 -0800 (Wed, 24 Nov 2010)
Log Message:
-----------
added doc files to manual destroot phase
Modified Paths:
--------------
trunk/dports/science/dineroIV/Portfile
Modified: trunk/dports/science/dineroIV/Portfile
===================================================================
--- trunk/dports/science/dineroIV/Portfile 2010-11-24 10:26:54 UTC (rev 73758)
+++ trunk/dports/science/dineroIV/Portfile 2010-11-24 10:42:15 UTC (rev 73759)
@@ -39,18 +39,28 @@
destroot {
xinstall -m 755 -d ${destroot}${prefix}/bin
xinstall -m 755 ${worksrcpath}/dineroIV ${destroot}${prefix}/bin
-
+
+ #destrooting docs
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 ${worksrcpath}/COPYRIGHT ${destroot}${prefix}/share/doc/${name}
+ eval xinstall -m 644 [glob \
+ ${worksrcpath}/CHANGES \
+ ${worksrcpath}/NOTES \
+ ${worksrcpath}/COPYRIGHT \
+ ${worksrcpath}/README \
+ ${worksrcpath}/TODO \
+ ] ${destroot}${prefix}/share/doc/${name}
+ #destrooting examples from /testing
xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
+ #binaries
eval xinstall -m 755 [glob \
${worksrcpath}/testing/p2? \
${worksrcpath}/testing/testscript] ${destroot}${prefix}/share/examples/${name}
+ #readonly files
eval xinstall -m 644 [glob \
- ${worksrcpath}/testing/README \
- ${worksrcpath}/testing/p2.* \
- ${worksrcpath}/testing/test-* \
- ${worksrcpath}/testing/mm.*] ${destroot}${prefix}/share/examples/${name}
+ ${worksrcpath}/testing/README \
+ ${worksrcpath}/testing/p2.* \
+ ${worksrcpath}/testing/test-* \
+ ${worksrcpath}/testing/mm.* \
+ ] ${destroot}${prefix}/share/examples/${name}
}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101124/6555e793/attachment.html>
More information about the macports-changes
mailing list