pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/dd2 Update dd2 to 0.2.2.
details: https://anonhg.NetBSD.org/pkgsrc/rev/dc329f61f666
branches: trunk
changeset: 543324:dc329f61f666
user: obache <obache%pkgsrc.org@localhost>
date: Sat Jun 14 02:58:24 2008 +0000
description:
Update dd2 to 0.2.2.
This release only involves license changes.
- GPL v2 or later, for LGPLv3 compatibility
While here,
* add DESTDIR support
* Put score file in ${VARBASE} and use SETGIDGAME. fix PR 38907.
diffstat:
games/dd2/Makefile | 20 +++++++++++++++++---
games/dd2/distinfo | 10 ++++++----
games/dd2/patches/patch-aa | 12 ++++++++++++
games/dd2/patches/patch-ab | 22 ++++++++++++++++++++++
4 files changed, 57 insertions(+), 7 deletions(-)
diffs (95 lines):
diff -r 735ac607365d -r dc329f61f666 games/dd2/Makefile
--- a/games/dd2/Makefile Sat Jun 14 01:06:56 2008 +0000
+++ b/games/dd2/Makefile Sat Jun 14 02:58:24 2008 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2006/06/12 16:28:08 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2008/06/14 02:58:24 obache Exp $
#
-DISTNAME= dd2-0.2.1
-PKGREVISION= 5
+DISTNAME= dd2-0.2.2
CATEGORIES= games
MASTER_SITES= http://www.usebox.net/jjm/dd2/releases/
@@ -10,8 +9,23 @@
HOMEPAGE= http://www.usebox.net/jjm/dd2/
COMMENT= Shoot'em up arcade game for one or two players
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
+DD2_SCORE= ${VARBASE}/games
+CFLAGS+= -DDD2_SCORE=\"${DD2_SCORE}\"
+
+SETGIDGAME= yes
+SPECIAL_PERMS= bin/dd2 ${SETGID_GAMES_PERMS}
+REQD_DIRS_PERMS+= ${DD2_SCORE} ${GAMEOWN} ${GAMEGRP} ${GAMEDIRMODE}
+REQD_FILES_PERMS+= share/dd2/dd2-hiscore ${DD2_SCORE}/dd2-hiscore \
+ ${GAMEOWN} ${GAMEGRP} ${GAMEDATAMODE}
+
+BUILD_DEFS+= VARBASE
+BUILD_DEFS+= GAMEDATAMODE
+BUILD_DEFS+= GAMEMODE
+
.include "../../audio/SDL_mixer/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 735ac607365d -r dc329f61f666 games/dd2/distinfo
--- a/games/dd2/distinfo Sat Jun 14 01:06:56 2008 +0000
+++ b/games/dd2/distinfo Sat Jun 14 02:58:24 2008 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 23:11:56 agc Exp $
+$NetBSD: distinfo,v 1.3 2008/06/14 02:58:24 obache Exp $
-SHA1 (dd2-0.2.1.tar.gz) = ae87caa53a4314a1e304cfa0940a9619dd91ed79
-RMD160 (dd2-0.2.1.tar.gz) = 20ffa3a1e2841a48300a8624b63ff2878ac77a97
-Size (dd2-0.2.1.tar.gz) = 286998 bytes
+SHA1 (dd2-0.2.2.tar.gz) = e6a1292b25f2bd1817898fec301973a4e2349549
+RMD160 (dd2-0.2.2.tar.gz) = df4573dd04916d0f038cc6472206337eeb2fff58
+Size (dd2-0.2.2.tar.gz) = 293812 bytes
+SHA1 (patch-aa) = 21c24523fe56278bf3bd1aa0ba48c136344ff3c4
+SHA1 (patch-ab) = e58897a9d5d8d63fc99bb1337208752a377b3ddf
diff -r 735ac607365d -r dc329f61f666 games/dd2/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/dd2/patches/patch-aa Sat Jun 14 02:58:24 2008 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2008/06/14 02:58:24 obache Exp $
+
+--- src/data/Makefile.in.orig 2007-08-16 17:11:33.000000000 +0000
++++ src/data/Makefile.in
+@@ -197,7 +197,6 @@ maintainer-clean-generic clean mostlycle
+
+
+ install-data-hook:
+- chmod a+rw $(pkgdatadir)/dd2-hiscore
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff -r 735ac607365d -r dc329f61f666 games/dd2/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/dd2/patches/patch-ab Sat Jun 14 02:58:24 2008 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1 2008/06/14 02:58:24 obache Exp $
+
+--- src/main.c.orig 2007-08-14 18:59:42.000000000 +0000
++++ src/main.c
+@@ -296,7 +296,7 @@ main (int argc, char *argv[])
+ #endif
+
+ /* read hi-scores */
+- sprintf(buffer,"%s/dd2-hiscore",DD2_DATA);
++ sprintf(buffer,"%s/dd2-hiscore",DD2_SCORE);
+ if(!loadScore(buffer,hiscore))
+ fprintf(stderr,"unable to read hi-scores, using defaults\n");
+
+@@ -463,7 +463,7 @@ main (int argc, char *argv[])
+ saveCFG(buffer,&conf);
+
+ /* save hi-scores */
+- sprintf(buffer,"%s/dd2-hiscore",DD2_DATA);
++ sprintf(buffer,"%s/dd2-hiscore",DD2_SCORE);
+ if(!saveScore(buffer,hiscore))
+ fprintf(stderr,"unable to save hi-scores\ndo you have permissions to write into %s?\n"
+ ,buffer);
Home |
Main Index |
Thread Index |
Old Index