pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/nrg2iso Added support for installation to DES...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/79472aece465
branches:  trunk
changeset: 543286:79472aece465
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Thu Jun 12 20:44:52 2008 +0000

description:
Added support for installation to DESTDIR.

diffstat:

 sysutils/nrg2iso/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 72ac46e3193e -r 79472aece465 sysutils/nrg2iso/Makefile
--- a/sysutils/nrg2iso/Makefile Thu Jun 12 15:04:41 2008 +0000
+++ b/sysutils/nrg2iso/Makefile Thu Jun 12 20:44:52 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/03/04 21:30:42 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2008/06/12 20:44:52 heinz Exp $
 #
 
 DISTNAME=      nrg2iso-0.4
@@ -9,12 +9,13 @@
 HOMEPAGE=      http://gregory.kokanosky.free.fr/v4/linux/nrg2iso.en.html
 COMMENT=       Converts Nero Burning Roms to ISO images
 
+PKG_DESTDIR_SUPPORT=   user-destdir
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 
 
 INSTALLATION_DIRS=     bin
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/nrg2iso ${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/nrg2iso ${DESTDIR}${PREFIX}/bin
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index