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

Last change on this file since 137281 was 137281, checked in by ryandesign@…, 4 years ago

pstree: use "extract.mkdir yes" instead of doing it manually

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 137281 2015-06-08 02:13:53Z ryandesign@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://www.thp.uni-duisburg.de/pstree/
15master_sites        ftp://ftp.thp.uni-duisburg.de/pub/source/
16
17checksums           rmd160  b98c5ce530cd4193a883a0c09e080da595595cd5 \
18                    sha256  9d05d28432a12fe8744b895e10b4a39008bba4fc3787b3595da3cf599b75a4ef
19
20installs_libs       no
21
22extract.mkdir       yes
23
24variant universal   {}
25
26post-extract {
27    xinstall -m 755 ${filespath}/configure ${worksrcpath}
28}
29
30destroot {
31    xinstall -s ${worksrcpath}/pstree ${destroot}${prefix}/bin
32    set docdir ${prefix}/share/doc/${name}-${version}
33    xinstall -d ${destroot}${docdir}
34    xinstall -m 0644 ${worksrcpath}/README \
35        ${destroot}${docdir}
36}
37
38livecheck.type      regex
39livecheck.url       ftp://ftp.thp.uni-duisburg.de/pub/source/
40livecheck.regex     pstree.tar.gz -> pstree-(\[0-9\]+\\.\[0-9\]+)
Note: See TracBrowser for help on using the repository browser.