summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorwiz <wiz>2009-08-29 11:39:14 +0000
committerwiz <wiz>2009-08-29 11:39:14 +0000
commit8acd04cb176e39e7b924cd9af0011d25cc25d8f7 (patch)
tree54c6a16e6555b7322ee9af71a238851f0679fef2 /games
parent1edbc0766d76078803ac9f8d9aa02657280f972f (diff)
downloadpkgsrc-8acd04cb176e39e7b924cd9af0011d25cc25d8f7.tar.gz
Convert to user-destdir.
Diffstat (limited to 'games')
-rw-r--r--games/freesci/Makefile8
-rw-r--r--games/tileworld/Makefile4
-rw-r--r--games/tileworld/distinfo4
-rw-r--r--games/tileworld/patches/patch-aa32
4 files changed, 26 insertions, 22 deletions
diff --git a/games/freesci/Makefile b/games/freesci/Makefile
index 2086cd2a5a7..78384db8914 100644
--- a/games/freesci/Makefile
+++ b/games/freesci/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2009/07/22 09:01:28 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2009/08/29 11:39:14 wiz Exp $
#
DISTNAME= freesci-0.3.5
@@ -10,6 +10,8 @@ MAINTAINER= dillo@NetBSD.org
HOMEPAGE= http://freesci.linuxgames.com/
COMMENT= Interpreter for Sierra On-Line's SCI games
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
USE_TOOLS+= wish:run
@@ -22,8 +24,8 @@ REPLACE.wish.new= ${PREFIX}/bin/wish
REPLACE_FILES.wish= conf/freesci-setup
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/freesci
- ${INSTALL_DATA} ${FILESDIR}/config ${PREFIX}/share/examples/freesci
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/freesci
+ ${INSTALL_DATA} ${FILESDIR}/config ${DESTDIR}${PREFIX}/share/examples/freesci
.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
diff --git a/games/tileworld/Makefile b/games/tileworld/Makefile
index 202e2a09097..89151a361d0 100644
--- a/games/tileworld/Makefile
+++ b/games/tileworld/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2007/11/30 11:20:43 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2009/08/29 11:42:04 wiz Exp $
DISTNAME= tworld-1.3.0
PKGNAME= ${DISTNAME:S/^t/tile/}
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.muppetlabs.com/~breadbox/software/tworld/
COMMENT= "Game based on Chip's Challenge"
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= date gmake
GNU_CONFIGURE= YES
diff --git a/games/tileworld/distinfo b/games/tileworld/distinfo
index 2a88b3a503c..f66b0fe0e72 100644
--- a/games/tileworld/distinfo
+++ b/games/tileworld/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2007/11/30 11:20:43 wiz Exp $
+$NetBSD: distinfo,v 1.6 2009/08/29 11:42:04 wiz Exp $
SHA1 (tworld-1.3.0.tar.gz) = 21542cb012143d563232883d9337ed0e3bd06672
RMD160 (tworld-1.3.0.tar.gz) = c4cee133bf2d3e0df2bd31a49d46d1c6628ef9a8
Size (tworld-1.3.0.tar.gz) = 1045555 bytes
-SHA1 (patch-aa) = 3fcc14d03b35d52e15d0d4e61797bd052d413003
+SHA1 (patch-aa) = 5dddf8c3e64fdc77c28a29d423ea8505acd595c7
diff --git a/games/tileworld/patches/patch-aa b/games/tileworld/patches/patch-aa
index 69dbc4d8e23..8de57eeb1f3 100644
--- a/games/tileworld/patches/patch-aa
+++ b/games/tileworld/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2007/11/30 11:20:44 wiz Exp $
+$NetBSD: patch-aa,v 1.5 2009/08/29 11:42:04 wiz Exp $
--- Makefile.in.orig 2006-04-16 10:18:41.000000000 +0000
+++ Makefile.in
@@ -19,21 +19,21 @@ $NetBSD: patch-aa,v 1.4 2007/11/30 11:20:44 wiz Exp $
- cp -i res/*.txt $(sharedir)/res/.
- cp -i res/*.wav $(sharedir)/res/.
- cp -i docs/tworld.6 $(mandir)/man6/.
-+ ${BSD_INSTALL_DATA_DIR} $(bindir)
-+ ${BSD_INSTALL_DATA_DIR} $(sharedir)/sets
-+ ${BSD_INSTALL_DATA_DIR} $(sharedir)/data
-+ ${BSD_INSTALL_DATA_DIR} $(sharedir)/res
-+ ${BSD_INSTALL_DATA_DIR} $(prefix)/share/doc/tworld
-+ ${BSD_INSTALL_DATA_DIR} $(mandir)/man6
-+ ${BSD_INSTALL_PROGRAM} ./tworld $(bindir)/.
-+ ${BSD_INSTALL_DATA} sets/*.dac $(sharedir)/sets/.
-+ ${BSD_INSTALL_DATA} data/*.dat $(sharedir)/data/.
-+ ${BSD_INSTALL_DATA} res/rc $(sharedir)/res/.
-+ ${BSD_INSTALL_DATA} res/*.bmp $(sharedir)/res/.
-+ ${BSD_INSTALL_DATA} res/*.txt $(sharedir)/res/.
-+ ${BSD_INSTALL_DATA} res/*.wav $(sharedir)/res/.
-+ ${BSD_INSTALL_MAN} docs/tworld.6 $(mandir)/man6/.
-+ ${BSD_INSTALL_DATA} README docs/tworld.html $(prefix)/share/doc/tworld
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(bindir)
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/sets
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/data
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/res
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(prefix)/share/doc/tworld
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(mandir)/man6
++ ${BSD_INSTALL_PROGRAM} ./tworld ${DESTDIR}$(bindir)/.
++ ${BSD_INSTALL_DATA} sets/*.dac ${DESTDIR}$(sharedir)/sets/.
++ ${BSD_INSTALL_DATA} data/*.dat ${DESTDIR}$(sharedir)/data/.
++ ${BSD_INSTALL_DATA} res/rc ${DESTDIR}$(sharedir)/res/.
++ ${BSD_INSTALL_DATA} res/*.bmp ${DESTDIR}$(sharedir)/res/.
++ ${BSD_INSTALL_DATA} res/*.txt ${DESTDIR}$(sharedir)/res/.
++ ${BSD_INSTALL_DATA} res/*.wav ${DESTDIR}$(sharedir)/res/.
++ ${BSD_INSTALL_MAN} docs/tworld.6 ${DESTDIR}$(mandir)/man6/.
++ ${BSD_INSTALL_DATA} README docs/tworld.html ${DESTDIR}$(prefix)/share/doc/tworld
all: tworld mklynxcc