1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name screen-devel |
---|
6 | version 20110328 |
---|
7 | revision 0 |
---|
8 | categories sysutils |
---|
9 | homepage http://git.savannah.gnu.org/cgit/screen.git |
---|
10 | platforms darwin |
---|
11 | maintainers gmail.com:nkymyj openmaintainer |
---|
12 | description A virtual terminal multiplexer, latest version of the Git repository |
---|
13 | long_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 | |
---|
18 | conflicts screen |
---|
19 | depends_lib port:ncurses |
---|
20 | |
---|
21 | livecheck.type regex |
---|
22 | livecheck.url ${homepage}/commit/ |
---|
23 | livecheck.version 2011-03-28 22:45:20 |
---|
24 | livecheck.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 | |
---|
26 | fetch.type git |
---|
27 | git.url git://git.savannah.gnu.org/screen.git |
---|
28 | git.branch 8cf5efc07048abee125a24652768f4b24fc761bf |
---|
29 | |
---|
30 | set actualworksrcpath ${worksrcpath}/src |
---|
31 | |
---|
32 | patchfiles acconfig.h.diff \ |
---|
33 | screen.c.diff |
---|
34 | platform 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 | } |
---|
40 | patch.dir ${actualworksrcpath} |
---|
41 | |
---|
42 | use_autoreconf yes |
---|
43 | autoreconf.dir ${actualworksrcpath} |
---|
44 | |
---|
45 | use_configure yes |
---|
46 | configure.dir ${actualworksrcpath} |
---|
47 | configure.args --enable-pam \ |
---|
48 | --enable-locale \ |
---|
49 | --enable-telnet \ |
---|
50 | --enable-colors256 \ |
---|
51 | --enable-rxvt_osc |
---|
52 | configure.env LIBS=-lncurses |
---|
53 | |
---|
54 | build.dir ${actualworksrcpath} |
---|
55 | |
---|
56 | destroot.dir ${actualworksrcpath} |
---|
57 | post-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 | } |
---|