summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/xpuyopuyo/Makefile18
-rw-r--r--games/xpuyopuyo/files/md53
-rw-r--r--games/xpuyopuyo/files/patch-sum5
-rw-r--r--games/xpuyopuyo/patches/patch-aa14
-rw-r--r--games/xpuyopuyo/patches/patch-ab15
-rw-r--r--games/xpuyopuyo/patches/patch-ac13
-rw-r--r--games/xpuyopuyo/pkg/COMMENT1
-rw-r--r--games/xpuyopuyo/pkg/DESCR6
-rw-r--r--games/xpuyopuyo/pkg/PLIST3
9 files changed, 78 insertions, 0 deletions
diff --git a/games/xpuyopuyo/Makefile b/games/xpuyopuyo/Makefile
new file mode 100644
index 00000000000..6fb3a552e7d
--- /dev/null
+++ b/games/xpuyopuyo/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/01/15 21:57:41 jlam Exp $
+
+DISTNAME= xpuyopuyo-0.3.1
+CATEGORIES= games x11
+MASTER_SITES= http://chaos2.org/xpuyopuyo/ \
+ http://lenin.dabney.caltech.edu./~justins/xpuyopuyo/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://chaos2.org/xpuyopuyo/
+
+DEPENDS+= gtk+-1.2.*:../../x11/gtk
+DEPENDS+= xpm-*:../../graphics/xpm
+
+USE_X11BASE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --without-gnome
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/xpuyopuyo/files/md5 b/games/xpuyopuyo/files/md5
new file mode 100644
index 00000000000..06c70fb4f4c
--- /dev/null
+++ b/games/xpuyopuyo/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/01/15 21:57:42 jlam Exp $
+
+MD5 (xpuyopuyo-0.3.1.tar.gz) = dbf25c1bea719d19586643901ce0fc3d
diff --git a/games/xpuyopuyo/files/patch-sum b/games/xpuyopuyo/files/patch-sum
new file mode 100644
index 00000000000..b9b255eae83
--- /dev/null
+++ b/games/xpuyopuyo/files/patch-sum
@@ -0,0 +1,5 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/01/15 21:57:42 jlam Exp $
+
+MD5 (patch-aa) = b489bf49fd036506288de052feee9722
+MD5 (patch-ab) = 910cfdd10113f20047f3006e0d3d6210
+MD5 (patch-ac) = 3ffd6714441db377bc6d997ac00844a2
diff --git a/games/xpuyopuyo/patches/patch-aa b/games/xpuyopuyo/patches/patch-aa
new file mode 100644
index 00000000000..2e54252baa3
--- /dev/null
+++ b/games/xpuyopuyo/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/01/15 21:57:42 jlam Exp $
+
+--- Makefile.in.orig Mon Jan 3 16:21:03 2000
++++ Makefile.in Sat Jan 15 16:23:39 2000
+@@ -506,7 +506,8 @@
+ mostlyclean distclean maintainer-clean
+
+
+-@GNOME_TRUE@install-data-local:
++install-data-local:
++ :
+ @GNOME_TRUE@ $(SHELL) ./mkinstalldirs $(GNOME_DESKTOP)
+ @GNOME_TRUE@ $(SHELL) ./mkinstalldirs $(GNOME_PIXMAPS)
+ @GNOME_TRUE@ $(INSTALL_DATA) xpuyopuyo.desktop $(GNOME_DESKTOP)/xpuyopuyo.desktop
diff --git a/games/xpuyopuyo/patches/patch-ab b/games/xpuyopuyo/patches/patch-ab
new file mode 100644
index 00000000000..d68e902a922
--- /dev/null
+++ b/games/xpuyopuyo/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/01/15 21:57:42 jlam Exp $
+
+--- pint-gtk/pkey-gtk.c.orig Mon Jan 3 00:51:41 2000
++++ pint-gtk/pkey-gtk.c Sat Jan 15 16:18:13 2000
+@@ -133,7 +133,9 @@
+ if(*p == '\n') *p = '\0';
+ else p++;
+ }
+- if(!(peq = p_config_break(buf, '='))) {
++ if(*buf == '#') {
++ continue;
++ } else if (!(peq = p_config_break(buf, '='))) {
+ printf("key_load: Invalid line found, \"%s\"\n", buf);
+ } else {
+ if(!(pcol = p_config_break(buf, ':'))) {
diff --git a/games/xpuyopuyo/patches/patch-ac b/games/xpuyopuyo/patches/patch-ac
new file mode 100644
index 00000000000..61a643bcf14
--- /dev/null
+++ b/games/xpuyopuyo/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/01/15 21:57:42 jlam Exp $
+
+--- pnet/pnetconnect.c.orig Mon Jan 3 00:21:12 2000
++++ pnet/pnetconnect.c Sat Jan 15 16:18:13 2000
+@@ -45,7 +45,7 @@
+ static int pnet_set_nonblocking(int socket) {
+
+ /* Setup the socket as nonblocking */
+- return(fcntl(socket, F_SETFL, FNONBLOCK));
++ return(fcntl(socket, F_SETFL, O_NONBLOCK));
+
+ }
+
diff --git a/games/xpuyopuyo/pkg/COMMENT b/games/xpuyopuyo/pkg/COMMENT
new file mode 100644
index 00000000000..7c9ceb6eeaf
--- /dev/null
+++ b/games/xpuyopuyo/pkg/COMMENT
@@ -0,0 +1 @@
+Tetris-like puzzle game
diff --git a/games/xpuyopuyo/pkg/DESCR b/games/xpuyopuyo/pkg/DESCR
new file mode 100644
index 00000000000..81e4f9c4fa2
--- /dev/null
+++ b/games/xpuyopuyo/pkg/DESCR
@@ -0,0 +1,6 @@
+Xpuyopuyo is a Tetris-like puzzle game where you strive to match up four
+"blobs" of the same color. Each match gives you points, and also dumps gray
+rocks on your opponent which are irritating and troublesome to get rid of.
+Multiple matches at one time score more points, and result in more rocks
+being dumped on the opponent (much to their dismay). First person to fill
+up their screen with puyopuyo blobs loses.
diff --git a/games/xpuyopuyo/pkg/PLIST b/games/xpuyopuyo/pkg/PLIST
new file mode 100644
index 00000000000..1b4b338b1d3
--- /dev/null
+++ b/games/xpuyopuyo/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/01/15 21:57:42 jlam Exp $
+bin/xpuyopuyo
+man/man1/xpuyopuyo.1