Ticket #454: Portfile.5

File Portfile.5, 1.9 KB (added by digdog@…, 21 years ago)

Portfile

Line 
1PortSystem 1.0
2
3name            screen
4version         4.0.0
5homepage        http://www.gnu.org/software/screen/
6description     Screen manager with VT100/ANSI terminal emulation
7long_description        Screen is a full-screen window manager that multiplexes a physical \
8                        terminal between several processes (typically interactive shells). \
9                        Each virtual terminal provides the functions of a DEC VT100 terminal \
10                        and, in addition, several control functions from the ANSI X3.64 (ISO \
11                        6429) and ISO 2022 standards (e.g. insert/delete line and support for \
12                        multiple character sets). There is a scrollback history buffer for each \
13                        virtual terminal and a copy-and-paste mechanism that allows moving text \
14                        regions between windows.
15categories      sysutils
16platforms       darwin
17maintainers     charlie@rubberduck.com digdog@opendarwin.org
18master_sites    ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
19                http://www.cis.nctu.edu.tw/~is85005/dports/screen/:encoding
20
21# The file '18' above is a fix for UTF8-to-Big5HKSCS encoding translation.
22# Reference: http://freebsd.sinica.edu.tw/~statue/index.php?file=20020513
23
24distfiles-append 18:encoding
25checksums       ${distname}${extract.sufx} md5 dc4eafc7616141aa61a8faf81e442aff \
26                18 md5 e5c53546a5c4968bd7e807c88e6b2198
27extract.only    ${distname}${extract.sufx}
28post-extract    {system "cp ${distpath}/18 ${workpath}" }
29configure.args  {--enable-locale --enable-telnet --enable-colors256 --enable-rxct_osc}
30post-destroot    {system "cp ${workpath}/18 ${destroot}/${prefix}/share/${name}/utf8encodings"
31                 system "cp ${workpath}/${distname}/etc/etcscreenrc ${destroot}/${prefix}/etc/screenrc"
32                 system "cp ${workpath}/${distname}/terminfo/screencap ${destroot}/${prefix}/etc/termcap"
33                 system "tic ${workpath}/${distname}/terminfo/screeninfo.src"}
34
35variant darwin  { patchfiles    patch-osdef.h.in }