pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/xenkernel20 user-destdir support, and add LIC...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/74f8ed8e055a
branches:  trunk
changeset: 572726:74f8ed8e055a
user:      jym <jym%pkgsrc.org@localhost>
date:      Mon Mar 08 01:19:42 2010 +0000

description:
user-destdir support, and add LICENSE (gnu-gpl-v2).

diffstat:

 sysutils/xenkernel20/Makefile |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 7188224e9808 -r 74f8ed8e055a sysutils/xenkernel20/Makefile
--- a/sysutils/xenkernel20/Makefile     Mon Mar 08 00:57:55 2010 +0000
+++ b/sysutils/xenkernel20/Makefile     Mon Mar 08 01:19:42 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/10/07 12:59:15 kano Exp $
+# $NetBSD: Makefile,v 1.6 2010/03/08 01:19:42 jym Exp $
 #
 
 DISTNAME=      xen-2.0.7-install-x86_32
@@ -7,6 +7,10 @@
 MASTER_SITES=  http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/
 EXTRACT_SUFX=  .tgz
 
+LICENSE=       gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT=user-destdir
+
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.NetBSD.org/ports/xen/
 COMMENT=       Xen Kernel
@@ -19,7 +23,8 @@
 NO_BUILD=      yes
 
 do-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/xen-kernel
-       ${INSTALL_DATA} ${WRKSRC}/install/boot/xen.gz ${PREFIX}/xen-kernel/xen.gz
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/xen-kernel
+       ${INSTALL_DATA} ${WRKSRC}/install/boot/xen.gz \
+                       ${DESTDIR}${PREFIX}/xen-kernel/xen.gz
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index