[101932] trunk/dports/python/py-harvestman/Portfile
jmr at macports.org
jmr at macports.org
Mon Jan 21 22:47:14 PST 2013
Revision: 101932
https://trac.macports.org/changeset/101932
Author: jmr at macports.org
Date: 2013-01-21 22:47:14 -0800 (Mon, 21 Jan 2013)
Log Message:
-----------
py-harvestman: use unified portgroup, license, noarch
Modified Paths:
--------------
trunk/dports/python/py-harvestman/Portfile
Modified: trunk/dports/python/py-harvestman/Portfile
===================================================================
--- trunk/dports/python/py-harvestman/Portfile 2013-01-22 06:40:39 UTC (rev 101931)
+++ trunk/dports/python/py-harvestman/Portfile 2013-01-22 06:47:14 UTC (rev 101932)
@@ -1,11 +1,13 @@
# $Id$
PortSystem 1.0
-PortGroup python24 1.0
+PortGroup python 1.0
+
name py-harvestman
version 1.4
revision 1
categories-append www
+license GPL-2
maintainers nomaintainer
description Web crawler
long_description \
@@ -14,23 +16,28 @@
local directory for offline browsing.
platforms darwin
+supported_archs noarch
homepage http://harvestman.freezope.org/
master_sites http://download.berlios.de/harvestman/
distname HarvestMan-${version}
use_bzip2 yes
-patchfiles patch-setup.py
checksums md5 d1f921a6e045fbe9230fae467be5e9f2 \
sha1 3642060d1f61e8033c56e089e26b91f4dee5050d
-depends_lib-append port:py-sgmlop
+python.versions 24
-post-destroot {
- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 -W ${worksrcpath} INSTALL.txt LICENSE.txt Readme.txt \
- ${destroot}${prefix}/share/doc/${name}
- eval file copy [glob ${worksrcpath}/doc/*] \
- ${destroot}${prefix}/share/doc/${name}
+if {$subport != $name} {
+ depends_lib-append port:py${python.version}-sgmlop
+
+ patchfiles patch-setup.py
+
+ post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
+ xinstall -m 644 -W ${worksrcpath} INSTALL.txt LICENSE.txt Readme.txt \
+ ${destroot}${prefix}/share/doc/${subport}
+ eval file copy [glob ${worksrcpath}/doc/*] \
+ ${destroot}${prefix}/share/doc/${subport}
+ }
}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130121/d4ea579f/attachment.html>
More information about the macports-changes
mailing list