source: trunk/dports/net/miniupnpc/Portfile

Last change on this file was 123251, checked in by and.damore@…, 3 years ago

port miniupnpc: add debug variant to dump SOAP calls; nomaintainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 123251 2014-08-07 08:15:41Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                miniupnpc
7epoch               2
8version             1.9
9revision            0
10categories          net
11platforms           darwin freebsd
12license             BSD
13maintainers         nomaintainer
14description         Lightweight client for UPnP protocol
15long_description    ${description}
16
17homepage            http://miniupnp.free.fr/
18master_sites        http://miniupnp.free.fr/files/download.php?file=${distname}${extract.suffix}&dummy=
19
20checksums           rmd160  a0c5e8c08f238ade1cf8b721918a41e384d147a6 \
21                    sha256  2923e453e880bb949e3d4da9f83dd3cb6f08946d35de0b864d0339cf70934464
22
23use_configure       no
24
25variant universal {}
26
27variant debug description {Build MiniUPnP client with DEBUG options, thus dumping SOAP calls} {
28    build.args-delete CC="${configure.cc} [get_canonical_archflags cc]"
29    build.args-append CC="${configure.cc} [get_canonical_archflags cc] -DDEBUG"
30}
31
32build.args-append   INSTALLPREFIX=${prefix} CC="${configure.cc} [get_canonical_archflags cc]"
33
34destroot.args-append INSTALLPREFIX=${prefix}
35
36livecheck.type      regex
37livecheck.url       http://miniupnp.free.fr/files/
38livecheck.regex     ${name}-(\\d+(\\.\\d{1,4})+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.