pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/xsokoban add xsokoban-3.3c, from Aleksey Cheusov...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/94b2188c4764
branches:  trunk
changeset: 557011:94b2188c4764
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Apr 08 16:31:56 2009 +0000

description:
add xsokoban-3.3c, from Aleksey Cheusov per pkgsrc-wip

diffstat:

 games/xsokoban/DESCR            |    7 +
 games/xsokoban/Makefile         |   50 ++++++++++
 games/xsokoban/PLIST            |  191 ++++++++++++++++++++++++++++++++++++++++
 games/xsokoban/distinfo         |   13 ++
 games/xsokoban/patches/patch-aa |   39 ++++++++
 games/xsokoban/patches/patch-ab |   75 +++++++++++++++
 games/xsokoban/patches/patch-ac |   20 ++++
 games/xsokoban/patches/patch-ad |   35 +++++++
 games/xsokoban/patches/patch-ae |   12 ++
 games/xsokoban/patches/patch-af |   63 +++++++++++++
 games/xsokoban/patches/patch-ag |   12 ++
 games/xsokoban/patches/patch-ah |   19 +++
 12 files changed, 536 insertions(+), 0 deletions(-)

diffs (truncated from 584 to 300 lines):

diff -r e66af0d4f4ee -r 94b2188c4764 games/xsokoban/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/xsokoban/DESCR      Wed Apr 08 16:31:56 2009 +0000
@@ -0,0 +1,7 @@
+xsokoban is an implementation of the game sokoban, written on top of X(1).
+
+The goal of xsokoban is to push all the round objects into  the score area
+of each level using the mouse or the arrow keys. The arrow keys move the
+player in the corresponding direction, pushing an object if it is in the way
+and there  is a clear space on the other side. The mouse buttons each have a
+distinct function.
diff -r e66af0d4f4ee -r 94b2188c4764 games/xsokoban/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/xsokoban/Makefile   Wed Apr 08 16:31:56 2009 +0000
@@ -0,0 +1,50 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/04/08 16:31:56 drochner Exp $
+#
+
+DISTNAME=      xsokoban-3.3c
+CATEGORIES=    games
+MASTER_SITES=  http://www.cs.cornell.edu/andru/release/
+
+MAINTAINER=    cheusov%tut.by@localhost
+HOMEPAGE=      http://www.cs.cornell.edu/andru/release/
+COMMENT=       Classic logical game
+
+WRKSRC=                ${WRKDIR}/xsokoban
+
+GNU_CONFIGURE= yes
+USE_TOOLS+=    autoconf
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+SAVEPATH=              ${VARBASE}/games/xsokoban
+SCOREFILE=             ${SAVEPATH}/scores
+
+CONFIGURE_ARGS+=       --datadir=${PREFIX}/share/xsokoban
+CONFIGURE_ENV+=                X11BASE=${X11BASE}
+
+# For removing setting SETGIDGAME from here pkgsrc should be fixed
+SETGIDGAME=            yes
+
+SPECIAL_PERMS=         bin/xsokoban ${SETGID_GAMES_PERMS}
+OWN_DIRS_PERMS+=       ${SAVEPATH} ${GAMEOWN} ${GAMEGRP} ${GAMEDIRMODE}
+
+MAKE_FLAGS+=           INSTALL_PROGRAM=${INSTALL_PROGRAM:Q}
+MAKE_FLAGS+=           INSTALL_DATA=${INSTALL_DATA:Q}
+MAKE_FLAGS+=           INSTALL=${INSTALL:Q}
+MAKE_FLAGS+=           INSTALL_MAN=${INSTALL_MAN:Q}
+
+BUILD_TARGET=          xsokoban
+
+CPPFLAGS+=             -DROOTDIR="\"${PREFIX}/share/xsokoban\""
+CPPFLAGS+=             -DSAVEPATH="\"${SAVEPATH}\""
+CPPFLAGS+=             -DSCOREPATH="\"${SCOREFILE}\""
+
+AUTO_MKDIRS=           yes
+
+AUTOCONF_REQD=         2.59
+
+pre-configure:
+       cd ${WRKSRC} && autoconf
+
+.include "../../x11/libXpm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e66af0d4f4ee -r 94b2188c4764 games/xsokoban/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/xsokoban/PLIST      Wed Apr 08 16:31:56 2009 +0000
@@ -0,0 +1,191 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/04/08 16:31:56 drochner Exp $
+bin/xsokoban
+man/man1/xsokoban.1
+share/xsokoban/bitmaps/20/centerwall.xpm
+share/xsokoban/bitmaps/20/east_twall.xpm
+share/xsokoban/bitmaps/20/eastwall.xpm
+share/xsokoban/bitmaps/20/floor.xpm
+share/xsokoban/bitmaps/20/goal.xpm
+share/xsokoban/bitmaps/20/horizwall.xpm
+share/xsokoban/bitmaps/20/llcornerwall.xpm
+share/xsokoban/bitmaps/20/lonewall.xpm
+share/xsokoban/bitmaps/20/lrcornerwall.xpm
+share/xsokoban/bitmaps/20/man.xpm
+share/xsokoban/bitmaps/20/north_twall.xpm
+share/xsokoban/bitmaps/20/northwall.xpm
+share/xsokoban/bitmaps/20/object.xpm
+share/xsokoban/bitmaps/20/saveman.xpm
+share/xsokoban/bitmaps/20/south_twall.xpm
+share/xsokoban/bitmaps/20/southwall.xpm
+share/xsokoban/bitmaps/20/treasure.xpm
+share/xsokoban/bitmaps/20/ulcornerwall.xpm
+share/xsokoban/bitmaps/20/urcornerwall.xpm
+share/xsokoban/bitmaps/20/vertiwall.xpm
+share/xsokoban/bitmaps/20/wall.xpm
+share/xsokoban/bitmaps/20/west_twall.xpm
+share/xsokoban/bitmaps/20/westwall.xpm
+share/xsokoban/bitmaps/36/centerwall.xpm
+share/xsokoban/bitmaps/36/east_twall.xpm
+share/xsokoban/bitmaps/36/eastwall.xpm
+share/xsokoban/bitmaps/36/floor.xpm
+share/xsokoban/bitmaps/36/goal.xpm
+share/xsokoban/bitmaps/36/horizwall.xpm
+share/xsokoban/bitmaps/36/llcornerwall.xpm
+share/xsokoban/bitmaps/36/lonewall.xpm
+share/xsokoban/bitmaps/36/lrcornerwall.xpm
+share/xsokoban/bitmaps/36/man.xpm
+share/xsokoban/bitmaps/36/north_twall.xpm
+share/xsokoban/bitmaps/36/northwall.xpm
+share/xsokoban/bitmaps/36/object.xpm
+share/xsokoban/bitmaps/36/saveman.xpm
+share/xsokoban/bitmaps/36/south_twall.xpm
+share/xsokoban/bitmaps/36/southwall.xpm
+share/xsokoban/bitmaps/36/treasure.xpm
+share/xsokoban/bitmaps/36/ulcornerwall.xpm
+share/xsokoban/bitmaps/36/urcornerwall.xpm
+share/xsokoban/bitmaps/36/vertiwall.xpm
+share/xsokoban/bitmaps/36/wall.xpm
+share/xsokoban/bitmaps/36/west_twall.xpm
+share/xsokoban/bitmaps/36/westwall.xpm
+share/xsokoban/bitmaps/defaults/centerwall.xbm
+share/xsokoban/bitmaps/defaults/centerwall.xpm
+share/xsokoban/bitmaps/defaults/east_twall.xbm
+share/xsokoban/bitmaps/defaults/east_twall.xpm
+share/xsokoban/bitmaps/defaults/eastwall.xbm
+share/xsokoban/bitmaps/defaults/eastwall.xpm
+share/xsokoban/bitmaps/defaults/floor.xbm
+share/xsokoban/bitmaps/defaults/floor.xpm
+share/xsokoban/bitmaps/defaults/goal.xbm
+share/xsokoban/bitmaps/defaults/goal.xpm
+share/xsokoban/bitmaps/defaults/horizwall.xbm
+share/xsokoban/bitmaps/defaults/horizwall.xpm
+share/xsokoban/bitmaps/defaults/llcornerwall.xbm
+share/xsokoban/bitmaps/defaults/llcornerwall.xpm
+share/xsokoban/bitmaps/defaults/lonewall.xbm
+share/xsokoban/bitmaps/defaults/lonewall.xpm
+share/xsokoban/bitmaps/defaults/lrcornerwall.xbm
+share/xsokoban/bitmaps/defaults/lrcornerwall.xpm
+share/xsokoban/bitmaps/defaults/man.xbm
+share/xsokoban/bitmaps/defaults/man.xpm
+share/xsokoban/bitmaps/defaults/north_twall.xbm
+share/xsokoban/bitmaps/defaults/north_twall.xpm
+share/xsokoban/bitmaps/defaults/northwall.xbm
+share/xsokoban/bitmaps/defaults/northwall.xpm
+share/xsokoban/bitmaps/defaults/object.xbm
+share/xsokoban/bitmaps/defaults/object.xpm
+share/xsokoban/bitmaps/defaults/saveman.xbm
+share/xsokoban/bitmaps/defaults/saveman.xpm
+share/xsokoban/bitmaps/defaults/south_twall.xbm
+share/xsokoban/bitmaps/defaults/south_twall.xpm
+share/xsokoban/bitmaps/defaults/southwall.xbm
+share/xsokoban/bitmaps/defaults/southwall.xpm
+share/xsokoban/bitmaps/defaults/treasure.xbm
+share/xsokoban/bitmaps/defaults/treasure.xpm
+share/xsokoban/bitmaps/defaults/ulcornerwall.xbm
+share/xsokoban/bitmaps/defaults/ulcornerwall.xpm
+share/xsokoban/bitmaps/defaults/urcornerwall.xbm
+share/xsokoban/bitmaps/defaults/urcornerwall.xpm
+share/xsokoban/bitmaps/defaults/vertiwall.xbm
+share/xsokoban/bitmaps/defaults/vertiwall.xpm
+share/xsokoban/bitmaps/defaults/wall.xbm
+share/xsokoban/bitmaps/defaults/wall.xpm
+share/xsokoban/bitmaps/defaults/west_twall.xbm
+share/xsokoban/bitmaps/defaults/west_twall.xpm
+share/xsokoban/bitmaps/defaults/westwall.xbm
+share/xsokoban/bitmaps/defaults/westwall.xpm
+share/xsokoban/screens/screen.1
+share/xsokoban/screens/screen.10
+share/xsokoban/screens/screen.11
+share/xsokoban/screens/screen.12
+share/xsokoban/screens/screen.13
+share/xsokoban/screens/screen.14
+share/xsokoban/screens/screen.15
+share/xsokoban/screens/screen.16
+share/xsokoban/screens/screen.17
+share/xsokoban/screens/screen.18
+share/xsokoban/screens/screen.19
+share/xsokoban/screens/screen.2
+share/xsokoban/screens/screen.20
+share/xsokoban/screens/screen.21
+share/xsokoban/screens/screen.22
+share/xsokoban/screens/screen.23
+share/xsokoban/screens/screen.24
+share/xsokoban/screens/screen.25
+share/xsokoban/screens/screen.26
+share/xsokoban/screens/screen.27
+share/xsokoban/screens/screen.28
+share/xsokoban/screens/screen.29
+share/xsokoban/screens/screen.3
+share/xsokoban/screens/screen.30
+share/xsokoban/screens/screen.31
+share/xsokoban/screens/screen.32
+share/xsokoban/screens/screen.33
+share/xsokoban/screens/screen.34
+share/xsokoban/screens/screen.35
+share/xsokoban/screens/screen.36
+share/xsokoban/screens/screen.37
+share/xsokoban/screens/screen.38
+share/xsokoban/screens/screen.39
+share/xsokoban/screens/screen.4
+share/xsokoban/screens/screen.40
+share/xsokoban/screens/screen.41
+share/xsokoban/screens/screen.42
+share/xsokoban/screens/screen.43
+share/xsokoban/screens/screen.44
+share/xsokoban/screens/screen.45
+share/xsokoban/screens/screen.46
+share/xsokoban/screens/screen.47
+share/xsokoban/screens/screen.48
+share/xsokoban/screens/screen.49
+share/xsokoban/screens/screen.5
+share/xsokoban/screens/screen.50
+share/xsokoban/screens/screen.51
+share/xsokoban/screens/screen.52
+share/xsokoban/screens/screen.53
+share/xsokoban/screens/screen.54
+share/xsokoban/screens/screen.55
+share/xsokoban/screens/screen.56
+share/xsokoban/screens/screen.57
+share/xsokoban/screens/screen.58
+share/xsokoban/screens/screen.59
+share/xsokoban/screens/screen.6
+share/xsokoban/screens/screen.60
+share/xsokoban/screens/screen.61
+share/xsokoban/screens/screen.62
+share/xsokoban/screens/screen.63
+share/xsokoban/screens/screen.64
+share/xsokoban/screens/screen.65
+share/xsokoban/screens/screen.66
+share/xsokoban/screens/screen.67
+share/xsokoban/screens/screen.68
+share/xsokoban/screens/screen.69
+share/xsokoban/screens/screen.7
+share/xsokoban/screens/screen.70
+share/xsokoban/screens/screen.71
+share/xsokoban/screens/screen.72
+share/xsokoban/screens/screen.73
+share/xsokoban/screens/screen.74
+share/xsokoban/screens/screen.75
+share/xsokoban/screens/screen.76
+share/xsokoban/screens/screen.77
+share/xsokoban/screens/screen.78
+share/xsokoban/screens/screen.79
+share/xsokoban/screens/screen.8
+share/xsokoban/screens/screen.80
+share/xsokoban/screens/screen.81
+share/xsokoban/screens/screen.82
+share/xsokoban/screens/screen.83
+share/xsokoban/screens/screen.84
+share/xsokoban/screens/screen.85
+share/xsokoban/screens/screen.86
+share/xsokoban/screens/screen.87
+share/xsokoban/screens/screen.88
+share/xsokoban/screens/screen.89
+share/xsokoban/screens/screen.9
+share/xsokoban/screens/screen.90
+@dirrm share/xsokoban/bitmaps/20
+@dirrm share/xsokoban/bitmaps/36
+@dirrm share/xsokoban/bitmaps/defaults
+@dirrm share/xsokoban/bitmaps
+@dirrm share/xsokoban/screens
+@dirrm share/xsokoban
diff -r e66af0d4f4ee -r 94b2188c4764 games/xsokoban/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/xsokoban/distinfo   Wed Apr 08 16:31:56 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/04/08 16:31:56 drochner Exp $
+
+SHA1 (xsokoban-3.3c.tar.gz) = d5a829a8a507c60458093baa431e4fe9ff619aed
+RMD160 (xsokoban-3.3c.tar.gz) = 394cc9663982004f27135baad4e26c18c2c6817c
+Size (xsokoban-3.3c.tar.gz) = 98961 bytes
+SHA1 (patch-aa) = ba21be16ffdf2640014a2a91a4e042bee3660cfc
+SHA1 (patch-ab) = 17791f14cfba86154b12eb3bef61fedf8c6e1f8c
+SHA1 (patch-ac) = eeaa85eb12c473b2703b55b1602eae4c89639a0f
+SHA1 (patch-ad) = 2338d0e6afac7709abfe55eb57e809247d42b6f1
+SHA1 (patch-ae) = 234e46167bf5b3786462488c99bf10de60736452
+SHA1 (patch-af) = 43b4abe82c6cb7d51ad65e3eb1ef05fc345916a4
+SHA1 (patch-ag) = 77a33b22e071637377e25636dd2df8ec45ac9d1e
+SHA1 (patch-ah) = 1d8cb6cf6c5e57c8bb4a019e73eca9c56c21306f
diff -r e66af0d4f4ee -r 94b2188c4764 games/xsokoban/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/xsokoban/patches/patch-aa   Wed Apr 08 16:31:56 2009 +0000
@@ -0,0 +1,39 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/04/08 16:31:56 drochner Exp $
+
+--- config.h.orig      1997-07-17 19:27:58.000000000 +0300
++++ config.h
+@@ -62,14 +62,14 @@
+              in the same directory as the score file.
+ */
+ #ifndef LOCKFILE
+-#define LOCKFILE ROOTDIR "/scores/lock"
++#define LOCKFILE SAVEPATH "/lock"
+ #endif
+ 
+ /*
+    SCOREFILE: the full pathname of the score file
+ */
+ #ifndef SCOREFILE
+-#define SCOREFILE ROOTDIR "/scores/scores"
++#define SCOREFILE SAVEPATH "/scores"
+ #endif



Home | Main Index | Thread Index | Old Index