# -*- 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 # $Id$ PortSystem 1.0 name ncid version 0.83 set branch [join [lrange [split ${version} .] 0 1] .] categories net maintainers davidlaporte.org:david ryandesign license GPL-2+ homepage http://ncid.sourceforge.net/ master_sites sourceforge:project/${name}/${name}/${branch} platforms darwin distname ${name}-${version}-src worksrcdir ${name} use_configure no build.target local build.post_args settag="Macintosh OS X" STRIP= destroot.target mac-install destroot.destdir prefix=${destroot}${prefix} universal_variant no use_parallel_build yes description \ Network Caller ID system long_description \ NCID is Caller ID (CID) distributed over a network to a variety of \ devices and computers. It consists of a server that obtains the \ Caller ID information and various clients that receive the \ information from the server and act on it in various ways. \ The NCID package consists of a server called ncidd, a universal \ client called ncid and a CID client called ncidsip. \ The server obtains the Caller ID information from a modem, a CID \ device or one or more CID clients, and then sends the information \ to each connected client. checksums rmd160 6c19cb0c4d8a0cc4d24f549f0232f1f47c79c490 \ sha256 e60bfa7b6f628648239b4a2d1c128ebc7122b4356391ba153e7a3f076fa89c02 depends_lib \ port:tcl \ port:tk patchfiles \ patch-Makefile.diff \ patch-manpages.diff post-patch { reinplace "s|@PREFIX@|${prefix}|g" \ ${worksrcpath}/Makefile \ ${worksrcpath}/man/ncid.1 \ ${worksrcpath}/man/ncidd.8 \ ${worksrcpath}/man/ncidmodules.1 \ ${worksrcpath}/man/ncidrotate.1 \ ${worksrcpath}/man/ncidsip.8 \ ${worksrcpath}/man/ncidtools.1 \ ${worksrcpath}/man/sip2ncid.8 \ ${worksrcpath}/man/yac2ncid.1 } variant universal {} if {[variant_isset universal]} { set archflags ${configure.universal_cflags} } else { set archflags ${configure.cc_archflags} } build.env CC="${configure.cc} ${archflags}" livecheck.type sourceforge livecheck.regex /${name}-(\[0-9.\]+)-src${extract.suffix}