diff --git a/net/libnpupnp/Makefile b/net/libnpupnp/Makefile new file mode 100644 index 00000000000..6668036be0e --- /dev/null +++ b/net/libnpupnp/Makefile @@ -0,0 +1,26 @@ +COMMENT = C++ base UPnP library + +DISTNAME = libnpupnp-6.2.1 + +SHARED_LIBS += npupnp 0.0 # 0.0 + +CATEGORIES = net + +HOMEPAGE = https://www.lesbonscomptes.com/upmpdcli/libupnpp-refdoc/libupnpp-ctl.html + +# LGPLv2.1+ +PERMIT_PACKAGE = Yes + +SITES = https://www.lesbonscomptes.com/upmpdcli/downloads/ + +WANTLIB += ${COMPILER_LIBCXX} curl expat m microhttpd + +# C++18 +COMPILER = base-clang ports-gcc + +MODULES = devel/meson + +LIB_DEPENDS = www/libmicrohttpd \ + net/curl + +.include diff --git a/net/libnpupnp/_portcheck.pbh b/net/libnpupnp/_portcheck.pbh new file mode 100644 index 00000000000..6fe08a2a7bc --- /dev/null +++ b/net/libnpupnp/_portcheck.pbh @@ -0,0 +1,3 @@ +1 line(s) longer than 80 chars in Makefile +there are no patches, please remove the patches directory instead +net/libnpupnp diff --git a/net/libnpupnp/distinfo b/net/libnpupnp/distinfo new file mode 100644 index 00000000000..ad8c447b394 --- /dev/null +++ b/net/libnpupnp/distinfo @@ -0,0 +1,2 @@ +SHA256 (libnpupnp-6.2.1.tar.gz) = HMEiJRLUgIJtKSPMe5i3NhGDoq3YxrZGp/oywvNLMrM= +SIZE (libnpupnp-6.2.1.tar.gz) = 471007 diff --git a/net/libnpupnp/pkg/DESCR b/net/libnpupnp/pkg/DESCR new file mode 100644 index 00000000000..5fd8a7e074d --- /dev/null +++ b/net/libnpupnp/pkg/DESCR @@ -0,0 +1,3 @@ +libpnupnp is a C++ reimplementation of the venerable libupnp, a.k.a. Portable +UPnP* library. Most of the API is unchanged, except where libupnp exposed its +internal XML ixml library DOM objects. diff --git a/net/libnpupnp/pkg/PLIST b/net/libnpupnp/pkg/PLIST new file mode 100644 index 00000000000..16eb337f004 --- /dev/null +++ b/net/libnpupnp/pkg/PLIST @@ -0,0 +1,10 @@ +include/npupnp/ +include/npupnp/UpnpGlobal.h +include/npupnp/netif.h +include/npupnp/upnp.h +include/npupnp/upnpconfig.h +include/npupnp/upnpdebug.h +include/npupnp/upnpdescription.h +include/npupnp/upnptools.h +@lib lib/libnpupnp.so.${LIBnpupnp_VERSION} +lib/pkgconfig/libnpupnp.pc