source: trunk/dports/python/py-harvestman/Portfile

Last change on this file was 130504, checked in by larryv@…, 3 years ago

py24-harvestman: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 130504 2014-12-31 03:22:45Z ryandesign@macports.org $
2
3PortSystem                      1.0
4PortGroup                       python 1.0
5
6name                            py-harvestman
7version                         1.4
8revision                        1
9categories-append       www
10license                         GPL-2
11maintainers                     nomaintainer
12description                     Web crawler
13long_description \
14        HARVESTMan is an internet offline crawler (robot) program written in \
15        python. It helps you to grab pages from the internet and store it in a \
16        local directory for offline browsing.
17
18platforms                       darwin
19supported_archs         noarch
20
21homepage                        http://harvestman.freezope.org/
22master_sites            http://download.berlios.de/harvestman/
23distname                        HarvestMan-${version}
24use_bzip2                       yes
25
26checksums                       md5 d1f921a6e045fbe9230fae467be5e9f2 \
27                                        sha1 3642060d1f61e8033c56e089e26b91f4dee5050d
28
29python.versions         27
30
31if {${name} ne ${subport}} {
32    depends_lib-append  port:py${python.version}-sgmlop
33
34    patchfiles                  patch-setup.py
35
36    post-destroot {
37        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
38        xinstall -m 644 -W ${worksrcpath} INSTALL.txt LICENSE.txt Readme.txt \
39            ${destroot}${prefix}/share/doc/${subport}
40        eval file copy [glob ${worksrcpath}/doc/*] \
41            ${destroot}${prefix}/share/doc/${subport}
42    }
43}
Note: See TracBrowser for help on using the repository browser.