source: trunk/dports/sysutils/pstree/Portfile @ 30412

Last change on this file since 30412 was 30412, checked in by mww@…, 12 years ago

version 2.32

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 30412 2007-10-27 12:46:19Z mww@macports.org $
2
3PortSystem 1.0
4
5name                    pstree
6version                 2.32
7categories              sysutils
8maintainers             mww
9description             pstree shows the output of the ps command as a tree
10platforms               darwin freebsd
11long_description        ${description}
12
13homepage                http://freshmeat.net/projects/pstree/
14master_sites            ftp://ftp.thp.uni-duisburg.de/pub/source/ \
15                        http://fresh.t-systems-sfr.com/unix/src/misc/
16checksums               sha1 78fd42e10c678290e50f169f0afb73f3a5cabca4
17
18pre-extract {
19        file mkdir ${worksrcpath}
20}
21extract.dir     ${worksrcpath}
22
23use_configure   no
24
25build.cmd       cc
26build.args      pstree.c ${configure.cflags}
27build.target    -o pstree
28
29destroot        {
30        xinstall -s ${worksrcpath}/pstree ${destroot}${prefix}/bin
31        set docdir ${prefix}/share/doc/${name}-${version}
32        xinstall -d ${destroot}${docdir}
33        xinstall -m 0644 ${worksrcpath}/README \
34                ${destroot}${docdir}
35}
36
37variant universal {
38    build.args-append  ${configure.universal_cflags}
39}
40
41platform darwin 8 { build.cmd   /usr/bin/gcc-4.0 }
42platform darwin 9 { build.cmd   /usr/bin/gcc-4.0 }
43
44livecheck.check regex
45livecheck.url   ftp://ftp.thp.uni-duisburg.de/pub/source/
46livecheck.regex pstree.tar.gz -> pstree-(\[0-9\]+\\.\[0-9\]+)
47
Note: See TracBrowser for help on using the repository browser.