summaryrefslogtreecommitdiff
path: root/emulators/hercules-images
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 19:21:37 +0000
committerjlam <jlam>2008-03-03 19:21:37 +0000
commit4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7 (patch)
treec5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/hercules-images
parent9bb1fb4eb3cd00b14bf35efc1f775513b341c2e6 (diff)
downloadpkgsrc-4bec39ccba022dfbd2daa6f6d25f7e86d987b4b7.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"