summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjym <jym@pkgsrc.org>2011-11-20 03:21:37 +0000
committerjym <jym@pkgsrc.org>2011-11-20 03:21:37 +0000
commit406a63280616c939c7888c370af534089049edc8 (patch)
tree0e6f084add7055d4925369cd470908f02b7b0806 /sysutils
parentd2c83747c82821f1cdb5630da1896ac6935f9a27 (diff)
downloadpkgsrc-406a63280616c939c7888c370af534089049edc8.tar.gz
Add a MESSAGE so we can pinpoint to the right location for Xen. Add
license.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xenkernel33/MESSAGE7
-rw-r--r--sysutils/xenkernel33/Makefile13
2 files changed, 17 insertions, 3 deletions
diff --git a/sysutils/xenkernel33/MESSAGE b/sysutils/xenkernel33/MESSAGE
new file mode 100644
index 00000000000..29aa113d011
--- /dev/null
+++ b/sysutils/xenkernel33/MESSAGE
@@ -0,0 +1,7 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2011/11/20 03:21:37 jym Exp $
+
+The Xen hypervisor is installed under the following locations:
+ ${XENKERNELDIR}/xen.gz (standard hypervisor)
+ ${XENKERNELDIR}/xen-debug.gz (debug hypervisor)
+===========================================================================
diff --git a/sysutils/xenkernel33/Makefile b/sysutils/xenkernel33/Makefile
index 8d54fe025fa..567787c7958 100644
--- a/sysutils/xenkernel33/Makefile
+++ b/sysutils/xenkernel33/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2011/09/10 18:35:51 bouyer Exp $
+# $NetBSD: Makefile,v 1.16 2011/11/20 03:21:37 jym Exp $
#
VERSION= 3.3.2
@@ -13,6 +13,8 @@ MAINTAINER= cegger@NetBSD.org
HOMEPAGE= http://xen.org/
COMMENT= Xen 3.3.2 Kernel
+LICENSE= gnu-gpl-v2
+
PKG_DESTDIR_SUPPORT= user-destdir
ONLY_FOR_PLATFORM= Linux-2.6*-i386 Linux-2.6*-x86_64
@@ -43,6 +45,9 @@ SUBST_FILES.py2+= xen/tools/compat-build-header.py
SUBST_SED.py2= -e "s,/usr/bin/env python,${PYTHONBIN},g"
INSTALLATION_DIRS= xen3-kernel
+XENKERNELDIR= ${PREFIX}/${INSTALLATION_DIRS}
+
+MESSAGE_SUBST+= XENKERNELDIR=${XENKERNELDIR:Q}
do-build:
cd ${WRKSRC} && ${GMAKE} debug=n xen
@@ -51,8 +56,10 @@ do-build:
${CP} ${WRKSRC}/dist/install/boot/xen.gz ${WRKDIR}/xen-debug.gz
do-install:
- ${INSTALL_DATA} ${WRKDIR}/xen.gz ${DESTDIR}${PREFIX}/xen3-kernel/xen.gz
- ${INSTALL_DATA} ${WRKDIR}/xen-debug.gz ${DESTDIR}${PREFIX}/xen3-kernel/xen-debug.gz
+ ${INSTALL_DATA} ${WRKDIR}/xen.gz \
+ ${DESTDIR}${XENKERNELDIR}/xen.gz
+ ${INSTALL_DATA} ${WRKDIR}/xen-debug.gz \
+ ${DESTDIR}${XENKERNELDIR}/xen-debug.gz
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"