source: trunk/dports/sysutils/screen/Portfile @ 40397

Last change on this file since 40397 was 40397, checked in by digdog@…, 9 years ago

Update for Ticket #16535, add "Vertical split for GNU Screen" patch as one of the screen default feature.
Thanks akira@

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# $Id: Portfile 40397 2008-09-30 12:49:32Z digdog@macports.org $
2
3PortSystem 1.0
4
5name            screen
6version         4.0.3
7revision        1
8homepage        http://www.gnu.org/software/screen/
9description     Screen manager with VT100/ANSI terminal emulation
10long_description    Screen is a full-screen window manager that multiplexes a physical \
11            terminal between several processes (typically interactive shells). \
12            Each virtual terminal provides the functions of a DEC VT100 terminal \
13            and, in addition, several control functions from the ANSI X3.64 (ISO \
14            6429) and ISO 2022 standards (e.g. insert/delete line and support for \
15            multiple character sets). There is a scrollback history buffer for each \
16            virtual terminal and a copy-and-paste mechanism that allows moving text \
17            regions between windows.
18categories      sysutils
19platforms       darwin
20maintainers     digdog@macports.org
21master_sites    http://fresh.t-systems-sfr.com/unix/src/misc/ \
22                ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
23                http://www.cis.nctu.edu.tw/~is85005/dports/screen/:encoding
24
25# The file '18' above is a fix for UTF8-to-Big5HKSCS encoding translation.
26# Reference: http://freebsd.sinica.edu.tw/~statue/index.php?file=20020513
27distfiles-append 18:encoding
28
29checksums       ${distname}${extract.suffix} md5 8506fd205028a96c741e4037de6e3c42 \
30                18 md5 e5c53546a5c4968bd7e807c88e6b2198
31patchfiles      patch-maxargs patch-windowsize patch-pty.c patch-wrp_vertical_split
32depends_lib     port:ncurses
33
34extract.only    ${distname}${extract.suffix}
35post-extract    { file copy ${distpath}/18 ${workpath} }
36configure.args  --mandir=${prefix}/share/man \
37                --infodir=${prefix}/share/info \
38                --enable-locale \
39                --enable-telnet \
40                --enable-colors256 \
41                --enable-rxct_osc
42configure.env   LIBS=-lncurses
43
44post-destroot {
45    xinstall -m 644 ${workpath}/18 ${destroot}/${prefix}/share/${name}/utf8encodings
46    xinstall -m 644 ${workpath}/${distname}/etc/etcscreenrc ${destroot}/${prefix}/etc/screenrc
47    xinstall -m 644 ${workpath}/${distname}/terminfo/screencap ${destroot}/${prefix}/etc/termcap
48    system "tic ${workpath}/${distname}/terminfo/screeninfo.src"
49}
50
51platform darwin { patchfiles-append    patch-osdef.h.in }
52
53post-install {
54ui_msg "===============================================================================\n"
55ui_msg "Any screens running before upgrading, will not be available, post-install.\n"
56ui_msg "===============================================================================\n"
57}
Note: See TracBrowser for help on using the repository browser.