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

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

use a hand-crafted ./configure script to generate a simple Makefile: Makes using different compilers possible and universal builds easy

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 919 bytes
Line 
1# $Id: Portfile 31911 2007-12-11 21:07:04Z 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        xinstall -m 755 ${filespath}/configure ${worksrcpath}
21}
22extract.dir     ${worksrcpath}
23
24destroot        {
25        xinstall -s ${worksrcpath}/pstree ${destroot}${prefix}/bin
26        set docdir ${prefix}/share/doc/${name}-${version}
27        xinstall -d ${destroot}${docdir}
28        xinstall -m 0644 ${worksrcpath}/README \
29                ${destroot}${docdir}
30}
31
32livecheck.check regex
33livecheck.url   ftp://ftp.thp.uni-duisburg.de/pub/source/
34livecheck.regex pstree.tar.gz -> pstree-(\[0-9\]+\\.\[0-9\]+)
35
Note: See TracBrowser for help on using the repository browser.