source: trunk/dports/net/ncid/Portfile

Last change on this file was 84623, checked in by ryandesign@…, 6 years ago

ncid: update to 0.83

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# -*- 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
2# $Id: Portfile 84623 2011-09-29 04:33:33Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    ncid
7version                 0.83
8set branch              [join [lrange [split ${version} .] 0 1] .]
9categories              net
10maintainers             davidlaporte.org:david ryandesign
11license                 GPL-2+
12homepage                http://ncid.sourceforge.net/
13master_sites            sourceforge:project/${name}/${name}/${branch}
14platforms               darwin
15distname                ${name}-${version}-src
16worksrcdir              ${name}
17use_configure           no
18build.target            local
19build.post_args         settag="Macintosh OS X" STRIP=
20destroot.target         mac-install
21destroot.destdir        prefix=${destroot}${prefix}
22universal_variant       no
23use_parallel_build      yes
24
25description \
26    Network Caller ID system
27
28long_description \
29    NCID is Caller ID (CID) distributed over a network to a variety of \
30    devices and computers. It consists of a server that obtains the \
31    Caller ID information and various clients that receive the \
32    information from the server and act on it in various ways. \
33    The NCID package consists of a server called ncidd, a universal \
34    client called ncid and a CID client called ncidsip. \
35    The server obtains the Caller ID information from a modem, a CID \
36    device or one or more CID clients, and then sends the information \
37    to each connected client.
38
39checksums               rmd160  6c19cb0c4d8a0cc4d24f549f0232f1f47c79c490 \
40                        sha256  e60bfa7b6f628648239b4a2d1c128ebc7122b4356391ba153e7a3f076fa89c02
41
42depends_lib \
43    port:tcl \
44    port:tk
45
46patchfiles \
47    patch-Makefile.diff \
48    patch-manpages.diff
49
50post-patch {
51    reinplace "s|@PREFIX@|${prefix}|g" \
52        ${worksrcpath}/Makefile \
53        ${worksrcpath}/man/ncid.1 \
54        ${worksrcpath}/man/ncidd.8 \
55        ${worksrcpath}/man/ncidmodules.1 \
56        ${worksrcpath}/man/ncidrotate.1 \
57        ${worksrcpath}/man/ncidsip.8 \
58        ${worksrcpath}/man/ncidtools.1 \
59        ${worksrcpath}/man/sip2ncid.8 \
60        ${worksrcpath}/man/yac2ncid.1
61}
62
63variant universal {}
64if {[variant_isset universal]} {
65    set archflags ${configure.universal_cflags}
66} else {
67    set archflags ${configure.cc_archflags}
68}
69
70build.env               CC="${configure.cc} ${archflags}"
71
72livecheck.type          sourceforge
73livecheck.regex         /${name}-(\[0-9.\]+)-src${extract.suffix}
Note: See TracBrowser for help on using the repository browser.