source: trunk/dports/comms/kermit/Portfile

Last change on this file was 83835, checked in by ryandesign@…, 6 years ago

kermit:

  • update to 9.0.302
  • indicate license (now standard BSD)
  • respect build_arch
  • build universal when universal variant is selected
  • fix livecheck

See #31168

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 83835 2011-09-11 16:11:15Z ryandesign@macports.org $
2
3PortSystem 1.0
4name                    kermit
5version                 9.0.302
6categories              comms
7maintainers             nomaintainer
8distname                cku[lindex [split ${version} .] end]
9platforms               darwin freebsd
10license                 BSD
11
12homepage                http://www.columbia.edu/kermit/ckermit.html
13
14master_sites            ftp://kermit.columbia.edu/kermit/archives/ \
15                        http://kermit.columbia.edu/ftp/archives/ \
16                        ftp://ftp.icm.edu.pl/pub/kermit/archives/
17
18description             Serial and network communications package.
19long_description        C-Kermit is a combined serial and network \
20                        communication software package offering \
21                        a consistent, medium-independent, \
22                        cross-platform approach to connection \
23                        establishment, terminal sessions, file \
24                        transfer, character-set translation, \
25                        numeric and alphanumeric paging, and \
26                        automation of communication tasks.
27
28checksums               rmd160  ef3a71b5a42868c80408ac09662d00b71da0b0c8 \
29                        sha256  0d5f2cd12bdab9401b4c836854ebbf241675051875557783c332a6a40dac0711
30
31extract.mkdir   yes
32build.target
33patchfiles      patch-makefile patch-ckuus5.c
34
35platform darwin {
36        build.target            macosx
37}
38
39platform freebsd {
40        set major               [ string index ${os.version} 0 ]
41        set minor               [ string index ${os.version} 2 ]
42        build.target            freebsd${major}${minor}
43}
44
45configure {
46        reinplace "s|@@prefix@@|${prefix}|g"    ${worksrcpath}/ckuus5.c ${worksrcpath}/makefile
47        reinplace {s| CC=$(CC) | CC="$(CC)" |g} ${worksrcpath}/makefile
48        reinplace {s| CC2=$(CC2) | CC2="$(CC2)" |g} ${worksrcpath}/makefile
49        reinplace "s|CC= cc|CC= ${configure.cc} [get_canonical_archflags]|g" ${worksrcpath}/makefile
50        reinplace "s|CC2= cc|CC2= ${configure.cc} [get_canonical_archflags]|g" ${worksrcpath}/makefile
51}
52
53pre-destroot {
54        file mkdir ${destroot}${prefix}/share/doc/kermit
55}
56
57livecheck.type  regexm
58livecheck.regex {<td><b>Version:</b></td>\n<td>([0-9\.]+)</td>}
Note: See TracBrowser for help on using the repository browser.