1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/py-libvirt/Makefile
2016-11-06 07:55:18 +00:00

29 lines
712 B
Makefile

# Created by: Jason Helfman <jgh@FreeBSD.org>
# $FreeBSD$
PORTNAME= libvirt
PORTVERSION= 2.4.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
LICENSE= GPLv2
LIB_DEPENDS= libvirt.so:devel/libvirt
USES= pkgconfig python shebangfix
SHEBANG_FILES= generator.py sanitytest.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>