a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22538 2007-03-04 19:27:12Z mww@macports.org $
PortSystem 1.0
name pstree
version 2.27
categories sysutils
maintainers mww@macports.org
description pstree shows the output of the ps command as a tree
platforms darwin freebsd
long_description ${description}
homepage http://freshmeat.net/projects/pstree/
master_sites ftp://ftp.thp.uni-duisburg.de/pub/source/ \
http://fresh.t-systems-sfr.com/unix/src/misc/
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
}
livecheck.check regex
livecheck.url ftp://ftp.thp.uni-duisburg.de/pub/source/
livecheck.regex pstree.tar.gz -> pstree-(\[0-9\]+\\.\[0-9\]+)