summaryrefslogtreecommitdiff
path: root/emulators/MAMEDiff
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/MAMEDiff
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/MAMEDiff')
-rw-r--r--emulators/MAMEDiff/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/emulators/MAMEDiff/Makefile b/emulators/MAMEDiff/Makefile
index 7ed9f58ae5b..3032d8cdb93 100644
--- a/emulators/MAMEDiff/Makefile
+++ b/emulators/MAMEDiff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/07/08 09:42:33 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2008/03/03 19:21:37 jlam Exp $
#
DISTNAME= mdiff226
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.logiqx.com/Tools/MAMEDiff/MAMEDiff.php
COMMENT= Compare MAME rom sets of different releases
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
WRKSRC= ${WRKDIR}
MAKE_FILE= makefile
@@ -22,9 +24,10 @@ post-extract:
${MKDIR} ${WRKSRC}/obj
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mamediff ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/MAMEDiff
- ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/MAMEDiff
+ ${INSTALL_PROGRAM} ${WRKSRC}/mamediff ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/MAMEDiff
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt \
+ ${DESTDIR}${PREFIX}/share/doc/MAMEDiff
.include "../../devel/zlib/buildlink3.mk"
.include "../../emulators/DatLib/buildlink3.mk"