summaryrefslogtreecommitdiff
path: root/games
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
parent10abca39942a8f34d088f39ccc073fee44271274 (diff)
downloadpkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz
Add DESTDIR support.
Diffstat (limited to 'games')
-rw-r--r--games/anise/Makefile3
-rw-r--r--games/asc/Makefile6
-rw-r--r--games/baduki/distinfo3
-rw-r--r--games/baduki/patches/patch-ab25
-rw-r--r--games/billardgl/Makefile6
-rw-r--r--games/billardgl/distinfo4
-rw-r--r--games/billardgl/patches/patch-aa14
-rw-r--r--games/blindmine/Makefile23
-rw-r--r--games/blobwars/Makefile6
-rw-r--r--games/bomberclone/Makefile10
-rw-r--r--games/gate88/Makefile22
-rw-r--r--games/gbrainy/Makefile7
-rw-r--r--games/gcompris/Makefile4
-rw-r--r--games/gemdropx/Makefile9
-rw-r--r--games/genecys-client/Makefile4
-rw-r--r--games/ggz-client-libs/Makefile4
-rw-r--r--games/glchess/Makefile30
-rw-r--r--games/glickomania/Makefile4
-rw-r--r--games/gltron/Makefile4
-rw-r--r--games/gnuchess/Makefile8
-rw-r--r--games/gnuchess4/Makefile6
-rw-r--r--games/gnuchess4/distinfo4
-rw-r--r--games/gnuchess4/patches/patch-ae46
-rw-r--r--games/gnugo/Makefile4
-rw-r--r--games/grhino/Makefile4
-rw-r--r--games/gtetrinet/Makefile4
-rw-r--r--games/newvox/Makefile4
-rw-r--r--games/pytraffic/Makefile4
-rw-r--r--games/qonk/Makefile4
-rw-r--r--games/quake6/Makefile4
-rw-r--r--games/quakeforge/Makefile4
-rw-r--r--games/quarry/Makefile4
-rw-r--r--games/scummvm/Makefile4
-rw-r--r--games/simgear/Makefile4
-rw-r--r--games/sirius/Makefile4
-rw-r--r--games/six/Makefile4
-rw-r--r--games/spaceracer/Makefile4
-rw-r--r--games/spider/Makefile4
-rw-r--r--games/wesnoth/Makefile6
-rw-r--r--games/xdemineur/Makefile4
-rw-r--r--games/xemeraldia/Makefile4
41 files changed, 220 insertions, 106 deletions
diff --git a/games/anise/Makefile b/games/anise/Makefile
index a4fdfc1b7f4..48dcc64cf06 100644
--- a/games/anise/Makefile
+++ b/games/anise/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/07/22 04:46:15 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/20 01:09:19 joerg Exp $
#
DISTNAME= anise-beta10-20040307-linux
@@ -12,6 +12,7 @@ HOMEPAGE= http://www.tomyun.pe.kr/projectanise/
COMMENT= Adventure game scripting engine
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
diff --git a/games/asc/Makefile b/games/asc/Makefile
index 2a6f3a00fb9..c4d34641879 100644
--- a/games/asc/Makefile
+++ b/games/asc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2007/09/25 10:07:06 hira Exp $
+# $NetBSD: Makefile,v 1.40 2008/06/20 01:09:19 joerg Exp $
DISTNAME= asc-source-1.16.4.0
PKGNAME= ${DISTNAME:S/-source//}
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.asc-hq.org/
COMMENT= Turn based strategy game
+PKG_DESTDIR_SUPPORT= user-destdir
+
DIST_SUBDIR= asc
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} frontiers.mp3 \
machine_wars.mp3 time_to_strike.mp3
@@ -34,7 +36,7 @@ post-extract:
# bug in 1.16.4.0, remove on update
post-install:
- ${INSTALL_DATA} ${WRKSRC}/data/asc.gfx ${PREFIX}/share/games/asc
+ ${INSTALL_DATA} ${WRKSRC}/data/asc.gfx ${DESTDIR}${PREFIX}/share/games/asc
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../audio/SDL_mixer/buildlink3.mk"
diff --git a/games/baduki/distinfo b/games/baduki/distinfo
index 536a85cc9c0..c6d0bdb563c 100644
--- a/games/baduki/distinfo
+++ b/games/baduki/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 23:11:54 agc Exp $
+$NetBSD: distinfo,v 1.7 2008/06/20 01:09:19 joerg Exp $
SHA1 (baduki-0.2.9.tar.gz) = a70a2c11b66b97bae979f597de831a99d6c8121f
RMD160 (baduki-0.2.9.tar.gz) = 11d23b04378cc13fd00ed713bd75c8a2610e4ba2
Size (baduki-0.2.9.tar.gz) = 193558 bytes
SHA1 (patch-aa) = f32188af5a36a51239057212a2a76821d5dfb2c4
+SHA1 (patch-ab) = 2680ec4215f8806fcc96e72bfdc20aac2ddd86c9
SHA1 (patch-ad) = c65aac612e200bbaf10ee57f6bd4bbd1fd6b4653
diff --git a/games/baduki/patches/patch-ab b/games/baduki/patches/patch-ab
new file mode 100644
index 00000000000..883ba58dcd9
--- /dev/null
+++ b/games/baduki/patches/patch-ab
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.4 2008/06/20 01:10:02 joerg Exp $
+
+--- po/Makefile.in.in.orig 2008-06-19 13:51:20.000000000 +0000
++++ po/Makefile.in.in
+@@ -111,16 +111,16 @@ install-data: install-data-@USE_NLS@
+ install-data-no: all
+ install-data-yes: all
+ if test -r "$(MKINSTALLDIRS)"; then \
+- $(MKINSTALLDIRS) $(datadir); \
++ $(MKINSTALLDIRS) ${DESTDIR}$(datadir); \
+ else \
+- $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
++ $(SHELL) $(top_srcdir)/mkinstalldirs ${DESTDIR}$(datadir); \
+ fi
+ @catalogs='$(CATALOGS)'; \
+ for cat in $$catalogs; do \
+ cat=`basename $$cat`; \
+ case "$$cat" in \
+- *.gmo) destdir=$(gnulocaledir);; \
+- *) destdir=$(localedir);; \
++ *.gmo) destdir=${DESTDIR}$(gnulocaledir);; \
++ *) destdir=${DESTDIR}$(localedir);; \
+ esac; \
+ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \
+ dir=$$destdir/$$lang/LC_MESSAGES; \
diff --git a/games/billardgl/Makefile b/games/billardgl/Makefile
index 68da38a9e1e..9828b2bd3b5 100644
--- a/games/billardgl/Makefile
+++ b/games/billardgl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2008/05/26 02:13:19 joerg Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/20 01:09:19 joerg Exp $
#
DISTNAME= BillardGL-1.75
@@ -11,6 +11,8 @@ MAINTAINER= wojtek@3miasto.net
HOMEPAGE= http://www.tobias-nopper.de/BillardGL/
COMMENT= 3D Billard using OpenGL hardware acceleration
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_DIRS= src
USE_LANGUAGES= c c++
USE_TOOLS+= gmake imake pax
@@ -29,6 +31,8 @@ SUBST_MESSAGE.d2u= Removing CR end-of-line markers.
SUBST_FILES.d2u= src/*.h src/*.cpp
SUBST_FILTER_CMD.d2u= ${TR} -d '\r'
+INSTALLATION_DIRS= bin
+
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/glut/buildlink3.mk"
diff --git a/games/billardgl/distinfo b/games/billardgl/distinfo
index ab42eeecf3b..0e763146218 100644
--- a/games/billardgl/distinfo
+++ b/games/billardgl/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2006/06/11 12:56:19 joerg Exp $
+$NetBSD: distinfo,v 1.6 2008/06/20 01:09:19 joerg Exp $
SHA1 (BillardGL-1.75.tar.gz) = b1e3c044a500cf1331ae392c861f8d8402f1806e
RMD160 (BillardGL-1.75.tar.gz) = 11586d3c887367e3137e2d498e9ff729156cf233
Size (BillardGL-1.75.tar.gz) = 736295 bytes
-SHA1 (patch-aa) = 81ac4905541676489fd8c95a7639a331ae4c7287
+SHA1 (patch-aa) = 91430100e61cbb2ab0e3f61510397575b1aa393c
SHA1 (patch-ab) = 14f29c68ab5f365fa14218af41e651e19c23b273
diff --git a/games/billardgl/patches/patch-aa b/games/billardgl/patches/patch-aa
index f4bd5054b7f..852dc122468 100644
--- a/games/billardgl/patches/patch-aa
+++ b/games/billardgl/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2006/06/11 12:56:19 joerg Exp $
+$NetBSD: patch-aa,v 1.5 2008/06/20 01:09:19 joerg Exp $
--- src/Makefile.orig 2002-04-29 11:26:46.000000000 +0000
+++ src/Makefile
@@ -22,12 +22,12 @@ $NetBSD: patch-aa,v 1.4 2006/06/11 12:56:19 joerg Exp $
- -cp -R lang /usr/share/BillardGL
- -mkdir -p /usr/share/doc/packages/BillardGL
- -cp README /usr/share/doc/packages/BillardGL
-+ ${BSD_INSTALL_PROGRAM} BillardGL ${PREFIX}/bin/BillardGL
-+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/BillardGL
-+ ${PAX} -rw Texturen ${PREFIX}/share/BillardGL
-+ ${PAX} -rw lang ${PREFIX}/share/BillardGL
-+ ${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/doc/BillardGL
-+ ${BSD_INSTALL_DATA} README ${PREFIX}/share/doc/BillardGL/README
++ ${BSD_INSTALL_PROGRAM} BillardGL ${DESTDIR}${PREFIX}/bin/BillardGL
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/BillardGL
++ ${PAX} -rw Texturen ${DESTDIR}${PREFIX}/share/BillardGL
++ ${PAX} -rw lang ${DESTDIR}${PREFIX}/share/BillardGL
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/BillardGL
++ ${BSD_INSTALL_DATA} README ${DESTDIR}${PREFIX}/share/doc/BillardGL/README
uninstall:
-rm /usr/X11R6/bin/BillardGL
diff --git a/games/blindmine/Makefile b/games/blindmine/Makefile
index 7fd79330387..a4f57cd97dd 100644
--- a/games/blindmine/Makefile
+++ b/games/blindmine/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/06/12 16:28:07 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2008/06/20 01:09:19 joerg Exp $
#
DISTNAME= blindmine-0.3-src
@@ -12,6 +12,8 @@ MAINTAINER= fox9@netb.co.kr
HOMEPAGE= http://blindmine.kldp.net/
COMMENT= Minesweeper clone that you can play with your eyes closed
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${PKGBASE}
NO_CONFIGURE= yes
NO_BUILD= yes
@@ -24,24 +26,23 @@ SUBST_SED.path= -e 's,/usr/bin/env python,${PYTHONBIN},g'
PYCOMPILEALL= ${BUILDLINK_PREFIX.${PYPACKAGE}}/${PYLIB}/compileall.py
+INSTALLATION_DIRS= bin share/doc/blindmine share/blindmine/data
+
.include "../../devel/py-game/buildlink3.mk"
.include "../../lang/python/application.mk"
post-extract:
( ${ECHO} "#!${SH}"; \
- ${ECHO} "cd ${PREFIX}/share/${PKGBASE} && ${PYTHONBIN} blindmine.py > /dev/null" \
+ ${ECHO} "cd ${PREFIX}/share/blindmine && ${PYTHONBIN} blindmine.py > /dev/null" \
) > ${WRKSRC}/blindmine
${CHMOD} +x ${WRKSRC}/blindmine
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/blindmine ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE}
- ${INSTALL_DATA} ${WRKSRC}/howto.txt ${PREFIX}/share/doc/${PKGBASE}
- ${INSTALL_DATA_DIR} ${PREFIX}/share/${PKGBASE}
- ${INSTALL_DATA} ${WRKSRC}/*.py ${PREFIX}/share/${PKGBASE}
- ${INSTALL_DATA_DIR} ${PREFIX}/share/${PKGBASE}/data
- ${INSTALL_DATA} ${WRKSRC}/data/* ${PREFIX}/share/${PKGBASE}/data
- ${PYTHONBIN} ${PYCOMPILEALL} ${PREFIX}/share/${PKGBASE}
- ${PYTHONBIN} -O ${PYCOMPILEALL} ${PREFIX}/share/${PKGBASE}
+ ${INSTALL_SCRIPT} ${WRKSRC}/blindmine ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/howto.txt ${DESTDIR}${PREFIX}/share/doc/blindmine
+ ${INSTALL_DATA} ${WRKSRC}/*.py ${DESTDIR}${PREFIX}/share/blindmine
+ ${INSTALL_DATA} ${WRKSRC}/data/* ${DESTDIR}${PREFIX}/share/blindmine/data
+ ${PYTHONBIN} ${PYCOMPILEALL} ${DESTDIR}${PREFIX}/share/blindmine
+ ${PYTHONBIN} -O ${PYCOMPILEALL} ${DESTDIR}${PREFIX}/share/blindmine
.include "../../mk/bsd.pkg.mk"
diff --git a/games/blobwars/Makefile b/games/blobwars/Makefile
index ef024055928..efc50f148b2 100644
--- a/games/blobwars/Makefile
+++ b/games/blobwars/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/04/15 12:58:11 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2008/06/20 01:09:19 joerg Exp $
#
DISTNAME= blobwars-1.06-2
@@ -11,12 +11,16 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.parallelrealities.co.uk/blobWars.php
COMMENT= Blob Wars: Metal Blob Solid (platform shooter)
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c++
WRKSRC= ${WRKDIR}/blobwars-1.06
MAKE_FILE= makefile
USE_TOOLS+= gmake
USE_DIRS+= xdg-1.4
+INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
+
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/SDL_ttf/buildlink3.mk"
diff --git a/games/bomberclone/Makefile b/games/bomberclone/Makefile
index bb35b1225a8..3f841c60299 100644
--- a/games/bomberclone/Makefile
+++ b/games/bomberclone/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2007/07/08 09:45:47 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2008/06/20 01:09:19 joerg Exp $
DISTNAME= bomberclone-0.11.7
CATEGORIES= games
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.bomberclone.de/
COMMENT= Multi-player Bomberman clone
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= bomberclone-data-[0-9]*
BUILDLINK_TRANSFORM+= rm:-Werror
@@ -16,9 +18,9 @@ GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
post-install:
- ${RM} -fr ${PREFIX}/share/bomberclone/*/CVS
- ${RM} -fr ${PREFIX}/share/bomberclone/*/*/CVS
- ${RM} -fr ${PREFIX}/share/bomberclone/*/*/*/CVS
+ ${RM} -fr ${DESTDIR}${PREFIX}/share/bomberclone/*/CVS
+ ${RM} -fr ${DESTDIR}${PREFIX}/share/bomberclone/*/*/CVS
+ ${RM} -fr ${DESTDIR}${PREFIX}/share/bomberclone/*/*/*/CVS
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
diff --git a/games/gate88/Makefile b/games/gate88/Makefile
index 95179258999..9f6dbe931c1 100644
--- a/games/gate88/Makefile
+++ b/games/gate88/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/03/14 01:01:56 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/20 01:09:19 joerg Exp $
#
DISTNAME= Gate88_Mar19_05
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.queasygames.com/gate88/
COMMENT= Deep space intergalactic battle
+PKG_DESTDIR_SUPPORT= user-destdir
+
EMUL_PLATFORMS= linux-i386
EMUL_MODULES.linux= base x11
@@ -31,21 +33,21 @@ do-build:
sed "s,@PREFIX@,${PREFIX}," files/gate88server > \
${WRKSRC}/gate88server.sh
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/gate88.sh ${PREFIX}/bin/gate88
- ${INSTALL_SCRIPT} ${WRKSRC}/gate88server.sh ${PREFIX}/bin/gate88server
- ${INSTALL_PROGRAM} ${WRKSRC}/gate88 ${PREFIX}/lib/gate88
+ ${INSTALL_SCRIPT} ${WRKSRC}/gate88.sh ${DESTDIR}${PREFIX}/bin/gate88
+ ${INSTALL_SCRIPT} ${WRKSRC}/gate88server.sh ${DESTDIR}${PREFIX}/bin/gate88server
+ ${INSTALL_PROGRAM} ${WRKSRC}/gate88 ${DESTDIR}${PREFIX}/lib/gate88
for i in audio.conf colours.conf debug.conf irc_client.conf \
irc_connection.conf masterserver.conf multiplayer.conf \
practice.conf server.conf textcolours.conf video.conf; do \
- ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/lib/gate88; \
+ ${INSTALL_DATA} ${WRKSRC}/$$i ${DESTDIR}${PREFIX}/lib/gate88; \
done
for i in LGPL_license.txt license.txt readme.txt manual.html; do \
- ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/gate88; \
+ ${INSTALL_DATA} ${WRKSRC}/$$i ${DESTDIR}${PREFIX}/share/doc/gate88; \
done
- ${INSTALL_LIB} ${WRKSRC}/lib/* ${PREFIX}/lib/gate88/lib
- ${INSTALL_DATA} ${WRKSRC}/music/*.ogg ${PREFIX}/lib/gate88/music
+ ${INSTALL_LIB} ${WRKSRC}/lib/* ${DESTDIR}${PREFIX}/lib/gate88/lib
+ ${INSTALL_DATA} ${WRKSRC}/music/*.ogg ${DESTDIR}${PREFIX}/lib/gate88/music
${INSTALL_DATA} ${WRKSRC}/music/non-ingame/*.ogg \
- ${PREFIX}/lib/gate88/music/non-ingame
- ${INSTALL_DATA} ${WRKSRC}/sound/* ${PREFIX}/lib/gate88/sound
+ ${DESTDIR}${PREFIX}/lib/gate88/music/non-ingame
+ ${INSTALL_DATA} ${WRKSRC}/sound/* ${DESTDIR}${PREFIX}/lib/gate88/sound
.include "../../mk/bsd.pkg.mk"
diff --git a/games/gbrainy/Makefile b/games/gbrainy/Makefile
index 8a6a52c2460..79f2930f1a2 100644
--- a/games/gbrainy/Makefile
+++ b/games/gbrainy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/04/27 23:09:53 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/20 01:09:19 joerg Exp $
#
DISTNAME= gbrainy-0.60
@@ -14,9 +14,12 @@ GNU_CONFIGURE= yes
USE_DIRS+= xdg-1.4
USE_LIBTOOL= yes
USE_LANGUAGES= c
-USE_TOOLS+= intltool pkg-config
+USE_TOOLS+= intltool pkg-config bash:run
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.2.0
+
+REPLACE_BASH= src/gbrainy.in
+
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/mono/buildlink3.mk"
diff --git a/games/gcompris/Makefile b/games/gcompris/Makefile
index 00b099cf6cf..0c1c7d9a468 100644
--- a/games/gcompris/Makefile
+++ b/games/gcompris/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2008/03/06 14:53:50 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/20 01:09:20 joerg Exp $
DISTNAME= gcompris-8.4.4
PKGREVISION= 1
@@ -9,6 +9,8 @@ MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://ofset.sourceforge.net/gcompris/
COMMENT= Educational games for children
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake intltool gtar pkg-config msgfmt texi2html
GNU_CONFIGURE= YES
USE_PKGLOCALEDIR= YES
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"
diff --git a/games/genecys-client/Makefile b/games/genecys-client/Makefile
index 6c2fd9c7ff1..322b9b5d179 100644
--- a/games/genecys-client/Makefile
+++ b/games/genecys-client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/06/11 21:45:43 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2008/06/20 01:09:20 joerg Exp $
#
DISTNAME= genecys-0.2
@@ -11,6 +11,8 @@ MAINTAINER= root@garbled.net
HOMEPAGE= http://www.genecys.org/
COMMENT= Client for Genecys MMORPG
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= genecys-data>=0.2:../../games/genecys-data
GNU_CONFIGURE= yes
diff --git a/games/ggz-client-libs/Makefile b/games/ggz-client-libs/Makefile
index b69f5bd142b..8f92a105fa1 100644
--- a/games/ggz-client-libs/Makefile
+++ b/games/ggz-client-libs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/05/24 09:27:49 obache Exp $
+# $NetBSD: Makefile,v 1.5 2008/06/20 01:09:20 joerg Exp $
#
DISTNAME= ggz-client-libs-0.0.14.1
@@ -10,6 +10,8 @@ MAINTAINER= mrohrer@users.sourceforge.net
HOMEPAGE= http://www.ggzgamingzone.org/
COMMENT= GGZ Gaming Zone libraries
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_DIRS+= xdg-1.4
USE_LIBTOOL= yes
diff --git a/games/glchess/Makefile b/games/glchess/Makefile
index 96f339aea32..c9ece21b8d2 100644
--- a/games/glchess/Makefile
+++ b/games/glchess/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/03/04 21:29:41 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2008/06/20 01:09:20 joerg Exp $
#
DISTNAME= glchess-0.4.7
@@ -14,22 +14,24 @@ USE_TOOLS+= automake
GNU_CONFIGURE= YES
INSTALL_DIRS= ${WRKSRC}/src ${WRKSRC}/man ${WRKSRC}/textures
+INSTALLATION_DIRS= etc
+
pre-configure:
- cd ${WRKSRC} && \
- aclocal && \
- automake --add-missing && \
- autoconf && \
- ${CP} glchessrc glchessrc.dist && \
- ${SED} -e 's|/usr/local/share/games|${PREFIX}/share|g' \
- < glchessrc.dist > glchessrc && \
- ${CP} src/config.c src/config.c.dist && \
- ${SED} -e 's|/etc|${PKG_SYSCONFDIR}|g' \
- -e 's|@PKGETC@|${PREFIX}/etc|g' \
- < src/config.c.dist > src/config.c
+ cd ${WRKSRC} && \
+ aclocal && \
+ automake --add-missing && \
+ autoconf && \
+ ${CP} glchessrc glchessrc.dist && \
+ ${SED} -e 's|/usr/local/share/games|${PREFIX}/share|g' \
+ < glchessrc.dist > glchessrc && \
+ ${CP} src/config.c src/config.c.dist && \
+ ${SED} -e 's|/etc|${PKG_SYSCONFDIR}|g' \
+ -e 's|@PKGETC@|${PREFIX}/etc|g' \
+ < src/config.c.dist > src/config.c
post-install:
- ${INSTALL_DATA} ${WRKSRC}/glchessrc \
- ${PREFIX}/etc/glchessrc.default
+ ${INSTALL_DATA} ${WRKSRC}/glchessrc \
+ ${DESTDIR}${PREFIX}/etc/glchessrc.default
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
diff --git a/games/glickomania/Makefile b/games/glickomania/Makefile
index 0b8b210f7ca..c7b584e82bc 100644
--- a/games/glickomania/Makefile
+++ b/games/glickomania/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/12/18 01:36:45 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2008/06/20 01:09:20 joerg Exp $
#
DISTNAME= glickomania-1.0
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://hibase.cs.hut.fi/~cessu/glickomania/
COMMENT= Clear a board by removing groups of identical, adjacent tiles
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
.include "../../x11/gtk/buildlink3.mk"
diff --git a/games/gltron/Makefile b/games/gltron/Makefile
index 95c4a4f0ed3..0ef6ca06bc2 100644
--- a/games/gltron/Makefile
+++ b/games/gltron/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2008/04/29 08:19:36 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2008/06/20 01:09:20 joerg Exp $
#
DISTNAME= gltron-0.70-source
@@ -11,6 +11,8 @@ MAINTAINER= cube@NetBSD.org
HOMEPAGE= http://gltron.sourceforge.net/
COMMENT= 3D lightcycle game inspired by the movie Tron
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LANGUAGES= c c++
GNU_CONFIGURE= YES
diff --git a/games/gnuchess/Makefile b/games/gnuchess/Makefile
index 09f528dba24..96efaf048ee 100644
--- a/games/gnuchess/Makefile
+++ b/games/gnuchess/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2007/02/22 19:26:30 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2008/06/20 01:09:20 joerg Exp $
DISTNAME= gnuchess-5.07
PKGREVISION= 3
@@ -10,6 +10,7 @@ HOMEPAGE= http://www.gnu.org/software/chess/chess.html
COMMENT= GNU chess engine
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_TOOLS+= flex gmake
@@ -30,9 +31,10 @@ SUBST_STAGE.paths= post-patch
SUBST_FILES.paths= src/book.h
SUBST_SED.paths= -e 's,/usr/lib/games/,${LOCALBASE}/lib/,g' \
+INSTALLATION_DIRS= ${DOCDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/README ${DOCDIR}
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/README ${DESTDIR}${DOCDIR}
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
diff --git a/games/gnuchess4/Makefile b/games/gnuchess4/Makefile
index c42ad1e4e9f..d6734e5e7ca 100644
--- a/games/gnuchess4/Makefile
+++ b/games/gnuchess4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2007/03/24 19:21:23 joerg Exp $
+# $NetBSD: Makefile,v 1.14 2008/06/20 01:09:20 joerg Exp $
DISTNAME= gnuchess-4.0.pl80
PKGNAME= gnuchess4-4.0.80
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/chess/chess.html
COMMENT= The "classic" GNU chess
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= gnuchess-4.*
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
@@ -23,6 +25,6 @@ post-install:
cd ${WRKSRC}/doc; ${INSTALL_DATA} \
ARTICLE ARTICLE.2 CHESSTOOL FAQ HEURISTICS MOVE-GEN \
README.font README.output \
- ${PREFIX}/share/doc/gnuchess4
+ ${DESTDIR}${PREFIX}/share/doc/gnuchess4
.include "../../mk/bsd.pkg.mk"
diff --git a/games/gnuchess4/distinfo b/games/gnuchess4/distinfo
index a33547aa026..620bf48aa06 100644
--- a/games/gnuchess4/distinfo
+++ b/games/gnuchess4/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2005/12/19 17:29:34 joerg Exp $
+$NetBSD: distinfo,v 1.7 2008/06/20 01:09:20 joerg Exp $
SHA1 (gnuchess-4.0.pl80.tar.gz) = 0c581be2e7b6b17524e288e105a468a7ca328c8b
RMD160 (gnuchess-4.0.pl80.tar.gz) = 889510f73c3e5143fc312c010e8324e68c11dcdc
@@ -7,5 +7,5 @@ SHA1 (patch-aa) = 01c1e61f491199bdf8c70d72712ab5ec41d85ab2
SHA1 (patch-ab) = dd15478800a18d5a43b8f03b3f3b57b09162f4f8
SHA1 (patch-ac) = 2d2ad394545b4eb4285389642c84872d4e0d9a25
SHA1 (patch-ad) = 1fc8df5f7b34fd82fb43de71cdaf01ff5f72d51a
-SHA1 (patch-ae) = 31ed0b133d10457b89eaa09e56cdbd5b3a1b382b
+SHA1 (patch-ae) = 5b112b5d9c3d26adef170e12e29734a9eecc6245
SHA1 (patch-af) = 220b368a8d2274419c9d173433a956ab5c0c96b4
diff --git a/games/gnuchess4/patches/patch-ae b/games/gnuchess4/patches/patch-ae
index 7fe5fdb6ca0..ee452628d15 100644
--- a/games/gnuchess4/patches/patch-ae
+++ b/games/gnuchess4/patches/patch-ae
@@ -1,4 +1,4 @@
-$NetBSD: patch-ae,v 1.3 2005/11/03 22:01:10 rillig Exp $
+$NetBSD: patch-ae,v 1.4 2008/06/20 01:09:20 joerg Exp $
--- src/Makefile.in.orig Sun Sep 27 23:41:13 1998
+++ src/Makefile.in Sun Mar 26 16:15:23 2000
@@ -20,24 +20,34 @@ $NetBSD: patch-ae,v 1.3 2005/11/03 22:01:10 rillig Exp $
- $(INSTALL) gnuchessn $(BINDIR)/gnuchessn
- $(INSTALL) gnuchessx $(BINDIR)/gnuchessx
- $(INSTALL) gnuchessc $(BINDIR)/gnuchessc
-+ $(INSTALL) gnuchess $(BINDIR)/gnuchess4
-+ $(INSTALL) gnuchessr $(BINDIR)/gnuchessr4
-+ $(INSTALL) gnuchessn $(BINDIR)/gnuchessn4
-+ $(INSTALL) gnuchessx $(BINDIR)/gnuchessx4
-+ $(INSTALL) gnuchessc $(BINDIR)/gnuchessc4
- $(INSTALL) postprint $(BINDIR)/postprint
- $(INSTALL) gnuan $(BINDIR)/gnuan
- $(INSTALL) game $(BINDIR)/game
-+ mkdir $(LIBDIR)
- $(INSTALL) $(srcdir)/../misc/gnuchess.lang $(LIBDIR)/gnuchess.lang
- $(INSTALL) $(srcdir)/../book/eco.pgn $(LIBDIR)/eco.pgn
- $(INSTALL) gnuchess.data $(LIBDIR)/gnuchess.data
- $(INSTALL) gnuchess.eco $(LIBDIR)/gnuchess.eco
- $(INSTALL_DATA) $(srcdir)/../doc/game.6 $(MANDIR)/game.6
- $(INSTALL_DATA) $(srcdir)/../doc/gnuan.6 $(MANDIR)/gnuan.6
+- $(INSTALL) postprint $(BINDIR)/postprint
+- $(INSTALL) gnuan $(BINDIR)/gnuan
+- $(INSTALL) game $(BINDIR)/game
+- $(INSTALL) $(srcdir)/../misc/gnuchess.lang $(LIBDIR)/gnuchess.lang
+- $(INSTALL) $(srcdir)/../book/eco.pgn $(LIBDIR)/eco.pgn
+- $(INSTALL) gnuchess.data $(LIBDIR)/gnuchess.data
+- $(INSTALL) gnuchess.eco $(LIBDIR)/gnuchess.eco
+- $(INSTALL_DATA) $(srcdir)/../doc/game.6 $(MANDIR)/game.6
+- $(INSTALL_DATA) $(srcdir)/../doc/gnuan.6 $(MANDIR)/gnuan.6
- $(INSTALL_DATA) $(srcdir)/../doc/gnuchess.6 $(MANDIR)/gnuchess.6
-+ $(INSTALL_DATA) $(srcdir)/../doc/gnuchess.6 $(MANDIR)/gnuchess4.6
- $(INSTALL_DATA) $(srcdir)/../doc/postprint.6 $(MANDIR)/postprint.6
+- $(INSTALL_DATA) $(srcdir)/../doc/postprint.6 $(MANDIR)/postprint.6
++ $(INSTALL) gnuchess ${DESTDIR}$(BINDIR)/gnuchess4
++ $(INSTALL) gnuchessr ${DESTDIR}$(BINDIR)/gnuchessr4
++ $(INSTALL) gnuchessn ${DESTDIR}$(BINDIR)/gnuchessn4
++ $(INSTALL) gnuchessx ${DESTDIR}$(BINDIR)/gnuchessx4
++ $(INSTALL) gnuchessc ${DESTDIR}$(BINDIR)/gnuchessc4
++ $(INSTALL) postprint ${DESTDIR}$(BINDIR)/postprint
++ $(INSTALL) gnuan ${DESTDIR}$(BINDIR)/gnuan
++ $(INSTALL) game ${DESTDIR}$(BINDIR)/game
++ mkdir ${DESTDIR}$(LIBDIR)
++ $(INSTALL) $(srcdir)/../misc/gnuchess.lang ${DESTDIR}$(LIBDIR)/gnuchess.lang
++ $(INSTALL) $(srcdir)/../book/eco.pgn ${DESTDIR}$(LIBDIR)/eco.pgn
++ $(INSTALL) gnuchess.data ${DESTDIR}$(LIBDIR)/gnuchess.data
++ $(INSTALL) gnuchess.eco ${DESTDIR}$(LIBDIR)/gnuchess.eco
++ $(INSTALL_DATA) $(srcdir)/../doc/game.6 ${DESTDIR}$(MANDIR)/game.6
++ $(INSTALL_DATA) $(srcdir)/../doc/gnuan.6 ${DESTDIR}$(MANDIR)/gnuan.6
++ $(INSTALL_DATA) $(srcdir)/../doc/gnuchess.6 ${DESTDIR}$(MANDIR)/gnuchess4.6
++ $(INSTALL_DATA) $(srcdir)/../doc/postprint.6 ${DESTDIR}$(MANDIR)/postprint.6
uninstall:
- rm -f $(BINDIR)/gnuchess
diff --git a/games/gnugo/Makefile b/games/gnugo/Makefile
index efcbec84ec0..ae0b1b78cb9 100644
--- a/games/gnugo/Makefile
+++ b/games/gnugo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/04/04 14:45:44 jlam Exp $
+# $NetBSD: Makefile,v 1.23 2008/06/20 01:09:20 joerg Exp $
DISTNAME= gnugo-3.6
PKGREVISION= 1
@@ -9,6 +9,8 @@ MAINTAINER= bad@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/gnugo/
COMMENT= Go playing program
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
INFO_FILES= # PLIST
diff --git a/games/grhino/Makefile b/games/grhino/Makefile
index dc918c68c31..e250de0dd61 100644
--- a/games/grhino/Makefile
+++ b/games/grhino/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2008/04/29 19:13:04 drochner Exp $
+# $NetBSD: Makefile,v 1.36 2008/06/20 01:09:20 joerg Exp $
#
DISTNAME= grhino-0.16.0
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://rhino.sourceforge.net/
COMMENT= Othello (Reversi) engine
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config msgfmt
GNU_CONFIGURE= yes
diff --git a/games/gtetrinet/Makefile b/games/gtetrinet/Makefile
index 0deea94df6f..0490783f976 100644
--- a/games/gtetrinet/Makefile
+++ b/games/gtetrinet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2008/03/06 14:53:50 wiz Exp $
+# $NetBSD: Makefile,v 1.43 2008/06/20 01:09:20 joerg Exp $
#
DISTNAME= gtetrinet-0.7.11
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gtetrinet.sourceforge.net/
COMMENT= Multiplayer tetris game for GNOME2
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_DIRS+= gnome2-1.5
USE_TOOLS+= gmake intltool msgfmt pkg-config
diff --git a/games/newvox/Makefile b/games/newvox/Makefile
index 842d87d0731..0627d413bef 100644
--- a/games/newvox/Makefile
+++ b/games/newvox/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/06/12 16:28:10 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2008/06/20 01:09:20 joerg Exp $
#
DISTNAME= newvox-1.0
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.libsdl.org/projects/newvox/index.html
COMMENT= Voxel-style landscape rendering fly-by
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
LIBS.SunOS+= -lm
diff --git a/games/pytraffic/Makefile b/games/pytraffic/Makefile
index 95f7fde5b1e..ac6098c1be0 100644
--- a/games/pytraffic/Makefile
+++ b/games/pytraffic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2007/09/21 13:03:44 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/06/20 01:09:20 joerg Exp $
#
DISTNAME= pytraffic-2.5.4
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://alpha.uhasselt.be/Research/Algebra/Members/pytraffic/
COMMENT= Computer version of a popular board game
+PKG_DESTDIR_SUPPORT= user-destdir
+
# pytraffic-2.5.4 distfile was changed after release
DIST_SUBDIR= pytraffic-2.5.4-070313
diff --git a/games/qonk/Makefile b/games/qonk/Makefile
index 59d740a98a3..afe79aadb5d 100644
--- a/games/qonk/Makefile
+++ b/games/qonk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/11/25 23:52:54 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/20 01:09:20 joerg Exp $
#
DISTNAME= qonk-0.3.1
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://qonk.sourceforge.net/
COMMENT= Small space build-and-conquer strategy game
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
diff --git a/games/quake6/Makefile b/games/quake6/Makefile
index cca9ebabbb8..37327d45bea 100644
--- a/games/quake6/Makefile
+++ b/games/quake6/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2007/11/17 13:40:16 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2008/06/20 01:09:20 joerg Exp $
DISTNAME= quake-v6-bsd-kame
PKGNAME= quake6-0.0
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.viagenie.qc.ca/en/ipv6-quake.shtml
COMMENT= Quake over IPv6
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= quakedata-[0-9]*:../../games/quakedata
WRKSRC= ${WRKDIR}/quakeforge
diff --git a/games/quakeforge/Makefile b/games/quakeforge/Makefile
index fe93391270e..b8dd6b70b44 100644
--- a/games/quakeforge/Makefile
+++ b/games/quakeforge/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2008/04/12 22:43:01 jlam Exp $
+# $NetBSD: Makefile,v 1.20 2008/06/20 01:09:20 joerg Exp $
DISTNAME= quakeforge-0.5.5
PKGREVISION= 7
@@ -9,6 +9,8 @@ MAINTAINER= snj@NetBSD.org
HOMEPAGE= http://www.quakeforge.net/
COMMENT= Improved Quake engine
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFIGURE_ARGS+= --with-cpp="${CPP} %d %i %o"
CONFIGURE_ARGS+= --disable-ogg
CONFIGURE_ARGS+= --disable-xmms
diff --git a/games/quarry/Makefile b/games/quarry/Makefile
index b9a460c16b4..e80033feb22 100644
--- a/games/quarry/Makefile
+++ b/games/quarry/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2008/03/13 16:06:16 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/20 01:09:20 joerg Exp $
#
DISTNAME= quarry-0.2.0
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://home.gna.org/quarry/index.html
COMMENT= Multi-purpose GUI for several board games
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_DIRS+= xdg-1.4
USE_PKGLOCALEDIR= yes
diff --git a/games/scummvm/Makefile b/games/scummvm/Makefile
index 784eb5e7eb5..3009899b9c2 100644
--- a/games/scummvm/Makefile
+++ b/games/scummvm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2008/04/05 17:08:41 adam Exp $
+# $NetBSD: Makefile,v 1.54 2008/06/20 01:09:20 joerg Exp $
DISTNAME= scummvm-0.11.1
CATEGORIES= games
@@ -9,6 +9,8 @@ MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://scummvm.sourceforge.net/
COMMENT= LucasArts Script Creation Utility for Maniac Mansion
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_DIRS+= xdg-1.1
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
diff --git a/games/simgear/Makefile b/games/simgear/Makefile
index 9f418b7f73d..38ed636cda0 100644
--- a/games/simgear/Makefile
+++ b/games/simgear/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2008/04/21 09:29:26 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2008/06/20 01:09:20 joerg Exp $
#
DISTNAME= SimGear-1.0.0
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.simgear.org/
COMMENT= Simulator Construction Tools
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
diff --git a/games/sirius/Makefile b/games/sirius/Makefile
index c16459cf59f..a3d69f4bc80 100644
--- a/games/sirius/Makefile
+++ b/games/sirius/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2008/03/06 14:53:50 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2008/06/20 01:09:20 joerg Exp $
#
DISTNAME= sirius-0.8.0
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sirius.bitvis.nu/
COMMENT= Othello game for GNOME2
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_DIRS+= xdg-1.1
USE_TOOLS+= gmake intltool msgfmt pkg-config
diff --git a/games/six/Makefile b/games/six/Makefile
index ef8349a9843..1b0f9380aa2 100644
--- a/games/six/Makefile
+++ b/games/six/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2008/03/04 11:02:24 rillig Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/20 01:09:20 joerg Exp $
#
DISTNAME= six-0.5.3
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://six.retes.hu/
COMMENT= Hex, a board game with very simple rules
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c c++
diff --git a/games/spaceracer/Makefile b/games/spaceracer/Makefile
index fbb6220072d..d705e49349b 100644
--- a/games/spaceracer/Makefile
+++ b/games/spaceracer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2008/03/04 11:02:24 rillig Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/20 01:09:20 joerg Exp $
#
DISTNAME= spaceracer-0.2.4
@@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://spaceracer.sourceforge.net/
COMMENT= 3D car racing game
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
diff --git a/games/spider/Makefile b/games/spider/Makefile
index 96ef112365e..d686d69c14c 100644
--- a/games/spider/Makefile
+++ b/games/spider/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2006/12/27 13:37:36 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2008/06/20 01:09:20 joerg Exp $
DISTNAME= spider
PKGNAME= spider-1.1
@@ -9,6 +9,8 @@ MASTER_SITES= ftp://ftp.uni-koeln.de/windows/xcontrib/
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Solitaire card game from xcontrib
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_IMAKE= yes
INSTALL_TARGET= install install.doc install.man
diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile
index da11c684893..37abc0baf53 100644
--- a/games/wesnoth/Makefile
+++ b/games/wesnoth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2008/05/20 11:43:59 wiz Exp $
+# $NetBSD: Makefile,v 1.46 2008/06/20 01:09:20 joerg Exp $
DISTNAME= wesnoth-1.4.2
CATEGORIES= games
@@ -9,6 +9,8 @@ MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.wesnoth.org/
COMMENT= Fantasy turn-based strategy game
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
CONFIGURE_ARGS+= --with-boost=${BUILDLINK_PREFIX.boost-libs}
@@ -44,7 +46,7 @@ REPLACE_RUBY= data/tools/terrain2wiki.rb
.include "../../lang/ruby/replace.mk"
post-install:
- ${RM} ${PREFIX}/share/wesnoth/icons/Makefile*
+ ${RM} ${DESTDIR}${PREFIX}/share/wesnoth/icons/Makefile*
BUILDLINK_API_DEPENDS.SDL_mixer+= SDL_mixer>=1.2.5nb3
.include "../../audio/SDL_mixer/buildlink3.mk"
diff --git a/games/xdemineur/Makefile b/games/xdemineur/Makefile
index 9c40ccbade5..d79db986d62 100644
--- a/games/xdemineur/Makefile
+++ b/games/xdemineur/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2007/12/02 00:02:07 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2008/06/20 01:09:21 joerg Exp $
#
DISTNAME= xdemineur-2.1.1
@@ -9,6 +9,8 @@ MASTER_SITES= ${MASTER_SITE_XCONTRIB:=games/}
MAINTAINER= bouyer@NetBSD.org
COMMENT= Minesweeper game for the X Window System
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_IMAKE= YES
.include "../../devel/sysexits/buildlink3.mk"
diff --git a/games/xemeraldia/Makefile b/games/xemeraldia/Makefile
index 7d93a6d7d20..638961fe426 100644
--- a/games/xemeraldia/Makefile
+++ b/games/xemeraldia/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2006/12/27 13:37:37 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2008/06/20 01:09:21 joerg Exp $
DISTNAME= xemeraldia-0.3
PKGNAME= xemeraldia-0.31
@@ -13,6 +13,8 @@ PATCH_DIST_STRIP= -p1
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Game of breaking blocks
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_IMAKE= yes
BUILD_TARGET= xemeraldia