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

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

pstree: version 2.35

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 103715 2013-03-05 07:07:44Z mww@macports.org $
2
3PortSystem 1.0
4
5name                pstree
6version             2.35
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  ed4d8d2ff30f1e703d1ca946099c57550540ad48 \
18                    sha256  72ec2d14be78eac2ab0871e90f4359fea9a41f7708826a201dc6e6051a6df1c3
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.