svn commit: r396305 - head/net/gupnp

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Sep 7 17:51:35 UTC 2015


Author: sunpoet
Date: Mon Sep  7 17:51:34 2015
New Revision: 396305
URL: https://svnweb.freebsd.org/changeset/ports/396305

Log:
  - Add VALA option
  - Bump PORTREVISION for package change

Modified:
  head/net/gupnp/Makefile
  head/net/gupnp/pkg-plist

Modified: head/net/gupnp/Makefile
==============================================================================
--- head/net/gupnp/Makefile	Mon Sep  7 17:51:29 2015	(r396304)
+++ head/net/gupnp/Makefile	Mon Sep  7 17:51:34 2015	(r396305)
@@ -3,6 +3,7 @@
 
 PORTNAME=	gupnp
 PORTVERSION=	0.20.14
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	GNOME
 
@@ -16,8 +17,11 @@ LIB_DEPENDS=	libgssdp-1.0.so:${PORTSDIR}
 		libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
 		libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid
 
+OPTIONS_DEFINE=	VALA
+OPTIONS_SUB=	yes
+VALA_DESC=	Vala binding (requires net/gssdp with VALA enabled)
+
 CONFIGURE_ARGS=	--enable-introspection=yes
-CONFIGURE_ENV=	VAPIGEN="" ac_cv_path_VAPIGEN=""
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 USE_GNOME=	glib20 introspection:build
@@ -27,6 +31,10 @@ USES=		compiler:c11 gmake libtool pathfi
 
 SHEBANG_FILES=	tools/gupnp-binding-tool
 
+VALA_BUILD_DEPENDS=	vala>=0.20:${PORTSDIR}/lang/vala
+VALA_CONFIGURE_ENV=	ac_cv_path_VAPIGEN=${LOCALBASE}/bin/vapigen
+VALA_CONFIGURE_ENV_OFF=	ac_cv_path_VAPIGEN=""
+
 .include <bsd.port.pre.mk>
 
 .if ${CHOSEN_COMPILER_TYPE} == "clang"

Modified: head/net/gupnp/pkg-plist
==============================================================================
--- head/net/gupnp/pkg-plist	Mon Sep  7 17:51:29 2015	(r396304)
+++ head/net/gupnp/pkg-plist	Mon Sep  7 17:51:34 2015	(r396305)
@@ -72,3 +72,5 @@ share/gtk-doc/html/gupnp/style.css
 share/gtk-doc/html/gupnp/tutorial.html
 share/gtk-doc/html/gupnp/up-insensitive.png
 share/gtk-doc/html/gupnp/up.png
+%%VALA%%share/vala/vapi/gupnp-1.0.deps
+%%VALA%%share/vala/vapi/gupnp-1.0.vapi


More information about the svn-ports-all mailing list