mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
009d225dd5
- Convert to USES=libtool and USES=pathfix - Add INSTALL_TARGET=install-strip - Only depend on openssl if GCRYPT option is off - Sanitize libssh2.pc devel/libvirt: - Remove workaround for broken libssh2.pc - Add USES=libtool and bump dependent ports - Convert to INSTALL_TARGET=install-strip devel/libvirt-glib: - Convert to USES=libtool Approved by: portmgr (implicit, bump unstaged port)
37 lines
854 B
Makefile
37 lines
854 B
Makefile
# Created by: Jason Helfman <jgh@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libvirt
|
|
PORTVERSION= 1.2.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://libvirt.org/sources/python/ \
|
|
ftp://libvirt.org/libvirt/python/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= ${PORTNAME}-python-${PORTVERSION}
|
|
|
|
MAINTAINER= jgh@FreeBSD.org
|
|
COMMENT= Python bindings for Libvirt virtualization API
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libvirt.so:${PORTSDIR}/devel/libvirt
|
|
|
|
USES= pkgconfig shebangfix
|
|
SHEBANG_FILES= generator.py sanitytest.py setup.py
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|"python"|"${PYTHON_CMD}"|g' \
|
|
${WRKSRC}/setup.py
|
|
|
|
post-install:
|
|
.for lib in libvirtmod libvirtmod_qemu libvirtmod_lxc
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHON_LIBDIR}/site-packages/${lib}.so
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|