summaryrefslogtreecommitdiff
path: root/games/gemdropx
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
commit3b0d97b0de8516db29699676c860489da3f7f0e1 (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /games/gemdropx
parent10abca39942a8f34d088f39ccc073fee44271274 (diff)
downloadpkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz
Add DESTDIR support.
Diffstat (limited to 'games/gemdropx')
-rw-r--r--games/gemdropx/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/games/gemdropx/Makefile b/games/gemdropx/Makefile
index 2e6f959fe02..cf7c8f24721 100644
--- a/games/gemdropx/Makefile
+++ b/games/gemdropx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2008/01/19 09:16:21 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2008/06/20 01:09:20 joerg Exp $
#
DISTNAME= gemdropx-0.9
@@ -10,8 +10,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.newbreedsoftware.com/gemdropx/
COMMENT= Color puzzle game for X11 similar to Gem Drop
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
+INSTALLATION_DIRS= bin
+
+INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} \
+ DATA_PREFIX=${DESTDIR}${PREFIX}/share/gemdropx
+
.include "../../devel/SDL/buildlink3.mk"
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"