aboutsummaryrefslogtreecommitdiff
path: root/net-im/libnice/Makefile
blob: 1f17d7059dcdde1347870b735869a17ef139a444 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#    $MCom$

PORTNAME=	libnice
PORTVERSION=	0.1.3
CATEGORIES=	net-im devel
MASTER_SITES=	http://nice.freedesktop.org/releases/ \
		http://miwibox.org/distfiles/

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	Library and transmitter that implements ICE-19

USES=		pkgconfig
USE_GMAKE=	yes
USE_GETTEXT=	yes
USE_LDCONFIG=	yes
USE_GNOME=	gnomehack glib20 ltverhack
USE_GSTREAMER=	yes
USE_AUTOTOOLS=	libtool
CONFIGURE_ARGS=	--without-gstreamer --with-gstreamer-0.10
CPPFLAGS+=	-I${LOCALBASE}/include -DHAVE_GETIFADDRS
LDFLAGS+=	-L${LOCALBASE}/lib

post-patch:
	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
	    	's|-Wno-missing-field-initializers|#|g'
	@${REINPLACE_CMD} -e 's|-Wno-missing-field-initializers|#|g' \
	    	${WRKSRC}/common.mk

.include <bsd.port.mk>