pkgsrc/sysutils/xenstoretools/Makefile
sborrill f86229c094 Add ipxe-git to DISTFILES (like in xentools41). It's not really used, but
means that all the same xentools patches will apply without any
special-casing. Fixes build.
2013-04-29 11:23:58 +00:00

55 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2013/04/29 11:23:58 sborrill Exp $
#
# VERSION is set in xentool41/version.mk
.include "../../sysutils/xentools41/version.mk"
DISTNAME= xen-${VERSION}
PKGNAME= xenstoretools-${VERSION}
CATEGORIES= sysutils
MASTER_SITES= http://bits.xensource.com/oss-xen/release/${VERSION}/
DISTFILES= ${DISTNAME}.tar.gz
DISTFILES+= ipxe-git-v${VERSION_IPXE}.tar.gz
SITES.ipxe-git-v${VERSION_IPXE}.tar.gz += http://xenbits.xensource.com/xen-extfiles/
MAINTAINER= sborrill@NetBSD.org
HOMEPAGE= http://xen.org/
COMMENT= Xenstore Tools for Xen 4.1.x
LICENSE= gnu-gpl-v2
DISTINFO_FILE= ${.CURDIR}/../xentools41/distinfo
PATCHDIR= ${.CURDIR}/../xentools41/patches
BUILD_DIRS= xenstore
BUILD_TARGET= clients
INSTALL_TARGET= installclients
INSTALL_DIRS= xenstore
PKG_SYSCONFSUBDIR= xen
WRKSRC= ${WRKDIR}/xen-${VERSION}/tools
ONLY_FOR_PLATFORM= Linux-2.6*-i386 Linux-2.6*-x86_64
ONLY_FOR_PLATFORM+= NetBSD-[5-9].*-x86_64 NetBSD-[5-9].*-i386
CONFLICTS+= libxen-[0-9]*
CONFLICTS+= xentools20-[0-9]*
CONFLICTS+= xentools3*
CONFLICTS+= xentools4*
USE_TOOLS+= gmake
MAKE_ENV+= PREFIX=${prefix:Q} WRKSRC=${WRKSRC}
MAKE_ENV+= MV=${MV:Q} PYTHON=${PYTHONBIN:Q} SED=${SED:Q}
MAKE_ENV+= VARBASE=${VARBASE}
RCD_SCRIPTS= xendomname
FILES_SUBST+= PREFIX=${PREFIX:Q}
.include "../../mk/bsd.prefs.mk"
INSTALLATION_DIRS= bin lib
pre-build:
${LN} -s ../../xen/include/public ${WRKSRC}/xenstore/xen
.include "../../mk/bsd.pkg.mk"