summaryrefslogtreecommitdiff
path: root/emulators/DatUtil
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/DatUtil
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/DatUtil')
-rw-r--r--emulators/DatUtil/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/emulators/DatUtil/Makefile b/emulators/DatUtil/Makefile
index 05e7761fb15..27576a1d81c 100644
--- a/emulators/DatUtil/Makefile
+++ b/emulators/DatUtil/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2007/07/30 18:55:51 wiz Exp $
+# $NetBSD: Makefile,v 1.24 2008/03/03 19:21:37 jlam Exp $
#
DISTNAME= dutil232
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.logiqx.com/Tools/DatUtil/DatUtil.php
COMMENT= Create and convert emulator rom checksum files
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}
MAKE_FILE= makefile
@@ -23,9 +25,9 @@ post-extract:
${MKDIR} ${WRKSRC}/obj
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/datutil ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/DatUtil
- ${INSTALL_DATA} ${WRKSRC}/*.txt ${PREFIX}/share/doc/DatUtil
+ ${INSTALL_PROGRAM} ${WRKSRC}/datutil ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/DatUtil
+ ${INSTALL_DATA} ${WRKSRC}/*.txt ${DESTDIR}${PREFIX}/share/doc/DatUtil
.include "../../devel/zlib/buildlink3.mk"
BUILDLINK_API_DEPENDS.DatLib+= DatLib>=2.21