[129210] trunk/dports/python/py-htmlgen/Portfile
larryv at macports.org
larryv at macports.org
Mon Dec 8 19:12:42 PST 2014
Revision: 129210
https://trac.macports.org/changeset/129210
Author: larryv at macports.org
Date: 2014-12-08 19:12:42 -0800 (Mon, 08 Dec 2014)
Log Message:
-----------
py-htmlgen: Use MacPorts versions of file(n) commands
Modified Paths:
--------------
trunk/dports/python/py-htmlgen/Portfile
Modified: trunk/dports/python/py-htmlgen/Portfile
===================================================================
--- trunk/dports/python/py-htmlgen/Portfile 2014-12-09 03:06:38 UTC (rev 129209)
+++ trunk/dports/python/py-htmlgen/Portfile 2014-12-09 03:12:42 UTC (rev 129210)
@@ -41,14 +41,14 @@
if {${name} ne ${subport}} {
post-extract {
- file copy ${filespath}/setup.py ${worksrcpath}
- file delete ${worksrcpath}/installp.py ${worksrcpath}/HTMLtest.py
+ copy ${filespath}/setup.py ${worksrcpath}
+ delete ${worksrcpath}/installp.py ${worksrcpath}/HTMLtest.py
reinplace "s|VERSION|${version}|g" ${worksrcpath}/setup.py
}
post-destroot {
- file delete -force ${destroot}${prefix}/share/doc/${subport}
- file copy ${worksrcpath}/html ${destroot}${prefix}/share/doc/${subport}
+ delete ${destroot}${prefix}/share/doc/${subport}
+ copy ${worksrcpath}/html ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 -W ${worksrcpath} ChangeLog README \
${destroot}${prefix}/share/doc/${subport}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141208/a21da425/attachment-0001.html>
More information about the macports-changes
mailing list