summaryrefslogtreecommitdiff
path: root/emulators/hercules-images
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 19:21:37 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 19:21:37 +0000
commit0bb78c6c9d3855e92497417696475484322d451c (patch)
treec5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/hercules-images
parent9bd3464e7e916d97f1e733a71b79c48999897987 (diff)
downloadpkgsrc-0bb78c6c9d3855e92497417696475484322d451c.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'emulators/hercules-images')
-rw-r--r--emulators/hercules-images/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/emulators/hercules-images/Makefile b/emulators/hercules-images/Makefile
index 48c17eae63a..6c4737499cf 100644
--- a/emulators/hercules-images/Makefile
+++ b/emulators/hercules-images/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/09/19 18:32:50 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/03 19:21:38 jlam Exp $
DISTNAME= mftr33
PKGNAME= hercules-images-20010222
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.conmicro.cx/hercules/
COMMENT= Images to IPL the Hercules emulator
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
NO_BUILD= yes
NO_CONFIGURE= yes
@@ -16,8 +18,9 @@ EXTRACT_ONLY=
USE_TOOLS+= gzcat pax
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/data/hercules
- cd ${PREFIX}/share/data/hercules && \
- (gzcat ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}; dd if=/dev/zero bs=10k count=2) | pax -O -r
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/data/hercules
+ cd ${DESTDIR}${PREFIX}/share/data/hercules && \
+ (gzcat ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}; \
+ dd if=/dev/zero bs=10k count=2) | pax -O -r
.include "../../mk/bsd.pkg.mk"