pkgsrc/sysutils/xentools12/Makefile
joerg a77e7015fe Update PYTHON_VERSIONS_COMPATIBLE
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.
2008-04-25 20:39:06 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2008/04/25 20:39:12 joerg Exp $
#
DISTNAME= xeno-1.2-src-040418
PKGNAME= xentools12-040418
PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/arch/xen/misc/
EXTRACT_SUFX= .tgz
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
DISTFILES+= netbsd-xen-kernel-headers-040508.tar.gz
MAINTAINER= cl@NetBSD.org
HOMEPAGE= http://www.NetBSD.org/ports/xen/
COMMENT= Userland Tools for Xen
ONLY_FOR_PLATFORM= *-*-i386
WRKSRC= ${WRKDIR}/xeno-1.2/tools
PKG_SYSCONFSUBDIR?= xc12
EGDIR= ${PREFIX}/share/examples/${PKGNAME_NOREV}
CONF_FILES= ${EGDIR}/defaults ${PKG_SYSCONFDIR}/defaults
CONF_FILES+= ${EGDIR}/democd ${PKG_SYSCONFDIR}/democd
CONF_FILES+= ${EGDIR}/netbsd ${PKG_SYSCONFDIR}/netbsd
USE_TOOLS+= gmake
MAKE_ENV+= EGDIR=${EGDIR:Q}
MAKE_ENV+= MV=${MV:Q} PYTHON=${PYTHONBIN:Q} SED=${SED:Q}
PYTHON_VERSIONS_ACCEPTED= 23
PY_PATCHPLIST= yes
PYTHON_PATCH_SCRIPTS= examples/xc_dom_control.py examples/xc_dom_create.py
PYTHON_PATCH_SCRIPTS+= examples/xc_vd_tool.py
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"