[84554] trunk/dports/lang/py-htmldocs/Portfile
eborisch at macports.org
eborisch at macports.org
Tue Sep 27 14:50:09 PDT 2011
Revision: 84554
http://trac.macports.org/changeset/84554
Author: eborisch at macports.org
Date: 2011-09-27 14:50:08 -0700 (Tue, 27 Sep 2011)
Log Message:
-----------
py-htmldocs: Fix permissions issue #31425
Modified Paths:
--------------
trunk/dports/lang/py-htmldocs/Portfile
Modified: trunk/dports/lang/py-htmldocs/Portfile
===================================================================
--- trunk/dports/lang/py-htmldocs/Portfile 2011-09-27 21:30:22 UTC (rev 84553)
+++ trunk/dports/lang/py-htmldocs/Portfile 2011-09-27 21:50:08 UTC (rev 84554)
@@ -7,6 +7,8 @@
python.versions 25 26 27
python.default_version 27
version 1.0
+revision 1
+license {PSF}
if {${python.version} == 25} {
version 2.5.4
@@ -61,8 +63,11 @@
build {}
destroot {
- file mkdir ${destroot}${prefix}/share/doc/
- file copy ${workpath}/${extractname} ${destroot}${prefix}/share/doc/python${python.version}-doc
+ set destdocdir ${destroot}${prefix}/share/doc/python${python.version}-doc
+ file mkdir ${destroot}${prefix}/share/doc
+ file copy ${workpath}/${extractname} ${destdocdir}
+ system "chmod a+r `find ${destdocdir} -type f`"
+ system "chmod a+rx `find ${destdocdir} -type d`"
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110927/8c5fc322/attachment.html>
More information about the macports-changes
mailing list