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

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

pstree: marks as installs_libs:no; use later checksum algorithms

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