# $Id: Portfile,v 1.2 2005/11/11 06:49:32 mww Exp $

PortSystem 1.0

name			ustl
version			0.8
categories		devel
platforms		darwin
maintainers		mww@opendarwin.org
description		micro-STL is a partial implementation of the STL specification
long_description	uSTL (micro-STL) is a partial implementation of the STL \
				specification intended to reduce code size of the derivative \
				programs.

homepage		http://ustl.sourceforge.net/
master_sites	sourceforge
distname		${distname}-0
checksums		md5 dd59483c327f1bd1356273bc5ae4dde0
use_bzip2		yes

worksrcdir		${name}-${version}

pre-destroot {
	reinplace "s|${prefix}|${destroot}${prefix}|g" ${worksrcpath}/Common.mk
}
post-destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} LICENSE \
		${destroot}${prefix}/share/doc/${name}
}

