Ticket #30210: Portfile

File Portfile, 2.1 KB (added by nkymyj@…, 13 years ago)
Line 
1# $Id$
2
3PortSystem 1.0
4
5name                screen-devel
6version             20110328
7revision            0
8categories          sysutils
9homepage            http://git.savannah.gnu.org/cgit/screen.git
10platforms           darwin
11maintainers         gmail.com:nkymyj openmaintainer
12description         A virtual terminal multiplexer, latest version of the Git repository
13long_description    GNU Screen is a virtual terminal multiplexer. \
14                    This is the latest version of the Git repository. \
15                    Compared to old archived version, this one has \
16                    some new features such as vertial split and layout saving.
17
18conflicts           screen
19depends_lib         port:ncurses
20
21livecheck.type      regex
22livecheck.url       ${homepage}/commit/
23livecheck.version   2011-03-28 22:45:20
24livecheck.regex     "<tr><th>committer</th><td>.+?</td><td class='right'>(\\d{4}\\-\\d{2}\\-\\d{2} \\d{2}:\\d{2}:\\d{2}) \\(GMT\\)</td></tr>"
25
26fetch.type          git
27git.url             git://git.savannah.gnu.org/screen.git
28git.branch          8cf5efc07048abee125a24652768f4b24fc761bf
29
30set actualworksrcpath ${worksrcpath}/src
31
32patchfiles          acconfig.h.diff \
33                    screen.c.diff
34platform darwin 8 {
35    # Max OS X 10.4 uses pure utmp, not utmpx.
36    # And there is no console detaching trouble.
37    patchfiles-delete acconfig.h.diff \
38                      screen.c.diff
39}
40patch.dir           ${actualworksrcpath}
41
42use_autoreconf      yes
43autoreconf.dir      ${actualworksrcpath}
44
45use_configure       yes
46configure.dir       ${actualworksrcpath}
47configure.args      --enable-pam \
48                    --enable-locale \
49                    --enable-telnet \
50                    --enable-colors256 \
51                    --enable-rxvt_osc
52configure.env       LIBS=-lncurses
53
54build.dir           ${actualworksrcpath}
55
56destroot.dir        ${actualworksrcpath}
57post-destroot {
58    xinstall -m 644 ${actualworksrcpath}/etc/etcscreenrc ${destroot}${prefix}/etc/screenrc.sample
59    xinstall -m 644 ${actualworksrcpath}/terminfo/screencap ${destroot}${prefix}/etc/termcap
60}