source: trunk/dports/comms/kermit/Portfile @ 57375

Last change on this file since 57375 was 57375, checked in by ryandesign@…, 10 years ago

Change deprecated livecheck.check to livecheck.type
See http://lists.macosforge.org/pipermail/macports-dev/2009-August/009699.html

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