aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-10-19 23:32:46 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-10-19 23:32:46 +0800
commit661162109a94578c7a6111a3c7620e03920c04a6 (patch)
tree27b19d9e9441ec9d534d191efc9f06b3e60c2253 /net
parentf47699cf5b5624333a0b4d0d518845350e8374ff (diff)
downloadfreebsd-ports-gnome-661162109a94578c7a6111a3c7620e03920c04a6.tar.gz
freebsd-ports-gnome-661162109a94578c7a6111a3c7620e03920c04a6.tar.zst
freebsd-ports-gnome-661162109a94578c7a6111a3c7620e03920c04a6.zip
- Convert to new options helper
- Support STAGEDIR
Diffstat (limited to 'net')
-rw-r--r--net/gssdp/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/net/gssdp/Makefile b/net/gssdp/Makefile
index 9012986eb439..caed652eef01 100644
--- a/net/gssdp/Makefile
+++ b/net/gssdp/Makefile
@@ -16,6 +16,7 @@ LIB_DEPENDS= libsoup-2.4.so:${PORTSDIR}/devel/libsoup
OPTIONS_DEFINE= GTK3
OPTIONS_DEFAULT=GTK3
+OPTIONS_SUB= yes
CONFIGURE_ARGS= --enable-introspection=yes
CONFIGURE_ENV= VAPIGEN=""
@@ -25,17 +26,8 @@ USE_LDCONFIG= yes
USE_XZ= yes
USES= gmake pathfix pkgconfig
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGTK3}
-CONFIGURE_ARGS+=--with-gtk
-USE_GNOME+= gtk30
-PLIST_SUB= GTK3=""
-.else
-CONFIGURE_ARGS+=--without-gtk
-PLIST_SUB= GTK3="@comment "
-.endif
+GTK3_CONFIGURE_WITH= gtk
+GTK3_USE= GNOME=gtk30
post-patch:
@${REINPLACE_CMD} -e 's|__OpenBSD__|__FreeBSD__|' ${WRKSRC}/libgssdp/gssdp-socket-functions.c