- Change MASTER_SITES to GNOME - Add LICENSE - Sort USE_GNOME - Take maintainership Changes: http://git.gnome.org/browse/gssdp/tree/NEWS
42 lines
860 B
Makefile
42 lines
860 B
Makefile
# New ports collection makefile for: gssdp
|
|
# Date created: 2009-12-26
|
|
# Whom: Martin Wilke <miwi@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gssdp
|
|
PORTVERSION= 0.12.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= GNOME
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Framework for UPnP devices
|
|
|
|
LICENSE= LGPL20
|
|
|
|
BUILD_DEPENDS= gobject-introspection>=0.6.7:${PORTSDIR}/devel/gobject-introspection
|
|
LIB_DEPENDS= soup-2.4:${PORTSDIR}/devel/libsoup
|
|
|
|
OPTIONS= GTK "Build with GTK+ 2.0" on
|
|
|
|
CONFIGURE_ARGS= --enable-introspection=yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_GNOME= glib20 gnomehack
|
|
USE_LDCONFIG= yes
|
|
USE_XZ= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if defined(WITH_GTK)
|
|
USE_GNOME+= gtk20
|
|
PLIST_SUB= GTK=""
|
|
.else
|
|
PLIST_SUB= GTK="@comment "
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|__OpenBSD__|__FreeBSD__|' ${WRKSRC}/libgssdp/gssdp-socket-functions.c
|
|
|
|
.include <bsd.port.mk>
|