1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Convert to new options helper

- Support STAGEDIR
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-10-19 15:32:46 +00:00
parent 802069042c
commit ddb7bda857
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330885

View File

@ -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