aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-18 21:35:58 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-18 21:36:11 +0000
commita3a936715f7d43c0931354061b64480ec0b6448a (patch)
tree05795429338b4ff70d499f0ca9da93dab4392df9
parent3f452eb979b7b2224107fae1ab2862f253782058 (diff)
downloadports-a3a936715f7d43c0931354061b64480ec0b6448a.tar.gz
ports-a3a936715f7d43c0931354061b64480ec0b6448a.zip
net/gupnp-igd12: Add gupnp-igd12 1.2.0 (copied from gupnp-igd)
- Add PORTSCOUT
-rw-r--r--net/Makefile1
-rw-r--r--net/gupnp-igd12/Makefile29
-rw-r--r--net/gupnp-igd12/distinfo3
-rw-r--r--net/gupnp-igd12/pkg-descr1
-rw-r--r--net/gupnp-igd12/pkg-plist9
5 files changed, 43 insertions, 0 deletions
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