summaryrefslogtreecommitdiff
path: root/sysutils/mklivecd/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 19:27:24 +0000
committerjoerg <joerg>2010-01-27 19:27:24 +0000
commit6bef89132d300f87f5532b138dc2793aa9549ab2 (patch)
tree022ee234ba4218073c7d000b2a37bb57d463d791 /sysutils/mklivecd/Makefile
parent39be34707d2171d10e2e2b1a98554fe280b7467a (diff)
downloadpkgsrc-6bef89132d300f87f5532b138dc2793aa9549ab2.tar.gz
DESTDIR support
Diffstat (limited to 'sysutils/mklivecd/Makefile')
-rw-r--r--sysutils/mklivecd/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/mklivecd/Makefile b/sysutils/mklivecd/Makefile
index 8a2be64ed66..fa406335b0d 100644
--- a/sysutils/mklivecd/Makefile
+++ b/sysutils/mklivecd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2009/04/11 17:28:16 wiz Exp $
+# $NetBSD: Makefile,v 1.49 2010/01/27 19:27:24 joerg Exp $
DISTNAME= mklivecd-0.17
CATEGORIES= sysutils
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
#HOMEPAGE= http://www.netbsd.org/~xtraeme/mklivecd/
COMMENT= Make your own NetBSD/x86 Live CD-ROM/DVD-ROM
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
DEPENDS+= {cdrtools,cdrtools-ossdvd}-[0-9]*:../../sysutils/cdrtools
@@ -36,9 +38,9 @@ do-build:
.endfor
do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/mklivecd.sh ${PREFIX}/sbin/mklivecd
- ${INSTALL_MAN} ${WRKDIR}/mklivecd.8 ${PREFIX}/${PKGMANDIR}/man8
- ${INSTALL_DATA} ${WRKDIR}/livecd ${PREFIX}/share/mklivecd
- ${INSTALL_DATA} ${FILESDIR}/personal_config ${PREFIX}/share/mklivecd
+ ${INSTALL_SCRIPT} ${WRKDIR}/mklivecd.sh ${DESTDIR}${PREFIX}/sbin/mklivecd
+ ${INSTALL_MAN} ${WRKDIR}/mklivecd.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_DATA} ${WRKDIR}/livecd ${DESTDIR}${PREFIX}/share/mklivecd
+ ${INSTALL_DATA} ${FILESDIR}/personal_config ${DESTDIR}${PREFIX}/share/mklivecd
.include "../../mk/bsd.pkg.mk"