Files
Edil MedeirosandHerby Gillot 8b4351b206 libnatpmp: new port in net
libnatpmp is a dependency for bitcoin core for folks that are building from
source. The current bitcoin port does not support libnatpmp. This port opens the
possibility of adding a new feature to the bitcoin port.
2024-04-01 12:09:40 -04:00

36 lines
1.3 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 libnatpmp
version 20230423
revision 0
categories net
platforms darwin freebsd
license BSD
maintainers {@edilmedeiros gmail.com:jose.edil+miniupnp} \
openmaintainer
description Portable and fully compliant implementation of the NAT-PMP protocol for the client side
long_description ${description}
homepage http://miniupnp.free.fr/
master_sites http://miniupnp.free.fr/files/
checksums rmd160 01078bccd060e2d4601cfa941e5f352e34a64c55 \
sha256 0684ed2c8406437e7519a1bd20ea83780db871b3a3a5d752311ba3e889dbfc70 \
size 26506
variant universal {}
patchfiles makefile.diff
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}
livecheck.type regex
livecheck.url http://miniupnp.free.fr/files/
livecheck.regex ${name}-${version}