# $Id: Portfile 30412 2007-10-27 12:46:19Z mww@macports.org $ PortSystem 1.0 name pstree version 2.32 categories sysutils maintainers mww 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 sha1 78fd42e10c678290e50f169f0afb73f3a5cabca4 pre-extract { file mkdir ${worksrcpath} } extract.dir ${worksrcpath} use_configure no build.cmd cc build.args pstree.c ${configure.cflags} build.target -o pstree destroot { xinstall -s ${worksrcpath}/pstree ${destroot}${prefix}/bin set docdir ${prefix}/share/doc/${name}-${version} xinstall -d ${destroot}${docdir} xinstall -m 0644 ${worksrcpath}/README \ ${destroot}${docdir} } variant universal { build.args-append ${configure.universal_cflags} } platform darwin 8 { build.cmd /usr/bin/gcc-4.0 } platform darwin 9 { build.cmd /usr/bin/gcc-4.0 } livecheck.check regex livecheck.url ftp://ftp.thp.uni-duisburg.de/pub/source/ livecheck.regex pstree.tar.gz -> pstree-(\[0-9\]+\\.\[0-9\]+)