summaryrefslogtreecommitdiff
path: root/emulators/gnuboy
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
commit06d9c7dce41f5c7499b62388c5645696eb42c1a4 (patch)
treec5e0c30c0b353fd2092305665ed106c2ef4ca346 /emulators/gnuboy
parentd21f8cb7ef167c68991b38b87d2a2d12b1189509 (diff)
downloadpkgsrc-06d9c7dce41f5c7499b62388c5645696eb42c1a4.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'emulators/gnuboy')
-rw-r--r--emulators/gnuboy/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/emulators/gnuboy/Makefile b/emulators/gnuboy/Makefile
index 1aebc3969c2..5eaa5d57d50 100644
--- a/emulators/gnuboy/Makefile
+++ b/emulators/gnuboy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2007/11/25 11:52:44 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/03 19:21:38 jlam Exp $
DISTNAME= gnuboy-1.0.3
PKGREVISION= 2
@@ -9,18 +9,20 @@ MAINTAINER= njl@sdf.lonestar.org
#HOMEPAGE= http://gnuboy.unix-fu.org/
COMMENT= Gameboy emulator
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnuboy
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gnuboy
- ${INSTALL_PROGRAM} ${WRKSRC}/xgnuboy ${PREFIX}/bin/
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/gnuboy
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/gnuboy
+ ${INSTALL_PROGRAM} ${WRKSRC}/xgnuboy ${DESTDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/etc/sample.rc \
- ${PREFIX}/share/examples/gnuboy/
+ ${DESTDIR}${PREFIX}/share/examples/gnuboy/
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/docs/* \
- ${PREFIX}/share/doc/gnuboy/
+ ${DESTDIR}${PREFIX}/share/doc/gnuboy/
BUILDLINK_DEPMETHOD.libXt?= build