mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# Created by: Martin Wilke <miwi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gupnp
|
|
PORTVERSION= 1.2.4
|
|
CATEGORIES= net
|
|
MASTER_SITES= GNOME
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Framework for UPnP devices
|
|
|
|
LICENSE= LGPL20
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= glib>=2.58:devel/glib20 \
|
|
gobject-introspection>=1.36:devel/gobject-introspection \
|
|
gssdp>=1.2.3:net/gssdp \
|
|
libsoup>=2.48.0:devel/libsoup
|
|
LIB_DEPENDS= libgssdp-1.2.so:net/gssdp \
|
|
libsoup-2.4.so:devel/libsoup \
|
|
libuuid.so:misc/e2fsprogs-libuuid
|
|
|
|
USES= compiler:c11 gnome meson pathfix pkgconfig python:run shebangfix tar:xz
|
|
USE_GNOME= glib20 introspection:build libxml2
|
|
|
|
MESON_ARGS= -Dexamples=false -Dgtk_doc=false -Dintrospection=true
|
|
USE_CSTD= c11
|
|
USE_LDCONFIG= yes
|
|
|
|
SHEBANG_FILES= tools/gupnp-binding-tool-1.2
|
|
|
|
OPTIONS_DEFINE= VAPI
|
|
OPTIONS_SUB= yes
|
|
|
|
VAPI_BUILD_DEPENDS= vala>=0.20:lang/vala
|
|
VAPI_MESON_TRUE= vapi
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${CHOSEN_COMPILER_TYPE} == "clang"
|
|
CPPFLAGS+= -Wno-return-type
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|