Tweak net/gupnp version 0.20.14
[dports.git] / net / gupnp / Makefile
1 # Created by: Martin Wilke <miwi@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       gupnp
5 PORTVERSION=    0.20.14
6 CATEGORIES=     net
7 MASTER_SITES=   GNOME
8
9 MAINTAINER=     sunpoet@FreeBSD.org
10 COMMENT=        Framework for UPnP devices
11
12 LICENSE=        LGPL20
13
14 BUILD_DEPENDS=  gobject-introspection>=0.6.4:${PORTSDIR}/devel/gobject-introspection
15 LIB_DEPENDS=    libgssdp-1.0.so:${PORTSDIR}/net/gssdp \
16                 libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
17                 libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid
18
19 CONFIGURE_ARGS= --enable-introspection=yes
20 CONFIGURE_ENV=  VAPIGEN="" ac_cv_path_VAPIGEN=""
21 GNU_CONFIGURE=  yes
22 INSTALL_TARGET= install-strip
23 USE_GNOME=      glib20 introspection:build
24 USE_LDCONFIG=   yes
25 USE_CSTD=       c11
26 USES=           compiler:c11 gmake libtool pathfix pkgconfig python:run shebangfix tar:xz
27
28 SHEBANG_FILES=  tools/gupnp-binding-tool
29
30 .include <bsd.port.pre.mk>
31
32 .if ${CHOSEN_COMPILER_TYPE} == "clang"
33 CPPFLAGS+=      -Wno-return-type
34 .endif
35
36 .include <bsd.port.post.mk>