Ticket #322: Portfile

File Portfile, 1.6 KB (added by daved@…, 22 years ago)

kermit 8.0.206 Portfile

Line 
1PortSystem 1.0
2name                    kermit
3version                 8.0.206
4categories              comms
5maintainers             daved@nostrum.com
6distname                cku206
7platforms               darwin freebsd
8master_sites            ftp://kermit.columbia.edu/kermit/archives/ \
9                        ftp://ftp.icm.edu.pl/pub/kermit/archives/
10checksums               md5 d16f433e9a347f96d09962be5d8ab71f
11homepage                http://www.kermit-project.org/
12description             Serial and network communications package.
13long_description        C-Kermit is a combined serial and network \
14                        communication software package offering \
15                        a consistent, medium-independent, \
16                        cross-platform approach to connection \
17                        establishment, terminal sessions, file \
18                        transfer, character-set translation, \
19                        numeric and alphanumeric paging, and \
20                        automation of communication tasks.
21
22worksrcdir
23build.target.all
24
25variant darwin {
26        build.target.all        macosx102nc
27}
28
29variant freebsd {
30        set major               [ string index ${os.version} 0 ]
31        set minor               [ string index ${os.version} 2 ]
32        build.target.all        freebsd${major}${minor}
33}
34
35configure {
36        reinplace "s|^BINDIR = /usr/local|BINDIR = ${prefix}|" \
37                ${workdir}/makefile
38        reinplace "s|^MANDIR = /usr|MANDIR = ${prefix}|" ${workdir}/makefile
39        reinplace "s|^INFODIR =|INFODIR = ${prefix}/share/kermit|" \
40                ${workdir}/makefile
41        reinplace "s|/usr/local|${prefix}|g" ${workdir}/ckuus5.c
42        reinplace "973,996d" ${workdir}/makefile
43}
44
45contents \
46        bin/kermit \
47        man/man1/kermit.1 \
48        share/kermit/COPYING.TXT \
49        share/kermit/ckcbwr.txt \
50        share/kermit/ckccfg.txt \
51        share/kermit/ckcplm.txt \
52        share/kermit/ckermit.ini \
53        share/kermit/ckermit70.txt \
54        share/kermit/ckermit80.txt \
55        share/kermit/ckermod.ini \
56        share/kermit/ckubwr.txt \
57        share/kermit/ckuins.txt \
58        share/kermit