[36356] trunk/dports/python/py-mechanize/Portfile
akira at macports.org
akira at macports.org
Mon Apr 28 00:44:31 PDT 2008
Revision: 36356
http://trac.macosforge.org/projects/macports/changeset/36356
Author: akira at macports.org
Date: 2008-04-28 00:44:29 -0700 (Mon, 28 Apr 2008)
Log Message:
-----------
Upgraded py-mechanize to 0.1.7b and took maintainership
Modified Paths:
--------------
trunk/dports/python/py-mechanize/Portfile
Modified: trunk/dports/python/py-mechanize/Portfile
===================================================================
--- trunk/dports/python/py-mechanize/Portfile 2008-04-28 07:43:01 UTC (rev 36355)
+++ trunk/dports/python/py-mechanize/Portfile 2008-04-28 07:44:29 UTC (rev 36356)
@@ -4,10 +4,10 @@
PortGroup python24 1.0
name py-mechanize
-version 0.0.9a
+version 0.1.7b
categories python www
platforms darwin
-maintainers nomaintainer
+maintainers openmaintainer akira
description Stateful programmatic web browsing
long_description Stateful programmatic web browsing, after Andy \
Lester's Perl module WWW::Mechanize.
@@ -15,7 +15,7 @@
homepage http://wwwsearch.sourceforge.net/mechanize
master_sites ${homepage}/src
distname mechanize-${version}
-checksums md5 7c805a9d3596b9e3267b1f88a9bbe1da
+checksums md5 7d431ccec4e64063c7378ce3be53ea34
depends_lib-append port:py-clientcookie \
port:py-clientform \
@@ -26,9 +26,10 @@
test.target test.py
post-destroot {
- xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog GeneralFAQ.html \
- INSTALL README.html README.txt \
- ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 ${worksrcpath}/examples/hack21.py \
- ${destroot}${prefix}/share/doc/${name}/examples
+ foreach f [glob -directory ${worksrcpath}/ *.txt *.html] {
+ copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
+ }
+ foreach f [glob -directory ${worksrcpath}/examples *] {
+ copy $f ${destroot}${prefix}/share/doc/${name}/examples/[file tail $f]
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080428/216e61b8/attachment-0001.html
More information about the macports-changes
mailing list