aboutsummaryrefslogtreecommitdiff
path: root/devel/py-libvirt/Makefile
blob: acd03b1e0273c6d4b315d2700104ce53cc91846e (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
PORTNAME=	libvirt
PORTVERSION=	10.3.0
CATEGORIES=	devel
MASTER_SITES=	http://libvirt.org/sources/python/ \
		ftp://libvirt.org/libvirt/python/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	${PORTNAME}-python-${PORTVERSION}

MAINTAINER=	novel@FreeBSD.org
COMMENT=	Python bindings for Libvirt virtualization API
WWW=		https://libvirt.org/python.html

LICENSE=	GPLv2

LIB_DEPENDS=	libvirt.so:devel/libvirt

USES=		cpe pkgconfig python shebangfix
CPE_VENDOR=	redhat
SHEBANG_FILES=	generator.py setup.py
USE_PYTHON=	distutils autoplist

post-install:
.for lib in libvirtmod libvirtmod_qemu libvirtmod_lxc
	@${STRIP_CMD} ${STAGEDIR}${PYTHON_LIBDIR}/site-packages/${lib}*.so
.endfor

.include <bsd.port.mk>