# $Id: Portfile,v 1.4 2005/03/08 08:26:42 blb Exp $

PortSystem			1.0
PortGroup			python24 1.0
name				py-pyb
version				0.4
revision			1
categories-append	devel
maintainers			darwinports@opendarwin.org
description			python-based ant-like build tool
long_description \
	Pyb is a build tool written in Python which emulates the style of Ant \
	using Python for build scripts instead of XML.

platforms			darwin

homepage			http://pyb.sf.net/
master_sites		sourceforge:pyb
distname			pyb-${version}

checksums			md5 66aee64f05f81bcae00172d143c3449b

post-destroot {
	xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} CHANGELOG.txt README.txt \
		${destroot}/${prefix}/share/doc/${name}
	eval file copy [glob ${worksrcpath}/docs/*] \
		${destroot}/${prefix}/share/doc/${name}
}

