2012-10-07 19:37:03 +02:00
|
|
|
# Created by: Martin Wilke <miwi@FreeBSD.org>
|
2009-12-26 14:53:36 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gssdp
|
2013-03-23 09:07:56 +01:00
|
|
|
PORTVERSION= 0.14.2
|
2009-12-26 14:53:36 +01:00
|
|
|
CATEGORIES= net
|
2012-06-12 21:07:41 +02:00
|
|
|
MASTER_SITES= GNOME
|
2009-12-26 14:53:36 +01:00
|
|
|
|
2012-06-12 21:07:41 +02:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
2009-12-26 14:53:36 +01:00
|
|
|
COMMENT= Framework for UPnP devices
|
|
|
|
|
2012-06-12 21:07:41 +02:00
|
|
|
LICENSE= LGPL20
|
2009-12-26 14:53:36 +01:00
|
|
|
|
2012-06-12 21:07:41 +02:00
|
|
|
BUILD_DEPENDS= gobject-introspection>=0.6.7:${PORTSDIR}/devel/gobject-introspection
|
|
|
|
LIB_DEPENDS= soup-2.4:${PORTSDIR}/devel/libsoup
|
|
|
|
|
2012-07-18 14:50:16 +02:00
|
|
|
OPTIONS_DEFINE= GTK2
|
|
|
|
OPTIONS_DEFAULT=GTK2
|
2012-06-12 21:07:41 +02:00
|
|
|
|
|
|
|
CONFIGURE_ARGS= --enable-introspection=yes
|
2013-03-23 09:07:56 +01:00
|
|
|
CONFIGURE_ENV= VAPIGEN=""
|
2009-12-26 14:53:36 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2012-06-12 21:07:41 +02:00
|
|
|
USE_GMAKE= yes
|
2013-03-23 09:07:56 +01:00
|
|
|
USE_GNOME= glib20
|
2009-12-26 14:53:36 +01:00
|
|
|
USE_LDCONFIG= yes
|
2012-06-12 21:07:41 +02:00
|
|
|
USE_XZ= yes
|
2013-04-23 16:20:25 +02:00
|
|
|
USES= pathfix pkgconfig
|
2012-06-12 21:07:41 +02:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-07-18 14:50:16 +02:00
|
|
|
.if ${PORT_OPTIONS:MGTK2}
|
2013-03-23 09:07:56 +01:00
|
|
|
CONFIGURE_ARGS+=--with-gtk
|
2012-06-12 21:07:41 +02:00
|
|
|
USE_GNOME+= gtk20
|
|
|
|
PLIST_SUB= GTK=""
|
|
|
|
.else
|
2013-03-23 09:07:56 +01:00
|
|
|
CONFIGURE_ARGS+=--without-gtk
|
2012-06-12 21:07:41 +02:00
|
|
|
PLIST_SUB= GTK="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|__OpenBSD__|__FreeBSD__|' ${WRKSRC}/libgssdp/gssdp-socket-functions.c
|
2009-12-26 14:53:36 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|