mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- Convert to new options helper
- Support STAGEDIR
This commit is contained in:
parent
802069042c
commit
ddb7bda857
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330885
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user