mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
40 lines
1.4 KiB
Tcl
40 lines
1.4 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
|
|
name miniupnpc
|
|
epoch 2
|
|
version 2.3.3
|
|
revision 0
|
|
categories net
|
|
platforms darwin freebsd
|
|
license BSD
|
|
maintainers {@edilmedeiros gmail.com:jose.edil+miniupnp} \
|
|
openmaintainer
|
|
description Lightweight client for UPnP protocol
|
|
long_description ${description}
|
|
|
|
homepage http://miniupnp.free.fr/
|
|
master_sites http://miniupnp.free.fr/files/
|
|
|
|
checksums rmd160 0fcb12388a508cfc0d5eac69e769ff03bf1d9365 \
|
|
sha256 d52a0afa614ad6c088cc9ddff1ae7d29c8c595ac5fdd321170a05f41e634bd1a \
|
|
size 141281
|
|
|
|
variant universal {}
|
|
use_configure no
|
|
build.env PREFIX=${prefix} \
|
|
CC=${configure.cc} \
|
|
"CFLAGS=${configure.cflags} [get_canonical_archflags cc]" \
|
|
"LDFLAGS=${configure.cflags} [get_canonical_archflags ld]"
|
|
destroot.env PREFIX=${prefix}
|
|
test.run yes
|
|
|
|
variant debug description {Build MiniUPnP client with DEBUG options, thus dumping SOAP calls} {
|
|
build.env-append CPPFLAGS=-DDEBUG
|
|
}
|
|
|
|
livecheck.type regex
|
|
livecheck.url http://miniupnp.free.fr/files/
|
|
livecheck.regex ${name}-(\\d+\\.\\d+(?:\\.\\d+)*)${extract.suffix}
|