git: a3a936715f7d - main - net/gupnp-igd12: Add gupnp-igd12 1.2.0 (copied from gupnp-igd)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 18 Apr 2023 21:49:20 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a3a936715f7d43c0931354061b64480ec0b6448a

commit a3a936715f7d43c0931354061b64480ec0b6448a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-18 21:35:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-18 21:36:11 +0000

    net/gupnp-igd12: Add gupnp-igd12 1.2.0 (copied from gupnp-igd)
    
    - Add PORTSCOUT
---
 net/Makefile              |  1 +
 net/gupnp-igd12/Makefile  | 29 +++++++++++++++++++++++++++++
 net/gupnp-igd12/distinfo  |  3 +++
 net/gupnp-igd12/pkg-descr |  1 +
 net/gupnp-igd12/pkg-plist |  9 +++++++++
 5 files changed, 43 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index 00cfc8f845b5..4c2b20321014 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -234,6 +234,7 @@
     SUBDIR += gupnp-av
     SUBDIR += gupnp-dlna
     SUBDIR += gupnp-igd
+    SUBDIR += gupnp-igd12
     SUBDIR += gupnp-tools
     SUBDIR += gupnp-ui
     SUBDIR += gupnp14
diff --git a/net/gupnp-igd12/Makefile b/net/gupnp-igd12/Makefile
new file mode 100644
index 000000000000..abfaf43eb932
--- /dev/null
+++ b/net/gupnp-igd12/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	gupnp-igd
+PORTVERSION=	1.2.0
+CATEGORIES=	net
+MASTER_SITES=	GNOME
+PKGNAMESUFFIX=	12
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Library to handle UPnP IGD port mapping
+WWW=		https://wiki.gnome.org/Projects/GUPnP
+
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BUILD_DEPENDS=	gobject-introspection>=0.10:devel/gobject-introspection \
+		gssdp14>=1.2.0:net/gssdp14 \
+		gupnp14>=1.2.0:net/gupnp14
+LIB_DEPENDS=	libgssdp-1.2.so:net/gssdp14 \
+		libgupnp-1.2.so:net/gupnp14
+
+USES=		compiler:c11 gnome meson pkgconfig tar:xz
+USE_GNOME=	glib20 introspection:build
+
+MESON_ARGS=	--default-library=both -Dgtk_doc=false -Dintrospection=true
+USE_CSTD=	c11
+USE_LDCONFIG=	yes
+
+PORTSCOUT=	limit:^1\.2\.
+
+.include <bsd.port.mk>
diff --git a/net/gupnp-igd12/distinfo b/net/gupnp-igd12/distinfo
new file mode 100644
index 000000000000..d3b069a50fe1
--- /dev/null
+++ b/net/gupnp-igd12/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1600863356
+SHA256 (gupnp-igd-1.2.0.tar.xz) = 4b5120098aa13edd27818ba9ee4d7fe961bf540bf50d056ff703c61545e02be1
+SIZE (gupnp-igd-1.2.0.tar.xz) = 26100
diff --git a/net/gupnp-igd12/pkg-descr b/net/gupnp-igd12/pkg-descr
new file mode 100644
index 000000000000..7786fe321649
--- /dev/null
+++ b/net/gupnp-igd12/pkg-descr
@@ -0,0 +1 @@
+This is a library to handle UPnP IGD port mapping.
diff --git a/net/gupnp-igd12/pkg-plist b/net/gupnp-igd12/pkg-plist
new file mode 100644
index 000000000000..ef0140de539f
--- /dev/null
+++ b/net/gupnp-igd12/pkg-plist
@@ -0,0 +1,9 @@
+include/gupnp-igd-1.0/libgupnp-igd/gupnp-simple-igd-thread.h
+include/gupnp-igd-1.0/libgupnp-igd/gupnp-simple-igd.h
+lib/girepository-1.0/GUPnPIgd-1.0.typelib
+lib/libgupnp-igd-1.0.a
+lib/libgupnp-igd-1.0.so
+lib/libgupnp-igd-1.0.so.4
+lib/libgupnp-igd-1.0.so.4.2.1
+libdata/pkgconfig/gupnp-igd-1.0.pc
+share/gir-1.0/GUPnPIgd-1.0.gir