blob: d4a476e1fdc9a21882dc087375c3d19dd6aa0079 (
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
32
33
34
35
36
37
38
39
40
|
# Created by: Jason Helfman <jgh@FreeBSD.org>
PORTNAME= libvirt-glib
PORTVERSION= 4.0.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://libvirt.org/libvirt/glib/
MAINTAINER= novel@FreeBSD.org
COMMENT= Glib bindings for Libvirt virtualization API
LICENSE= GPLv2
LIB_DEPENDS= libvirt.so:devel/libvirt
USES= gettext gmake gnome libtool meson pathfix pkgconfig \
python:3.6+ tar:xz
OPTIONS_DEFINE= DOCS VALA
OPTIONS_DEFAULT= DOCS VALA
OPTIONS_SUB= yes
DOCS_MESON_ENABLED= docs
DOCS_BUILD_DEPENDS= gtk-doc>=0:textproc/gtk-doc
VALA_DESC= Vala binding
VALA_MESON_ENABLED= vapi
VALA_BUILD_DEPENDS= valac:lang/vala
MESON_ARGS+= -Dintrospection=enabled
USE_LDCONFIG= yes
USE_GNOME= intlhack introspection libxml2
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -fstack-protector
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
SHLIB_VER= ${PORTVERSION:C/(^[0-9])\./0.\100/}
PLIST_SUB= VERSION=1.0 \
SHLIB_VER=${SHLIB_VER}
.include <bsd.port.mk>
|