[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / libvirt

File: [cvs.NetBSD.org] / pkgsrc / sysutils / libvirt / Makefile (download)

Revision 1.85, Wed Nov 23 16:19:01 2022 UTC (2 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, HEAD
Changes since 1.84: +2 -2 lines

massive revision bump after textproc/icu update

# $NetBSD: Makefile,v 1.85 2022/11/23 16:19:01 adam Exp $

DISTNAME=		libvirt-1.2.9
PKGREVISION=		46
CATEGORIES=		sysutils
MASTER_SITES=		http://libvirt.org/sources/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://libvirt.org/
COMMENT=		Virtualisation toolkit for host operating systems
LICENSE=		gnu-lgpl-v2

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-vbox=no --sysconfdir=${EGDIR} --localstatedir=${VARBASE}
CONFIGURE_ARGS+=	--without-macvtap
CONFIGURE_ARGS+=	--without-polkit
USE_TOOLS+=		gmake pkg-config perl
USE_LIBTOOL=		yes

BUILD_DEFS+=		VARBASE

PYTHON_VERSIONS_ACCEPTED=	27 # py-xml

CHECK_PORTABILITY_SKIP+=	docs/news.html.in

PY_PATCHPLIST=		yes
REPLACE_PYTHON+=	docs/apibuild.py
REPLACE_PYTHON+=	src/esx/esx_vi_generator.py
REPLACE_PYTHON+=	src/hyperv/hyperv_wmi_generator.py
REPLACE_PYTHON+=	src/util/virkeycode-mapgen.py

EGDIR=			${PREFIX}/share/examples
CONF_FILES+=		${EGDIR}/libvirt/libvirtd.conf ${PKG_SYSCONFDIR}/libvirt/libvirtd.conf
CONF_FILES+=		${EGDIR}/libvirt/qemu/networks/autostart/default.xml ${PKG_SYSCONFDIR}/libvirt/qemu/networks/autostart/default.xml
CONF_FILES+=		${EGDIR}/libvirt/qemu/networks/default.xml ${PKG_SYSCONFDIR}/libvirt/qemu/networks/default.xml
CONF_FILES+=		${EGDIR}/logrotate.d/libvirtd ${PKG_SYSCONFDIR}/logrotate.d/libvirtd
CONF_FILES+=		${EGDIR}/logrotate.d/libvirtd.lxc ${PKG_SYSCONFDIR}/logrotate.d/libvirtd.lxc
CONF_FILES+=		${EGDIR}/logrotate.d/libvirtd.qemu ${PKG_SYSCONFDIR}/logrotate.d/libvirtd.qemu
CONF_FILES+=		${EGDIR}/logrotate.d/libvirtd.uml ${PKG_SYSCONFDIR}/logrotate.d/libvirtd.uml
CONF_FILES+=		${EGDIR}/sasl2/libvirt.conf ${PKG_SYSCONFDIR}/sasl2/libvirt.conf

AUTO_MKDIRS=		yes
RCD_SCRIPTS=		libvirtd

.include "options.mk"

.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"

.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/yajl/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
.include "../../security/cyrus-sasl/buildlink3.mk"
.include "../../security/libgcrypt/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/py-xml/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"