[101220] trunk/dports/python/py-sgmlop/Portfile
jmr at macports.org
jmr at macports.org
Sun Jan 6 05:30:07 PST 2013
Revision: 101220
https://trac.macports.org/changeset/101220
Author: jmr at macports.org
Date: 2013-01-06 05:30:07 -0800 (Sun, 06 Jan 2013)
Log Message:
-----------
py-sgmlop: use unified portgroup
Modified Paths:
--------------
trunk/dports/python/py-sgmlop/Portfile
Modified: trunk/dports/python/py-sgmlop/Portfile
===================================================================
--- trunk/dports/python/py-sgmlop/Portfile 2013-01-06 12:46:46 UTC (rev 101219)
+++ trunk/dports/python/py-sgmlop/Portfile 2013-01-06 13:30:07 UTC (rev 101220)
@@ -1,7 +1,7 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-sgmlop
version 1.1.1-20040207
@@ -24,8 +24,12 @@
checksums md5 be45f08ea057727d92b708dd72126e47
-post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} README \
- ${destroot}${prefix}/share/doc/${name}
+python.versions 24
+
+if {$subport != $name} {
+ post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath} README \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130106/ba0de91f/attachment.html>
More information about the macports-changes
mailing list