Sat Aug 29 11:42:04 2009 UTC ()
Convert to user-destdir.


(wiz)
diff -r1.24 -r1.25 pkgsrc/games/tileworld/Makefile
diff -r1.5 -r1.6 pkgsrc/games/tileworld/distinfo
diff -r1.4 -r1.5 pkgsrc/games/tileworld/patches/patch-aa

cvs diff -r1.24 -r1.25 pkgsrc/games/tileworld/Makefile (expand / switch to unified diff)

--- pkgsrc/games/tileworld/Makefile 2007/11/30 11:20:43 1.24
+++ pkgsrc/games/tileworld/Makefile 2009/08/29 11:42:04 1.25
@@ -1,20 +1,22 @@ @@ -1,20 +1,22 @@
1# $NetBSD: Makefile,v 1.24 2007/11/30 11:20:43 wiz Exp $ 1# $NetBSD: Makefile,v 1.25 2009/08/29 11:42:04 wiz Exp $
2 2
3DISTNAME= tworld-1.3.0 3DISTNAME= tworld-1.3.0
4PKGNAME= ${DISTNAME:S/^t/tile/} 4PKGNAME= ${DISTNAME:S/^t/tile/}
5CATEGORIES= games 5CATEGORIES= games
6MASTER_SITES= http://www.muppetlabs.com/~breadbox/pub/software/tworld/ 6MASTER_SITES= http://www.muppetlabs.com/~breadbox/pub/software/tworld/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.muppetlabs.com/~breadbox/software/tworld/ 9HOMEPAGE= http://www.muppetlabs.com/~breadbox/software/tworld/
10COMMENT= "Game based on Chip's Challenge" 10COMMENT= "Game based on Chip's Challenge"
11 11
 12PKG_DESTDIR_SUPPORT= user-destdir
 13
12USE_TOOLS+= date gmake 14USE_TOOLS+= date gmake
13GNU_CONFIGURE= YES 15GNU_CONFIGURE= YES
14 16
15BUILD_TARGET= tworld 17BUILD_TARGET= tworld
16 18
17MAKE_ENV+= ECHO=${ECHO:Q} DATE=${DATE:Q} 19MAKE_ENV+= ECHO=${ECHO:Q} DATE=${DATE:Q}
18 20
19.include "../../devel/SDL/buildlink3.mk" 21.include "../../devel/SDL/buildlink3.mk"
20.include "../../mk/bsd.pkg.mk" 22.include "../../mk/bsd.pkg.mk"

cvs diff -r1.5 -r1.6 pkgsrc/games/tileworld/distinfo (expand / switch to unified diff)

--- pkgsrc/games/tileworld/distinfo 2007/11/30 11:20:43 1.5
+++ pkgsrc/games/tileworld/distinfo 2009/08/29 11:42:04 1.6
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.5 2007/11/30 11:20:43 wiz Exp $ 1$NetBSD: distinfo,v 1.6 2009/08/29 11:42:04 wiz Exp $
2 2
3SHA1 (tworld-1.3.0.tar.gz) = 21542cb012143d563232883d9337ed0e3bd06672 3SHA1 (tworld-1.3.0.tar.gz) = 21542cb012143d563232883d9337ed0e3bd06672
4RMD160 (tworld-1.3.0.tar.gz) = c4cee133bf2d3e0df2bd31a49d46d1c6628ef9a8 4RMD160 (tworld-1.3.0.tar.gz) = c4cee133bf2d3e0df2bd31a49d46d1c6628ef9a8
5Size (tworld-1.3.0.tar.gz) = 1045555 bytes 5Size (tworld-1.3.0.tar.gz) = 1045555 bytes
6SHA1 (patch-aa) = 3fcc14d03b35d52e15d0d4e61797bd052d413003 6SHA1 (patch-aa) = 5dddf8c3e64fdc77c28a29d423ea8505acd595c7

cvs diff -r1.4 -r1.5 pkgsrc/games/tileworld/patches/Attic/patch-aa (expand / switch to unified diff)

--- pkgsrc/games/tileworld/patches/Attic/patch-aa 2007/11/30 11:20:44 1.4
+++ pkgsrc/games/tileworld/patches/Attic/patch-aa 2009/08/29 11:42:04 1.5
@@ -1,39 +1,39 @@ @@ -1,39 +1,39 @@
1$NetBSD: patch-aa,v 1.4 2007/11/30 11:20:44 wiz Exp $ 1$NetBSD: patch-aa,v 1.5 2009/08/29 11:42:04 wiz Exp $
2 2
3--- Makefile.in.orig 2006-04-16 10:18:41.000000000 +0000 3--- Makefile.in.orig 2006-04-16 10:18:41.000000000 +0000
4+++ Makefile.in 4+++ Makefile.in
5@@ -92,19 +92,21 @@ tworldres.o: tworld.ico 5@@ -92,19 +92,21 @@ tworldres.o: tworld.ico
6 # 6 #
7  7
8 install: tworld 8 install: tworld
9- mkdir -p $(bindir) 9- mkdir -p $(bindir)
10- mkdir -p $(sharedir)/sets 10- mkdir -p $(sharedir)/sets
11- mkdir -p $(sharedir)/data 11- mkdir -p $(sharedir)/data
12- mkdir -p $(sharedir)/res 12- mkdir -p $(sharedir)/res
13- mkdir -p $(mandir)/man6 13- mkdir -p $(mandir)/man6
14- cp -i ./tworld $(bindir)/. 14- cp -i ./tworld $(bindir)/.
15- cp -i sets/*.dac $(sharedir)/sets/. 15- cp -i sets/*.dac $(sharedir)/sets/.
16- cp -i data/*.dat $(sharedir)/data/. 16- cp -i data/*.dat $(sharedir)/data/.
17- cp -i res/rc $(sharedir)/res/. 17- cp -i res/rc $(sharedir)/res/.
18- cp -i res/*.bmp $(sharedir)/res/. 18- cp -i res/*.bmp $(sharedir)/res/.
19- cp -i res/*.txt $(sharedir)/res/. 19- cp -i res/*.txt $(sharedir)/res/.
20- cp -i res/*.wav $(sharedir)/res/. 20- cp -i res/*.wav $(sharedir)/res/.
21- cp -i docs/tworld.6 $(mandir)/man6/. 21- cp -i docs/tworld.6 $(mandir)/man6/.
22+ ${BSD_INSTALL_DATA_DIR} $(bindir) 22+ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(bindir)
23+ ${BSD_INSTALL_DATA_DIR} $(sharedir)/sets 23+ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/sets
24+ ${BSD_INSTALL_DATA_DIR} $(sharedir)/data 24+ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/data
25+ ${BSD_INSTALL_DATA_DIR} $(sharedir)/res 25+ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/res
26+ ${BSD_INSTALL_DATA_DIR} $(prefix)/share/doc/tworld 26+ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(prefix)/share/doc/tworld
27+ ${BSD_INSTALL_DATA_DIR} $(mandir)/man6 27+ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(mandir)/man6
28+ ${BSD_INSTALL_PROGRAM} ./tworld $(bindir)/. 28+ ${BSD_INSTALL_PROGRAM} ./tworld ${DESTDIR}$(bindir)/.
29+ ${BSD_INSTALL_DATA} sets/*.dac $(sharedir)/sets/. 29+ ${BSD_INSTALL_DATA} sets/*.dac ${DESTDIR}$(sharedir)/sets/.
30+ ${BSD_INSTALL_DATA} data/*.dat $(sharedir)/data/. 30+ ${BSD_INSTALL_DATA} data/*.dat ${DESTDIR}$(sharedir)/data/.
31+ ${BSD_INSTALL_DATA} res/rc $(sharedir)/res/. 31+ ${BSD_INSTALL_DATA} res/rc ${DESTDIR}$(sharedir)/res/.
32+ ${BSD_INSTALL_DATA} res/*.bmp $(sharedir)/res/. 32+ ${BSD_INSTALL_DATA} res/*.bmp ${DESTDIR}$(sharedir)/res/.
33+ ${BSD_INSTALL_DATA} res/*.txt $(sharedir)/res/. 33+ ${BSD_INSTALL_DATA} res/*.txt ${DESTDIR}$(sharedir)/res/.
34+ ${BSD_INSTALL_DATA} res/*.wav $(sharedir)/res/. 34+ ${BSD_INSTALL_DATA} res/*.wav ${DESTDIR}$(sharedir)/res/.
35+ ${BSD_INSTALL_MAN} docs/tworld.6 $(mandir)/man6/. 35+ ${BSD_INSTALL_MAN} docs/tworld.6 ${DESTDIR}$(mandir)/man6/.
36+ ${BSD_INSTALL_DATA} README docs/tworld.html $(prefix)/share/doc/tworld 36+ ${BSD_INSTALL_DATA} README docs/tworld.html ${DESTDIR}$(prefix)/share/doc/tworld
37  37
38 all: tworld mklynxcc 38 all: tworld mklynxcc
39  39