[101918] trunk/dports/python/py-htmloo/Portfile
jmr at macports.org
jmr at macports.org
Mon Jan 21 17:39:47 PST 2013
Revision: 101918
https://trac.macports.org/changeset/101918
Author: jmr at macports.org
Date: 2013-01-21 17:39:47 -0800 (Mon, 21 Jan 2013)
Log Message:
-----------
py-htmloo: use unified portgroup, mark noarch
Modified Paths:
--------------
trunk/dports/python/py-htmloo/Portfile
Modified: trunk/dports/python/py-htmloo/Portfile
===================================================================
--- trunk/dports/python/py-htmloo/Portfile 2013-01-22 01:22:13 UTC (rev 101917)
+++ trunk/dports/python/py-htmloo/Portfile 2013-01-22 01:39:47 UTC (rev 101918)
@@ -1,13 +1,14 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
name py-htmloo
version 0.7
revision 1
categories python www
platforms darwin
+supported_archs noarch
maintainers nomaintainer
description python module allowing usage of html code like python objects
long_description pyhtmloo is a library that allows python developers to \
@@ -20,12 +21,15 @@
master_sites sourceforge:pyhtmloo
distname pyhtmloo-${version}
extract.suffix .tgz
+extract.mkdir yes
checksums md5 2e5b236f2a2e0680a5bf198078bcffc6
-worksrcdir
+python.versions 24
-post-destroot {
- file delete -force ${destroot}${prefix}/share/doc/${name}/examples
- file copy ${worksrcpath}/widgets \
- ${destroot}${prefix}/share/doc/${name}/examples
+if {$subport != $name} {
+ post-destroot {
+ file delete -force ${destroot}${prefix}/share/doc/${subport}/examples
+ file copy ${worksrcpath}/widgets \
+ ${destroot}${prefix}/share/doc/${subport}/examples
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130121/2ccf5a55/attachment.html>
More information about the macports-changes
mailing list