diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-05-28 21:18:34 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-05-28 21:18:34 +0800 |
commit | ec3f7ecb7d1410011aab339be7c3a6c9f511e66b (patch) | |
tree | 15f4e3300fff4b1ae0ebf231a136d800c97ad08e /devel | |
parent | 23506c7a91b19d619016bcfb2e7cb22b616b79dc (diff) | |
download | freebsd-ports-gnome-ec3f7ecb7d1410011aab339be7c3a6c9f511e66b.tar.gz freebsd-ports-gnome-ec3f7ecb7d1410011aab339be7c3a6c9f511e66b.tar.zst freebsd-ports-gnome-ec3f7ecb7d1410011aab339be7c3a6c9f511e66b.zip |
- Install libvirt.pc to libdata/pkgconfig
- Use lib instead of LIB32DIR
- Respect PYTHON_SITELIBDIR: replace %%LIB32DIR%%/python2.7/site-packages
- Use = instead of +=
- Bump PORTREVISION for PLIST change
PR: ports/157224
Submitted by: Jason Helfman <jhelfman@experts-exchange.com> (maintainer)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libvirt/Makefile | 8 | ||||
-rw-r--r-- | devel/libvirt/pkg-plist | 31 |
2 files changed, 21 insertions, 18 deletions
diff --git a/devel/libvirt/Makefile b/devel/libvirt/Makefile index 558e5949c918..249be10e4381 100644 --- a/devel/libvirt/Makefile +++ b/devel/libvirt/Makefile @@ -7,6 +7,7 @@ PORTNAME= libvirt PORTVERSION= 0.9.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://libvirt.org/sources/ @@ -15,7 +16,7 @@ COMMENT= Toolkit to interact with virtualization capabilities LICENSE= LGPL3 GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--without-libssh2 \ +CONFIGURE_ARGS= --without-libssh2 \ --without-sasl \ --without-yajl \ --without-avahi \ @@ -25,11 +26,12 @@ CONFIGURE_ARGS+=--without-libssh2 \ --without-netcf \ --without-network USE_GMAKE= yes +USE_GNOME= gnomehack USE_LDCONFIG= yes USE_PYTHON_BUILD= yes -PLIST_SUB+= PORTVERSION="-${PORTVERSION}" +PLIST_SUB= PORTVERSION="-${PORTVERSION}" -LIB_DEPENDS+= curl.6:${PORTSDIR}/ftp/curl \ +LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \ gcrypt.17:${PORTSDIR}/security/libgcrypt \ xml2.5:${PORTSDIR}/textproc/libxml2 \ gnutls.40:${PORTSDIR}/security/gnutls diff --git a/devel/libvirt/pkg-plist b/devel/libvirt/pkg-plist index d69eadb8a131..b24a4a67a680 100644 --- a/devel/libvirt/pkg-plist +++ b/devel/libvirt/pkg-plist @@ -27,18 +27,18 @@ etc/logrotate.d/libvirtd.uml include/libvirt/libvirt-qemu.h include/libvirt/libvirt.h include/libvirt/virterror.h -%%LIB32DIR%%/libvirt-qemu.a -%%LIB32DIR%%/libvirt-qemu.la -%%LIB32DIR%%/libvirt-qemu.so -%%LIB32DIR%%/libvirt-qemu.so.9 -%%LIB32DIR%%/libvirt.a -%%LIB32DIR%%/libvirt.la -%%LIB32DIR%%/libvirt.so -%%LIB32DIR%%/libvirt.so.9 -%%LIB32DIR%%/pkgconfig/libvirt.pc -%%LIB32DIR%%/python2.7/site-packages/libvirt.py -%%LIB32DIR%%/python2.7/site-packages/libvirtmod.la -%%LIB32DIR%%/python2.7/site-packages/libvirtmod.so +lib/libvirt-qemu.a +lib/libvirt-qemu.la +lib/libvirt-qemu.so +lib/libvirt-qemu.so.9 +lib/libvirt.a +lib/libvirt.la +lib/libvirt.so +lib/libvirt.so.9 +%%PYTHON_SITELIBDIR%%/libvirt.py +%%PYTHON_SITELIBDIR%%/libvirtmod.la +%%PYTHON_SITELIBDIR%%/libvirtmod.so +libdata/pkgconfig/libvirt.pc libexec/libvirt_iohelper sbin/libvirtd share/augeas/lenses/libvirtd.aug @@ -234,9 +234,10 @@ share/gtk-doc/html/libvirt/up.png %%NLS%%share/locale/zu/LC_MESSAGES/libvirt.mo @dirrmtry etc/logrotate.d @dirrm include/libvirt -@dirrmtry %%LIB32DIR%%/pkgconfig -@dirrm %%LIB32DIR%%/libvirt/connection-driver -@dirrm %%LIB32DIR%%/libvirt +@dirrmtry %%PYTHON_SITELIBDIR%% +@dirrmtry %%PYTHON_LIBDIR%% +@dirrm lib/libvirt/connection-driver +@dirrm lib/libvirt @dirrm %%DOCSDIR%%%%PORTVERSION%%/html/html @dirrm %%DOCSDIR%%%%PORTVERSION%%/html @dirrm %%DOCSDIR%%%%PORTVERSION%% |