svn commit: r330885 - head/net/gssdp
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Oct 19 15:32:47 UTC 2013
Author: sunpoet
Date: Sat Oct 19 15:32:46 2013
New Revision: 330885
URL: http://svnweb.freebsd.org/changeset/ports/330885
Log:
- Convert to new options helper
- Support STAGEDIR
Modified:
head/net/gssdp/Makefile
Modified: head/net/gssdp/Makefile
==============================================================================
--- head/net/gssdp/Makefile Sat Oct 19 15:25:58 2013 (r330884)
+++ head/net/gssdp/Makefile Sat Oct 19 15:32:46 2013 (r330885)
@@ -16,6 +16,7 @@ LIB_DEPENDS= libsoup-2.4.so:${PORTSDIR}/
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
More information about the svn-ports-all
mailing list