# -*- 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-beta09 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 cku404-beta09 checksums rmd160 11af8e4e356b562e0d406f88cfdd88f1f06fe440 \ sha256 855375b61d650b4b489dc1ec945fd38510af4e2bd5d08e45cd03fdaf3c95ace3 \ size 2323021 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 {Version:\n([0-9\.]+)}