aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-09-08 01:51:29 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-09-08 01:51:29 +0800
commit06eb2acd1a2425eeefb18781d6835c78bbc30c4d (patch)
tree1dc79ea18f57611b2267b7af5dcf8354fd4f48bc /net
parentf6ec5f3bd12931cf40fe1e26d208198ef3e56a73 (diff)
downloadfreebsd-ports-gnome-06eb2acd1a2425eeefb18781d6835c78bbc30c4d.tar.gz
freebsd-ports-gnome-06eb2acd1a2425eeefb18781d6835c78bbc30c4d.tar.zst
freebsd-ports-gnome-06eb2acd1a2425eeefb18781d6835c78bbc30c4d.zip
- Add VALA option
- Bump PORTREVISION for package change
Diffstat (limited to 'net')
-rw-r--r--net/gssdp/Makefile8
-rw-r--r--net/gssdp/pkg-plist2
2 files changed, 8 insertions, 2 deletions
diff --git a/net/gssdp/Makefile b/net/gssdp/Makefile
index a36d4bd8aa5e..7e3bc5682fb6 100644
--- a/net/gssdp/Makefile
+++ b/net/gssdp/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gssdp
PORTVERSION= 0.14.11
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= GNOME
@@ -14,12 +15,12 @@ LICENSE= LGPL20
BUILD_DEPENDS= gobject-introspection>=0.6.7:${PORTSDIR}/devel/gobject-introspection
LIB_DEPENDS= libsoup-2.4.so:${PORTSDIR}/devel/libsoup
-OPTIONS_DEFINE= GTK3
+OPTIONS_DEFINE= GTK3 VALA
OPTIONS_DEFAULT=GTK3
OPTIONS_SUB= yes
+VALA_DESC= Vala binding
CONFIGURE_ARGS= --enable-introspection=yes
-CONFIGURE_ENV= VAPIGEN="" ac_cv_path_VAPIGEN=""
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_GNOME= glib20 introspection:build
@@ -28,5 +29,8 @@ USES= gmake libtool pathfix pkgconfig tar:xz
GTK3_CONFIGURE_WITH= gtk
GTK3_USE= GNOME=gtk30
+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.mk>
diff --git a/net/gssdp/pkg-plist b/net/gssdp/pkg-plist
index a76064f5aa4f..8d1927a92042 100644
--- a/net/gssdp/pkg-plist
+++ b/net/gssdp/pkg-plist
@@ -29,3 +29,5 @@ share/gtk-doc/html/gssdp/right.png
share/gtk-doc/html/gssdp/style.css
share/gtk-doc/html/gssdp/up-insensitive.png
share/gtk-doc/html/gssdp/up.png
+%%VALA%%share/vala/vapi/gssdp-1.0.deps
+%%VALA%%share/vala/vapi/gssdp-1.0.vapi