# $Id: Portfile,v 1.11 2005/03/08 08:26:43 blb Exp $

PortSystem			1.0
PortGroup			python24 1.0
name				py-roundup
version				0.7.11
categories-append	www
maintainers			darwinports@opendarwin.org
description			Issue-tracking system
long_description \
	Roundup is a simple-to-use and -install issue-tracking system with \
	command-line, web and e-mail interfaces. It is based on the winning \
	design from Ka-Ping Yee in the Software Carpentry "Track" design \
	competition. \
	Note: Ping is not responsible for this project. The contact for this \
	project is richard@users.sourceforge.net.

platforms			darwin

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

checksums			md5 9ad8ce103b56090aa69cf9f71b7286ef \
					sha1 78dcc06f914bd33cccf23586f2ad679b2f96bd50

pre-build {
	reinplace "s|man/man1|share/man/man1|" ${worksrcpath}/setup.py
}

post-destroot {
	xinstall -m 755 -d ${destroot}/${prefix}/share/doc/${name}
	eval file copy [glob ${worksrcpath}/doc/*] \
		${destroot}/${prefix}/share/doc/${name}
	eval reinplace "s|${destroot}${prefix}|${prefix}|g" \
		[glob ${destroot}/${prefix}/bin/*]
}

