mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
57 lines
2.1 KiB
Tcl
57 lines
2.1 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
|
|
name kermit-devel
|
|
conflicts kermit
|
|
# don't forget to update distname too
|
|
version 10.0-beta12
|
|
categories comms
|
|
platforms darwin
|
|
license BSD
|
|
maintainers nomaintainer
|
|
description Serial and network communications package.
|
|
long_description C-Kermit is a combined serial and network \
|
|
communication software package offering \
|
|
a consistent, medium-independent, \
|
|
cross-platform approach to connection \
|
|
establishment, terminal sessions, file \
|
|
transfer, character-set translation, \
|
|
numeric and alphanumeric paging, and \
|
|
automation of communication tasks.
|
|
homepage https://www.kermitproject.org/ck90.html
|
|
master_sites https://www.kermitproject.org/ftp/kermit/test/tar/
|
|
|
|
distname cku416-beta12
|
|
|
|
checksums rmd160 901a776b91e8cb7f4731e73a439d4cf09b0e03bb \
|
|
sha256 1e38f6f813a8d97ec46bc1002c1bc389a3a3412b1188ace5027143d5c561c5ab \
|
|
size 2353340
|
|
|
|
extract.mkdir yes
|
|
build.target
|
|
patchfiles patch-makefile.diff \
|
|
patch-ckuus5.c.diff
|
|
|
|
platform darwin {
|
|
build.target macosx
|
|
}
|
|
|
|
build.env-append PREFIX=${prefix}
|
|
destroot.env-append PREFIX=${prefix}
|
|
|
|
configure {
|
|
reinplace "s|@@prefix@@|${prefix}|g" ${worksrcpath}/ckuus5.c
|
|
reinplace {s| CC=$(CC) | CC="$(CC)" |g} ${worksrcpath}/makefile
|
|
reinplace {s| CC2=$(CC2) | CC2="$(CC2)" |g} ${worksrcpath}/makefile
|
|
reinplace "s|CC= cc|CC= ${configure.cc} [get_canonical_archflags]|g" ${worksrcpath}/makefile
|
|
reinplace "s|CC2= cc|CC2= ${configure.cc} [get_canonical_archflags]|g" ${worksrcpath}/makefile
|
|
}
|
|
|
|
pre-destroot {
|
|
file mkdir ${destroot}${prefix}/share/doc/kermit
|
|
}
|
|
|
|
livecheck.type regexm
|
|
livecheck.regex {<td><b>Version:</b></td>\n<td>([0-9\.]+)</td>}
|