summaryrefslogtreecommitdiff
path: root/emulators/darcnes
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/darcnes
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/darcnes')
-rw-r--r--emulators/darcnes/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/emulators/darcnes/Makefile b/emulators/darcnes/Makefile
index b03de6bcc9a..7cb7c75d812 100644
--- a/emulators/darcnes/Makefile
+++ b/emulators/darcnes/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2007/07/08 09:45:15 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2008/03/03 19:21:38 jlam Exp $
PKGNAME= darcnes-20010401
PKGREVISION= 3
@@ -6,14 +6,16 @@ PKGREVISION= 3
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Multi-system emulator (NES, SMS, GG, PCE, and others)
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_ENV+= TARGET=Linux_X
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/darcnes ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/darcnes
- ${INSTALL_MAN} ${WRKSRC}/readme ${PREFIX}/share/doc/darcnes
+ ${INSTALL_PROGRAM} ${WRKSRC}/darcnes ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/darcnes
+ ${INSTALL_MAN} ${WRKSRC}/readme ${DESTDIR}${PREFIX}/share/doc/darcnes
.include "Makefile.common"
.include "../../x11/libXaw/buildlink3.mk"