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

Last change on this file since 28393 was 26898, checked in by yves@…, 13 years ago

Change variant darwin to platform darwin

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 26898 2007-07-11 05:23:51Z yves@macports.org $
2
3PortSystem 1.0
4name                    kermit
5version                 8.0.209
6categories              comms
7maintainers             nomaintainer@macports.org
8distname                cku209
9platforms               darwin freebsd
10master_sites            ftp://kermit.columbia.edu/kermit/archives/ \
11                        ftp://ftp.icm.edu.pl/pub/kermit/archives/
12checksums               md5 e00728a7d97d3dbdff6ee772a4848f82
13homepage                http://www.kermit-project.org/
14description             Serial and network communications package.
15long_description        C-Kermit is a combined serial and network \
16                        communication software package offering \
17                        a consistent, medium-independent, \
18                        cross-platform approach to connection \
19                        establishment, terminal sessions, file \
20                        transfer, character-set translation, \
21                        numeric and alphanumeric paging, and \
22                        automation of communication tasks.
23
24worksrcdir
25build.target
26patchfiles      patch-makefile patch-ckuus5.c
27
28platform darwin {
29        build.target            macosx102nc
30}
31
32platform freebsd {
33        set major               [ string index ${os.version} 0 ]
34        set minor               [ string index ${os.version} 2 ]
35        build.target            freebsd${major}${minor}
36}
37
38configure {
39        cd ${worksrcpath}
40        reinplace "s|@@prefix@@|${prefix}|g"    ckuus5.c makefile
41}
42
43build.env       CFLAGS="-DBIND_8_COMPAT=1"
44platform darwin 6 {     build.env "" }
45
46pre-destroot {
47        file mkdir ${destroot}${prefix}/bin
48        file mkdir ${destroot}${prefix}/share/kermit
49}
Note: See TracBrowser for help on using the repository browser.