Ticket #12871: pstree-2.31_1.diff
File pstree-2.31_1.diff, 1.1 KB (added by nox@…, 17 years ago) |
---|
-
Portfile
4 4 5 5 name pstree 6 6 version 2.31 7 revision 1 7 8 categories sysutils 8 9 maintainers mww@macports.org 9 10 description pstree shows the output of the ps command as a tree … … 24 25 use_configure no 25 26 26 27 build.cmd gcc 27 build.args pstree.c 28 build.args pstree.c ${configure.cflags} 28 29 build.target -o pstree 29 30 30 31 destroot { 31 xinstall -m 755 -s ${worksrcpath}/pstree ${destroot}${prefix}/bin 32 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 33 xinstall -m 644 ${worksrcpath}/README \ 34 ${destroot}${prefix}/share/doc/${name}/README 32 xinstall -s ${worksrcpath}/pstree ${destroot}${prefix}/bin 33 34 set docdir ${prefix}/share/doc/${name}-${version} 35 xinstall -d ${destroot}${docdir} 36 xinstall -m 0644 ${worksrcpath}/README \ 37 ${destroot}${docdir} 38 } 39 40 variant universal { 41 build.args-append ${configure.universal_cflags} 35 42 } 36 43 37 44 livecheck.check regex 38 45 livecheck.url ftp://ftp.thp.uni-duisburg.de/pub/source/ 39 46 livecheck.regex pstree.tar.gz -> pstree-(\[0-9\]+\\.\[0-9\]+) 47