summaryrefslogtreecommitdiff
path: root/devel/libvirt-glib/Makefile
blob: f4fc610fabdda36b9fffcfc91076191a7d6dfcd0 (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
# Created by: Jason Helfman <jgh@FreeBSD.org>
# $FreeBSD$

PORTNAME=	libvirt-glib
PORTVERSION=	0.2.2
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:${PORTSDIR}/devel/libvirt

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-introspection
USES=		gettext gmake libtool pathfix pkgconfig python:2
USE_LDCONFIG=	yes
USE_GNOME=	intlhack introspection
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-fstack-protector
LIBS+=		-L${LOCALBASE}/lib
INSTALL_TARGET=	install-strip

PLIST_SUB=	VERSION=1.0 \
		SHLIB_VER=${PORTVERSION}

.include <bsd.port.mk>