summaryrefslogtreecommitdiff
path: root/emulators/MAMEDiff/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 19:21:37 +0000
committerjlam <jlam>2008-03-03 19:21:37 +0000
commitcdc5e6dd9688136784a32410486ee5582c6bea45 (patch)
treec5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/MAMEDiff/Makefile
parent10c92f44a52d654ee28ddd9184c9ea6d81284467 (diff)
downloadpkgsrc-cdc5e6dd9688136784a32410486ee5582c6bea45.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/Makefile')
-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"