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

Last change on this file since 131264 was 105915, checked in by mww@…, 7 years ago

pstree: version 2.36

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 105915 2013-05-09 20:51:20Z mww@macports.org $
2
3PortSystem 1.0
4
5name                pstree
6version             2.36
7categories          sysutils
8maintainers         mww
9license             GPL-2
10description         pstree shows the output of the ps command as a tree
11platforms           darwin freebsd
12long_description    ${description}
13
14homepage            http://freecode.com/projects/pstree/
15master_sites        ftp://ftp.thp.uni-duisburg.de/pub/source/ \
16                    http://fresh.t-systems-sfr.com/unix/src/misc/
17checksums           rmd160  b98c5ce530cd4193a883a0c09e080da595595cd5 \
18                    sha256  9d05d28432a12fe8744b895e10b4a39008bba4fc3787b3595da3cf599b75a4ef
19
20installs_libs       no
21
22# http://llvm.org/pr10514
23# <rdar://problem/10015171>
24if {${configure.compiler} == "clang"} {
25    configure.cflags-delete -O2
26    configure.cflags-append -O1
27}
28
29variant universal   {}
30
31pre-extract {
32    file mkdir ${worksrcpath}
33    xinstall -m 755 ${filespath}/configure ${worksrcpath}
34}
35extract.dir    ${worksrcpath}
36
37destroot {
38    xinstall -s ${worksrcpath}/pstree ${destroot}${prefix}/bin
39    set docdir ${prefix}/share/doc/${name}-${version}
40    xinstall -d ${destroot}${docdir}
41    xinstall -m 0644 ${worksrcpath}/README \
42        ${destroot}${docdir}
43}
44
45livecheck.type      regex
46livecheck.url       ftp://ftp.thp.uni-duisburg.de/pub/source/
47livecheck.regex     pstree.tar.gz -> pstree-(\[0-9\]+\\.\[0-9\]+)
48
Note: See TracBrowser for help on using the repository browser.