aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authornakai <nakai@FreeBSD.org>2000-01-22 19:46:45 +0800
committernakai <nakai@FreeBSD.org>2000-01-22 19:46:45 +0800
commit8e76258260591feba8c1af15c1ca6664ed23c5c7 (patch)
tree6d1a5aa0965f5392bbc49122cf3833c044e424b0 /games
parentfe634d0115acb9af3ad90191efcd3274f380d426 (diff)
downloadfreebsd-ports-gnome-8e76258260591feba8c1af15c1ca6664ed23c5c7.tar.gz
freebsd-ports-gnome-8e76258260591feba8c1af15c1ca6664ed23c5c7.tar.zst
freebsd-ports-gnome-8e76258260591feba8c1af15c1ca6664ed23c5c7.zip
Fix and updates from KATO Tsuguru.
Submitted by: "KATO Tsuguru" <tkato@prontomail.ne.jp>
Diffstat (limited to 'games')
-rw-r--r--games/cosmo/Makefile14
-rw-r--r--games/cosmo/files/patch-aa27
-rw-r--r--games/cosmo/pkg-descr2
-rw-r--r--games/xcubes/Makefile18
-rw-r--r--games/xcubes/distinfo2
-rw-r--r--games/xcubes/pkg-descr2
-rw-r--r--games/xdeblock/Makefile20
-rw-r--r--games/xdeblock/files/patch-aa10
-rw-r--r--games/xdeblock/files/patch-ab6
-rw-r--r--games/xdeblock/files/patch-ac36
-rw-r--r--games/xdeblock/pkg-descr6
-rw-r--r--games/xdino/Makefile18
-rw-r--r--games/xdino/distinfo2
-rw-r--r--games/xdino/pkg-descr2
-rw-r--r--games/xeyesplus/Makefile3
-rw-r--r--games/xeyesplus/distinfo2
-rw-r--r--games/xeyesplus/files/patch-aa14
-rw-r--r--games/xgolgo/Makefile7
-rw-r--r--games/xpuyo/Makefile16
-rw-r--r--games/xpuyo/distinfo2
-rw-r--r--games/xpuyo/pkg-descr2
-rw-r--r--games/xpuzzletama/Makefile16
-rw-r--r--games/xpuzzletama/distinfo2
-rw-r--r--games/xpuzzletama/files/patch-aa27
-rw-r--r--games/xpuzzletama/pkg-plist1
-rw-r--r--games/xrubik/Makefile8
-rw-r--r--games/xrubik/distinfo2
-rw-r--r--games/xrubik/pkg-descr2
-rw-r--r--games/xsokoban/Makefile11
-rw-r--r--games/xsokoban/files/patch-aa11
-rw-r--r--games/xsokoban/files/patch-ab2
-rw-r--r--games/xsokoban/files/patch-ad14
-rw-r--r--games/xsokoban/pkg-descr2
-rw-r--r--games/xsokoban/pkg-plist1
-rw-r--r--games/xtriangles/Makefile20
-rw-r--r--games/xtriangles/distinfo2
-rw-r--r--games/xtriangles/pkg-descr2
37 files changed, 202 insertions, 132 deletions
diff --git a/games/cosmo/Makefile b/games/cosmo/Makefile
index 30a26b0b92cb..4e9680123928 100644
--- a/games/cosmo/Makefile
+++ b/games/cosmo/Makefile
@@ -1,14 +1,15 @@
-# New ports collection makefile for: cosmo
-# Version required: 2.0.4
-# Date created: 28 December 1996
-# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
+# New ports collection makefile for: cosmo
+# Version required: 2.0.4
+# Date created: 28 December 1996
+# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#
DISTNAME= cosmo-2.0.4
CATEGORIES= games
-MASTER_SITES= ftp://ftp.jinr.ru/pub/PD/cosmo/
+MASTER_SITES= http://taraco.u-aizu.ac.jp/~eiju/cosmo/ \
+ ftp://ftp.jinr.ru/pub/PD/cosmo/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} moon.tif.gz
MAINTAINER= nakai@FreeBSD.org
@@ -24,7 +25,6 @@ NO_INSTALL_MANPAGES= yes
post-install:
${INSTALL_DATA} ${WRKSRC}/cosmorc ${PREFIX}/lib/X11/cosmo
- ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/moon.tif.gz \
- ${PREFIX}/lib/X11/cosmo
+ ${INSTALL_DATA} ${_DISTDIR}/moon.tif.gz ${PREFIX}/lib/X11/cosmo
.include <bsd.port.mk>
diff --git a/games/cosmo/files/patch-aa b/games/cosmo/files/patch-aa
index b606a790e551..8ed299f51f38 100644
--- a/games/cosmo/files/patch-aa
+++ b/games/cosmo/files/patch-aa
@@ -1,17 +1,30 @@
--- Imakefile.orig Sat May 11 16:06:00 1996
-+++ Imakefile Fri May 2 12:38:28 1997
-@@ -1,11 +1,12 @@
++++ Imakefile Sat Jan 15 04:54:08 2000
+@@ -1,14 +1,14 @@
-BINDIR = /usr/local/games
-+PREFIX?= /usr/X11R6
-+BINDIR = ${PREFIX}/bin
++XCOMM BINDIR = /usr/local/games
PAD = # -DUSE_PAD
CHMOD = /bin/chmod
MKDIR = /bin/mkdir
- CC = gcc
+-CC = gcc
++XCOMM CC = gcc
REGULATE_TIMER = -DREG_TIMER
-DATADIR = $(BINDIR)/cosmodir
-+DATADIR = ${PREFIX}/lib/X11/cosmo
++DATADIR = $(LIBDIR)/cosmo
DATAFILE = $(DATADIR)/best.dat
PROTO_DEFINES = -DRANK_FILE=\"$(DATAFILE)\" $(PAD) $(REGULATE_TIMER) $(SIGNAL)
- CDEBUGFLAGS = -O2 # -g
+-CDEBUGFLAGS = -O2 # -g
++XCOMM CDEBUGFLAGS = -O2 # -g
+ LOCAL_LIBRARIES = $(XLIB)
+ TAR = /bin/tar
+
+@@ -27,7 +27,7 @@
+
+ install::
+ @if [ -d $(DATADIR) ]; then echo cosmodir exists, not created.;\
+- else $(MKDIR) $(DATADIR); fi
++ else $(MKDIRHIER) $(DATADIR); fi
+ $(CHMOD) 711 $(DATADIR)
+ @if [ -f $(DATAFILE) ]; then echo ranking file exists, not created.;\
+ else echo > $(DATAFILE); fi
diff --git a/games/cosmo/pkg-descr b/games/cosmo/pkg-descr
index 06cd19d35406..4d7ed7ba5fa5 100644
--- a/games/cosmo/pkg-descr
+++ b/games/cosmo/pkg-descr
@@ -17,3 +17,5 @@ KEYBOARD:
n Select no
p Pause game
q Quit game
+
+WWW: http://taraco.u-aizu.ac.jp/~eiju/cosmo/cosmo.html
diff --git a/games/xcubes/Makefile b/games/xcubes/Makefile
index b040c95b5edf..027df3167875 100644
--- a/games/xcubes/Makefile
+++ b/games/xcubes/Makefile
@@ -1,12 +1,12 @@
-# New ports collection makefile for: xcubes
-# Version required: V5.4.4
-# Date created: 12 October 1996
-# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
+# New ports collection makefile for: xcubes
+# Version required: 5.5.2
+# Date created: 12 October 1996
+# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#
-DISTNAME= xcubes-5.4.4
+DISTNAME= xcubes-5.5.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= games/xpuzzles
@@ -18,9 +18,9 @@ USE_IMAKE= yes
MAN1= xcubes.1
MANCOMPRESSED= no
-post-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/xcubes ${PREFIX}/bin
- @${INSTALL_DATA} ${WRKSRC}/Cubes.ad ${PREFIX}/lib/X11/app-defaults/Cubes
- @${INSTALL_MAN} ${WRKSRC}/xcubes.man ${PREFIX}/man/man1/xcubes.1
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xcubes ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/Cubes.ad ${PREFIX}/lib/X11/app-defaults/Cubes
+ ${INSTALL_MAN} ${WRKSRC}/xcubes.man ${PREFIX}/man/man1/xcubes.1
.include <bsd.port.mk>
diff --git a/games/xcubes/distinfo b/games/xcubes/distinfo
index 34896ed9fac2..203a615d0bf6 100644
--- a/games/xcubes/distinfo
+++ b/games/xcubes/distinfo
@@ -1 +1 @@
-MD5 (xcubes-5.4.4.tar.gz) = 32622cd341327282e1a5d9b71d87b002
+MD5 (xcubes-5.5.2.tar.gz) = e421497744b4f1f6596169d9d45c4044
diff --git a/games/xcubes/pkg-descr b/games/xcubes/pkg-descr
index b1ac4c6a11a0..7b112f656477 100644
--- a/games/xcubes/pkg-descr
+++ b/games/xcubes/pkg-descr
@@ -1,3 +1,5 @@
XCubes is a puzzle for X Window System.
Your goal is to exchange the numbered panels to be in order.
+
+WWW: http://www.tux.org/~bagleyd/puzzles.html
diff --git a/games/xdeblock/Makefile b/games/xdeblock/Makefile
index a8edab055d30..ef5a8d654475 100644
--- a/games/xdeblock/Makefile
+++ b/games/xdeblock/Makefile
@@ -1,27 +1,31 @@
-# New ports collection makefile for: xdeblock
-# Version required: v1.0
-# Date created: 28 December 1996
-# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
+# New ports collection makefile for: xdeblock
+# Version required: 1.0
+# Date created: 28 December 1996
+# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#
-DISTNAME= xdeblo_v1.0
+DISTNAME= xdeblock
PKGNAME= xdeblock-1.0
CATEGORIES= games
-MASTER_SITES= ftp://www.vector.co.jp/pack/unix/game/action/block/
-DISTFILES= xdeblock.tgz
+MASTER_SITES= ftp://ftp.vector.co.jp/pack/unix/game/action/block/
+EXTRACT_SUFX= .tgz
MAINTAINER= nakai@FreeBSD.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
+WRKSRC= ${WRKDIR}/xdeblo_v1.0
USE_IMAKE= yes
NO_INSTALL_MANPAGES= yes
+post-patch:
+ @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/main.c
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xdeblo ${PREFIX}/bin
- ${MKDIR} ${PREFIX}/lib/X11/xdeblock/mapf
+ @${MKDIR} ${PREFIX}/lib/X11/xdeblock/mapf
${CHMOD} 777 ${PREFIX}/lib/X11/xdeblock/mapf
${INSTALL_DATA} ${WRKSRC}/mapf/*.txt ${PREFIX}/lib/X11/xdeblock/mapf
diff --git a/games/xdeblock/files/patch-aa b/games/xdeblock/files/patch-aa
index ebeda5855280..fd5cbc10e1aa 100644
--- a/games/xdeblock/files/patch-aa
+++ b/games/xdeblock/files/patch-aa
@@ -1,5 +1,5 @@
-*** Imakefile.orig Sat Jan 25 23:26:41 1997
---- Imakefile Sat Jan 25 23:31:45 1997
+*** Imakefile.orig Sat Nov 16 13:06:36 1996
+--- Imakefile Thu Jan 15 00:00:00 2000
***************
*** 10,16 ****
XCOMM Set xdeblock working directory.
@@ -13,7 +13,7 @@
XCOMM Set xdeblock working directory.
XCOMM =====================================================================
-! XDEBLO_DIR = /usr/X11R6/lib/X11/xdeblock
+! XDEBLO_DIR = $(LIBDIR)/xdeblock
XCOMM =====================================================================
XCOMM Set xpm.
@@ -31,8 +31,8 @@
XCOMM abc% find /usr -name xpm.h -print
XCOMM =====================================================================
-! XPM_INC = -I/usr/X11R6/include/X11
-! XPMLIB_DIR = -L/usr/X11R6/lib
+! XPM_INC = -I$(INCDIR)/X11
+! XPMLIB_DIR = -L$(USRLIBDIR)
XCOMM =====================================================================
diff --git a/games/xdeblock/files/patch-ab b/games/xdeblock/files/patch-ab
index 07dd0937db43..d73228060bd5 100644
--- a/games/xdeblock/files/patch-ab
+++ b/games/xdeblock/files/patch-ab
@@ -1,5 +1,5 @@
-*** main.c.orig Sat Nov 16 05:37:16 1996
---- main.c Wed Mar 5 03:11:37 1997
+*** main.c.orig Sat Nov 16 14:37:16 1996
+--- main.c Thu Jan 15 00:00:00 2000
***************
*** 66,72 ****
/*** set s_map ***/
@@ -13,7 +13,7 @@
/*** set s_map ***/
gameMainFlg.s_map = False;
nowDataRec.nowMap.gameSpeed = 90;
-! strcpy(nowDataRec.nowMap.dirname, "/usr/X11R6/lib/X11/xdeblock/mapf");
+! strcpy(nowDataRec.nowMap.dirname, "%%PREFIX%%/lib/X11/xdeblock/mapf");
for(i =1; i < argc; i++)
{
diff --git a/games/xdeblock/files/patch-ac b/games/xdeblock/files/patch-ac
new file mode 100644
index 000000000000..d89daf31ed13
--- /dev/null
+++ b/games/xdeblock/files/patch-ac
@@ -0,0 +1,36 @@
+*** dialog.c.orig Sat Nov 16 14:37:15 1996
+--- dialog.c Fri Jan 15 00:00:00 2000
+***************
+*** 8,14 ****
+
+ #include <sys/types.h>
+ #include <sys/stat.h>
+! #include <sys/dir.h>
+
+ #include "gameheader.h"
+
+--- 8,14 ----
+
+ #include <sys/types.h>
+ #include <sys/stat.h>
+! #include <dirent.h>
+
+ #include "gameheader.h"
+
+***************
+*** 430,436 ****
+ char *fflag;
+ {
+ DIR *dp;
+! struct direct *dir;
+ struct stat sbuf;
+ char newname[256];
+ register i = 0;
+--- 430,436 ----
+ char *fflag;
+ {
+ DIR *dp;
+! struct dirent *dir;
+ struct stat sbuf;
+ char newname[256];
+ register i = 0;
diff --git a/games/xdeblock/pkg-descr b/games/xdeblock/pkg-descr
index 219b96148f0e..0741bf4d0f56 100644
--- a/games/xdeblock/pkg-descr
+++ b/games/xdeblock/pkg-descr
@@ -6,8 +6,10 @@ USAGE:
and push PLAY button in the window.
ENVIRONMENT:
- You need 256 or more colors, 840x600 or more window, and enough memory.
+ You need 256 or more colors, 800x600 or more window, and enough memory.
AUTHOR:
- e-mail: QYI03211@niftyserve.or.jp
+ e-mail: usapato@anet.ne.jp
Takuto Okuno
+
+WWW: http://hp.vector.co.jp/authors/VA008796/xdeblo.html
diff --git a/games/xdino/Makefile b/games/xdino/Makefile
index 0ae62b996212..cc68315fa8f1 100644
--- a/games/xdino/Makefile
+++ b/games/xdino/Makefile
@@ -1,12 +1,12 @@
-# New ports collection makefile for: xdino
-# Version required: 5.4.4
-# Date created: 12 October 1996
-# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
+# New ports collection makefile for: xdino
+# Version required: 5.5.2
+# Date created: 12 October 1996
+# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#
-DISTNAME= xdino-5.4.4
+DISTNAME= xdino-5.5.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= games/xpuzzles
@@ -18,9 +18,9 @@ USE_IMAKE= yes
MAN1= xdino.1
MANCOMPRESSED= no
-post-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/xdino ${PREFIX}/bin
- @${INSTALL_DATA} ${WRKSRC}/Dino.ad ${PREFIX}/lib/X11/app-defaults/Dino
- @${INSTALL_MAN} ${WRKSRC}/xdino.man ${PREFIX}/man/man1/xdino.1
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xdino ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/Dino.ad ${PREFIX}/lib/X11/app-defaults/Dino
+ ${INSTALL_MAN} ${WRKSRC}/xdino.man ${PREFIX}/man/man1/xdino.1
.include <bsd.port.mk>
diff --git a/games/xdino/distinfo b/games/xdino/distinfo
index c646a8b3c072..aeca23a0de07 100644
--- a/games/xdino/distinfo
+++ b/games/xdino/distinfo
@@ -1 +1 @@
-MD5 (xdino-5.4.4.tar.gz) = 2379e23b3cc2217b5579773e0b429c96
+MD5 (xdino-5.5.2.tar.gz) = 17d620ba9acf5842b15e1d16b4507bbe
diff --git a/games/xdino/pkg-descr b/games/xdino/pkg-descr
index 55eb94247f75..3dd56f643c0b 100644
--- a/games/xdino/pkg-descr
+++ b/games/xdino/pkg-descr
@@ -2,3 +2,5 @@ XDino, dino puzzle game for X-Window.
XDino is the puzzle game like as a rubik's cube, not 9 but 4 pieces
on a surface.
+
+WWW: http://www.tux.org/~bagleyd/puzzles.html
diff --git a/games/xeyesplus/Makefile b/games/xeyesplus/Makefile
index f6d812b63721..e7682b6be89c 100644
--- a/games/xeyesplus/Makefile
+++ b/games/xeyesplus/Makefile
@@ -9,7 +9,8 @@
DISTNAME= xeyes+2.01
PKGNAME= xeyes+-2.01
CATEGORIES= games
-MASTER_SITES= ftp://ftp.eos.hokudai.ac.jp/pub/X11/contrib/misc/
+MASTER_SITES= http://yindy1.aist-nara.ac.jp/~tetu-s/sofken/software/
+EXTRACT_SUFX= .tar.Z
MAINTAINER= nakai@FreeBSD.org
diff --git a/games/xeyesplus/distinfo b/games/xeyesplus/distinfo
index 89786a1632c8..e35443eb71b8 100644
--- a/games/xeyesplus/distinfo
+++ b/games/xeyesplus/distinfo
@@ -1 +1 @@
-MD5 (xeyes+2.01.tar.gz) = 72e8da2c65c8653388dd2fbd3ff5f113
+MD5 (xeyes+2.01.tar.Z) = 1ca1807e521985bb49ad5e219849c88d
diff --git a/games/xeyesplus/files/patch-aa b/games/xeyesplus/files/patch-aa
index a6ce8ba0f0bc..45e7a7ab13e9 100644
--- a/games/xeyesplus/files/patch-aa
+++ b/games/xeyesplus/files/patch-aa
@@ -1,17 +1,19 @@
-*** Imakefile.orig Thu May 5 07:58:34 1994
---- Imakefile Tue Oct 8 01:52:47 1996
+*** Imakefile.orig Thu May 5 16:58:34 1994
+--- Imakefile Thu Jan 15 00:00:00 2000
***************
*** 4,9 ****
# gcc
#CC = gcc
# CFLAGS = -O2 -Wall -DXPM -DUSLEEP
! CFLAGS =-DXPM -I/usr/local/X11R5/include/
- CDEBUGFLAGS =
+! CDEBUGFLAGS =
ComplexProgramTarget(xeyes+)
---- 4,9 ----
+--- 4,11 ----
# gcc
#CC = gcc
# CFLAGS = -O2 -Wall -DXPM -DUSLEEP
-! CFLAGS =-DXPM -I/usr/X11R6/include/ -L/usr/X11R6/lib
- CDEBUGFLAGS =
+! XCOMM CFLAGS =-DXPM -I/usr/local/X11R5/include/
+! XCOMM CDEBUGFLAGS =
+! DEFINES = -DXPM
+! INCLUDES = -I$(INCDIR)/X11
ComplexProgramTarget(xeyes+)
diff --git a/games/xgolgo/Makefile b/games/xgolgo/Makefile
index d8de42dff8f4..dc2ab0745988 100644
--- a/games/xgolgo/Makefile
+++ b/games/xgolgo/Makefile
@@ -9,16 +9,15 @@
DISTNAME= xeyes-g
PKGNAME= xgolgo-1.0
CATEGORIES= games
-MASTER_SITES= ftp://ftp.netlab.is.tsukuba.ac.jp/pub/X/our_collections/misc/
+MASTER_SITES= ftp://ftp.nemoto.ecei.tohoku.ac.jp/pub/X11/misc/
MAINTAINER= nakai@FreeBSD.org
WRKSRC= ${WRKDIR}/xeyes
USE_IMAKE= yes
-NO_INSTALL_MANPAGES= yes
MAN1= xgolgo.1
-post-install:
- ${INSTALL_MAN} ${WRKSRC}/xeyes.man ${PREFIX}/man/man1/xgolgo.1
+post-patch:
+ @${CP} ${WRKSRC}/xeyes.man ${WRKSRC}/xgolgo.man
.include <bsd.port.mk>
diff --git a/games/xpuyo/Makefile b/games/xpuyo/Makefile
index f2e72994a730..c304f64780b2 100644
--- a/games/xpuyo/Makefile
+++ b/games/xpuyo/Makefile
@@ -1,28 +1,28 @@
-# New ports collection makefile for: xpuyo
-# Version required: 0.0
-# Date created: 12 October 1996
-# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
+# New ports collection makefile for: xpuyo
+# Version required: 0.1
+# Date created: 12 October 1996
+# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#
-DISTNAME= xpuyo
-PKGNAME= xpuyo-0.0
+DISTNAME= xpuyo-0.1
CATEGORIES= games
MASTER_SITES= ftp://ftp.meme.hokudai.ac.jp/pub/games/
MAINTAINER= nakai@FreeBSD.org
+WRKSRC= ${WRKDIR}/xpuyo
USE_IMAKE= yes
XMKMF= xmkmf
-NO_INSTALL_MANPAGES=yes
+NO_INSTALL_MANPAGES= yes
RESTRICTED= "The author\'s ashamed of the quality of this version"
post-install:
@${CHMOD} 755 ${PREFIX}/bin/xpuyo
@${CHOWN} ${BINOWN}.${BINGRP} ${PREFIX}/bin/xpuyo
- ${MKDIR} ${PREFIX}/share/doc/xpuyo
+ @${MKDIR} ${PREFIX}/share/doc/xpuyo
${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/doc/xpuyo
.include <bsd.port.mk>
diff --git a/games/xpuyo/distinfo b/games/xpuyo/distinfo
index 7f41111b61e1..6054b70e59b6 100644
--- a/games/xpuyo/distinfo
+++ b/games/xpuyo/distinfo
@@ -1 +1 @@
-MD5 (xpuyo.tar.gz) = 241bb0145c9e45d6cde1881cfa409ee6
+MD5 (xpuyo-0.1.tar.gz) = 241bb0145c9e45d6cde1881cfa409ee6
diff --git a/games/xpuyo/pkg-descr b/games/xpuyo/pkg-descr
index 7f93aab9e855..aa392c597ab6 100644
--- a/games/xpuyo/pkg-descr
+++ b/games/xpuyo/pkg-descr
@@ -23,3 +23,5 @@ Start:
See more information read /usr/X11R6/share/doc/xpuyo/README.
Yukihiro Nakai<Nakai@Mlab.t.u-tokyo.ac.jp>
+
+WWW: http://ca.meme.hokudai.ac.jp/people/tak/puyo/puyo.html
diff --git a/games/xpuzzletama/Makefile b/games/xpuzzletama/Makefile
index f15e60ca8387..536cd644eafc 100644
--- a/games/xpuzzletama/Makefile
+++ b/games/xpuzzletama/Makefile
@@ -1,22 +1,20 @@
-# New ports collection makefile for: xpuzzletama
-# Version required: 1.5
-# Date created: 18 January 1997
-# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
+# New ports collection makefile for: xpuzzletama
+# Version required: 1.5b
+# Date created: 18 January 1997
+# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#
-DISTNAME= xpuzzletama
-PKGNAME= xpuzzletama-1.5
+DISTNAME= xpuzzletama-1.5b
CATEGORIES= games
-MASTER_SITES= http://neo.yanagi.gifu-u.ac.jp/~c94056/
-DISTFILES= PuzzleTama-ver1.5.tar.gz
+MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/os/linux/JG/JG-0.9.1/sources/
MAINTAINER= nakai@FreeBSD.org
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
-CONFIGURE_ENV= X11BASE=${X11BASE}
+WRKSRC= ${WRKDIR}/xpuzzletama
USE_IMAKE= yes
NO_INSTALL_MANPAGES= yes
diff --git a/games/xpuzzletama/distinfo b/games/xpuzzletama/distinfo
index e17398edfe68..e0d5de041f81 100644
--- a/games/xpuzzletama/distinfo
+++ b/games/xpuzzletama/distinfo
@@ -1 +1 @@
-MD5 (PuzzleTama-ver1.5.tar.gz) = 09f40c051941460ebdbeae1dc34a52fb
+MD5 (xpuzzletama-1.5b.tar.gz) = fa3fbe00c2acdcb54240f288c2946b4a
diff --git a/games/xpuzzletama/files/patch-aa b/games/xpuzzletama/files/patch-aa
index 3cf057e78936..6dfcf0b1ffed 100644
--- a/games/xpuzzletama/files/patch-aa
+++ b/games/xpuzzletama/files/patch-aa
@@ -1,8 +1,8 @@
-*** Imakefile.orig Wed Dec 4 15:42:03 1996
---- Imakefile Sat Jan 18 17:46:01 1997
+*** Imakefile.orig Thu Oct 15 19:24:34 1998
+--- Imakefile Thu Jan 15 00:00:00 2000
***************
*** 7,13 ****
- OBJS = xtama_init.o xtama_main.o xtama_move.o xtama_rensa.o xtama_score.o xtama_flush.o xtama_net.o
+ OBJS = $(SRCS:.c=.o)
#SCOREFILE = /opt/X11R6/lib/X11/tama_score
! SCOREFILE = ./.tama_score
@@ -10,27 +10,10 @@
# もしネットワーク対戦をサポートしないなら下の -DNET を削ってください。
# スコアファイルにロック機構が必要ないなら -DFILELOCK を付けてください。
--- 7,13 ----
- OBJS = xtama_init.o xtama_main.o xtama_move.o xtama_rensa.o xtama_score.o xtama_flush.o xtama_net.o
+ OBJS = $(SRCS:.c=.o)
#SCOREFILE = /opt/X11R6/lib/X11/tama_score
-! SCOREFILE = /usr/X11R6/lib/X11/xpuzzletama/tama_score
+! SCOREFILE = $(LIBDIR)/xpuzzletama/tama_score
# もしネットワーク対戦をサポートしないなら下の -DNET を削ってください。
# スコアファイルにロック機構が必要ないなら -DFILELOCK を付けてください。
-***************
-*** 23,29 ****
- # ※必ずどれかを指定して下さい。
- # 自分で作り直してもいいです。 (^^;
- # ↓ ↓ ↓ ↓
-! DEFINES = -DSFILE=\"${SCOREFILE}\" -DNET -DUSR_RAND
-
- #DEFINES = -DSFILE=\"${SCOREFILE}\" -DNET -DFILELOCK -I/opt/X11R6/include -DUSR_RANDOM
-
---- 23,29 ----
- # ※必ずどれかを指定して下さい。
- # 自分で作り直してもいいです。 (^^;
- # ↓ ↓ ↓ ↓
-! DEFINES = -DSFILE=\"${SCOREFILE}\" -DNET -DUSR_RANDOM
-
- #DEFINES = -DSFILE=\"${SCOREFILE}\" -DNET -DFILELOCK -I/opt/X11R6/include -DUSR_RANDOM
-
diff --git a/games/xpuzzletama/pkg-plist b/games/xpuzzletama/pkg-plist
index 09721d1f2e0d..b1a373d1a932 100644
--- a/games/xpuzzletama/pkg-plist
+++ b/games/xpuzzletama/pkg-plist
@@ -1,2 +1,3 @@
bin/xpuzzletama
lib/X11/xpuzzletama/tama_score
+@dirrm lib/X11/xpuzzletama
diff --git a/games/xrubik/Makefile b/games/xrubik/Makefile
index 21bf307854e4..5f9c17b7bb6c 100644
--- a/games/xrubik/Makefile
+++ b/games/xrubik/Makefile
@@ -1,12 +1,12 @@
-# New ports collection makefile for: xrubik
-# Version required: 5.4.4
+# New ports collection makefile for: xrubik
+# Version required: 5.5.2
# Date created: 20 October 1996
# Whom: Yukihiro Nakai <nakai@mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#
-DISTNAME= xrubik-5.4.4
+DISTNAME= xrubik-5.5.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= games/xpuzzles
@@ -18,7 +18,7 @@ USE_IMAKE= yes
MAN1= xrubik.1
MANCOMPRESSED= no
-post-install:
+do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xrubik ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/Rubik.ad ${PREFIX}/lib/X11/app-defaults/Rubik
${INSTALL_MAN} ${WRKSRC}/xrubik.man ${PREFIX}/man/man1/xrubik.1
diff --git a/games/xrubik/distinfo b/games/xrubik/distinfo
index 6d7d31786db5..929f20299fcd 100644
--- a/games/xrubik/distinfo
+++ b/games/xrubik/distinfo
@@ -1 +1 @@
-MD5 (xrubik-5.4.4.tar.gz) = b6ad899aa0559517ded199cb65e109d9
+MD5 (xrubik-5.5.2.tar.gz) = a8fc4e3688aa1a12ffa30375b704df13
diff --git a/games/xrubik/pkg-descr b/games/xrubik/pkg-descr
index ed39354c9c8f..c860d1b3359e 100644
--- a/games/xrubik/pkg-descr
+++ b/games/xrubik/pkg-descr
@@ -2,3 +2,5 @@ Xrubik, X-based rubik's cube(tm)
Rubik's cube is a puzzle that you put same color pieces to
the same faces on a cube.
+
+WWW: http://www.tux.org/~bagleyd/puzzles.html
diff --git a/games/xsokoban/Makefile b/games/xsokoban/Makefile
index bbfa6b0523fb..bc301db8a35b 100644
--- a/games/xsokoban/Makefile
+++ b/games/xsokoban/Makefile
@@ -1,7 +1,7 @@
-# New ports collection makefile for: xsokoban
-# Version required: 3.3b
-# Date created: 16 November 1996
-# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
+# New ports collection makefile for: xsokoban
+# Version required: 3.3c
+# Date created: 16 November 1996
+# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#
@@ -19,6 +19,9 @@ WRKSRC= ${WRKDIR}/xsokoban
ALL_TARGET= xsokoban
MAN1= xsokoban.1
+post-patch:
+ @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/config.h
+
post-install:
@${MKDIR} ${PREFIX}/lib/X11/xsokoban/scores \
${PREFIX}/lib/X11/xsokoban/bitmaps/defaults \
diff --git a/games/xsokoban/files/patch-aa b/games/xsokoban/files/patch-aa
index 89bc7c5a4fc1..355fb6bab0aa 100644
--- a/games/xsokoban/files/patch-aa
+++ b/games/xsokoban/files/patch-aa
@@ -1,5 +1,5 @@
-*** Imakefile.org Sun Nov 17 15:36:02 1996
---- Imakefile Sun Nov 17 15:36:36 1996
+*** Imakefile.orig Wed Aug 28 02:34:41 1996
+--- Imakefile Sat Jan 15 00:00:00 2000
***************
*** 1,7 ****
DEFINES= -DNDEBUG
@@ -9,12 +9,11 @@
# -lXpm is only needed if you are using Xpm.
SRCS= display.c main.c resources.c play.c score.c screen.c \
---- 1,8 ----
+--- 1,7 ----
DEFINES= -DNDEBUG
-! EXTRA_INCLUDES= -I/usr/local/include -I/usr/X11R6/include/X11 \
-! -I/usr/X11R6/include
+! EXTRA_INCLUDES= -I$(INCDIR)/X11
-! SYS_LIBRARIES= -L/usr/local/lib -L/usr/X11R6/lib -lXpm $(XLIB)
+! SYS_LIBRARIES= -lXpm $(XLIB)
# -lXpm is only needed if you are using Xpm.
SRCS= display.c main.c resources.c play.c score.c screen.c \
diff --git a/games/xsokoban/files/patch-ab b/games/xsokoban/files/patch-ab
index 395b4a0875cf..32d94ebae589 100644
--- a/games/xsokoban/files/patch-ab
+++ b/games/xsokoban/files/patch-ab
@@ -13,7 +13,7 @@
variable in the installed version, but you know best...
*/
#ifndef ROOTDIR
-! #define ROOTDIR "/usr/X11R6/lib/X11/xsokoban"
+! #define ROOTDIR "%%PREFIX%%/lib/X11/xsokoban"
#endif
/*
diff --git a/games/xsokoban/files/patch-ad b/games/xsokoban/files/patch-ad
new file mode 100644
index 000000000000..b8f11957c8d8
--- /dev/null
+++ b/games/xsokoban/files/patch-ad
@@ -0,0 +1,14 @@
+*** externs.h.orig Sun Apr 16 07:46:14 1995
+--- externs.h Sat Jan 15 00:00:00 2000
+***************
+*** 5,11 ****
+--- 5,13 ----
+ #include <X11/Xresource.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
++ #ifndef __STDC__
+ #include <malloc.h>
++ #endif
+
+ #ifdef NEED_NETINET_IN
+ #include <netinet/in.h>
diff --git a/games/xsokoban/pkg-descr b/games/xsokoban/pkg-descr
index b41e51b945e2..cab0254b2701 100644
--- a/games/xsokoban/pkg-descr
+++ b/games/xsokoban/pkg-descr
@@ -1,2 +1,4 @@
XSokoban is a puzzle of pushing objects. This is the X-Window version of
'Sokoban', developed in Japan.
+
+WWW: http://xsokoban.lcs.mit.edu/xsokoban.html
diff --git a/games/xsokoban/pkg-plist b/games/xsokoban/pkg-plist
index 56027470a284..aaa42fd3158c 100644
--- a/games/xsokoban/pkg-plist
+++ b/games/xsokoban/pkg-plist
@@ -135,6 +135,7 @@ lib/X11/xsokoban/screens/screen.88
lib/X11/xsokoban/screens/screen.89
lib/X11/xsokoban/screens/screen.9
lib/X11/xsokoban/screens/screen.90
+@unexec rm -f %D/lib/X11/xsokoban/scores/scores 2>/dev/null || true
@dirrm lib/X11/xsokoban/bitmaps/defaults
@dirrm lib/X11/xsokoban/bitmaps
@dirrm lib/X11/xsokoban/saves
diff --git a/games/xtriangles/Makefile b/games/xtriangles/Makefile
index b35bda65ca89..33d49763f50b 100644
--- a/games/xtriangles/Makefile
+++ b/games/xtriangles/Makefile
@@ -1,12 +1,12 @@
-# New ports collection makefile for: xtriangles
-# Version required: 5.4.4
-# Date created: 12 October 1996
-# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
+# New ports collection makefile for: xtriangles
+# Version required: 5.5.2
+# Date created: 12 October 1996
+# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $FreeBSD$
#
-DISTNAME= xtriangles-5.4.4
+DISTNAME= xtriangles-5.5.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= games/xpuzzles
@@ -18,10 +18,10 @@ USE_IMAKE= yes
MAN1= xtriangles.1
MANCOMPRESSED= no
-post-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/xtriangles ${PREFIX}/bin
- @${INSTALL_DATA} ${WRKSRC}/Triangles.ad \
- ${PREFIX}/lib/X11/app-defaults/Triangles
- @${INSTALL_MAN} ${WRKSRC}/xtriangles.man ${PREFIX}/man/man1/xtriangles.1
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xtriangles ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/Triangles.ad \
+ ${PREFIX}/lib/X11/app-defaults/Triangles
+ ${INSTALL_MAN} ${WRKSRC}/xtriangles.man ${PREFIX}/man/man1/xtriangles.1
.include <bsd.port.mk>
diff --git a/games/xtriangles/distinfo b/games/xtriangles/distinfo
index 05d516321296..ec60c4649cba 100644
--- a/games/xtriangles/distinfo
+++ b/games/xtriangles/distinfo
@@ -1 +1 @@
-MD5 (xtriangles-5.4.4.tar.gz) = 0b14d35754f0ec5857400ec7f356cf67
+MD5 (xtriangles-5.5.2.tar.gz) = 4291ff88fdae67bea78da16fa0e9b916
diff --git a/games/xtriangles/pkg-descr b/games/xtriangles/pkg-descr
index de159e06850a..95d9787046b8 100644
--- a/games/xtriangles/pkg-descr
+++ b/games/xtriangles/pkg-descr
@@ -1,3 +1,5 @@
XTriangles, triangle puzzle for X-Window
Your goal is to exchange the triangle panels to be in order.
+
+WWW: http://www.tux.org/~bagleyd/puzzles.html