# $NetBSD: Makefile,v 1.2 2012/02/24 15:26:28 drochner 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}/ 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_DESTDIR_SUPPORT= user-destdir 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"