# $Id: Portfile,v 1.6 2005/04/21 15:58:12 jberry Exp $

PortSystem			1.0
PortGroup			python24 1.0
name				py-harvestman
version				1.4
revision			1
categories-append	www
maintainers			darwinports@opendarwin.org
description			Web crawler
long_description \
	HARVESTMan is an internet offline crawler (robot) program written in \
	python. It helps you to grab pages from the internet and store it in a \
	local directory for offline browsing.

platforms			darwin

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

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}
}

