# $Id: Portfile,v 1.8 2005/09/29 19:22:14 mww Exp $

PortSystem 1.0

name			pstree
version			2.27
categories		sysutils
maintainers		mww@opendarwin.org
description		pstree shows the output of the ps command as a tree
platforms		darwin freebsd
long_description	${description}

homepage		http://fresh.t-systems-sfr.com/unix/src/misc/
master_sites	${homepage} \
				ftp://ftp.thp.uni-duisburg.de/pub/source/
checksums		md5 509169224a4b127007de108a9a9fac26

use_configure	no

worksrcdir

build.cmd		cc
build.args		pstree.c
build.target	-o pstree

destroot	{
	xinstall -m 755 -s ${workpath}/pstree ${destroot}${prefix}/bin
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 ${workpath}/README \
		${destroot}${prefix}/share/doc/${name}/README
}
