aboutsummaryrefslogtreecommitdiff
path: root/games/xtris
diff options
context:
space:
mode:
Diffstat (limited to 'games/xtris')
-rw-r--r--games/xtris/Makefile21
-rw-r--r--games/xtris/distinfo1
-rw-r--r--games/xtris/files/patch-aa26
-rw-r--r--games/xtris/pkg-comment1
-rw-r--r--games/xtris/pkg-descr8
-rw-r--r--games/xtris/pkg-plist6
6 files changed, 63 insertions, 0 deletions
diff --git a/games/xtris/Makefile b/games/xtris/Makefile
new file mode 100644
index 000000000000..664e0b9c4f9f
--- /dev/null
+++ b/games/xtris/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: xtris
+# Version required: 1.15
+# Date created: 24. Sep 97
+# Whom: sec@42.org
+#
+# $Id$
+#
+
+DISTNAME= xtris-1.15
+CATEGORIES= games
+MASTER_SITES= http://www.eleves.ens.fr:8080/home/espel/xtris/
+
+MAINTAINER= sec@42.org
+
+RESTRICTED= "Possible trademark infringement"
+WRKSRC= ${WRKDIR}/xtris
+
+USE_X11= yes
+MAN6= xtris.6 xtserv.6 xtbot.6
+
+.include <bsd.port.mk>
diff --git a/games/xtris/distinfo b/games/xtris/distinfo
new file mode 100644
index 000000000000..824f98bc6396
--- /dev/null
+++ b/games/xtris/distinfo
@@ -0,0 +1 @@
+MD5 (xtris-1.15.tar.gz) = c63be31895feca9f929b57b67b779ced
diff --git a/games/xtris/files/patch-aa b/games/xtris/files/patch-aa
new file mode 100644
index 000000000000..716f4a6316b6
--- /dev/null
+++ b/games/xtris/files/patch-aa
@@ -0,0 +1,26 @@
+--- Makefile.orig Wed Apr 9 20:02:03 1997
++++ Makefile Wed Sep 24 13:28:50 1997
+@@ -11,19 +11,19 @@
+ CC = gcc
+
+ # change this to the directory where you want the xtris binaries installed
+-BINDIR = /usr/local/bin
++BINDIR = ${PREFIX}/bin
+
+ # change this to the directory where you want the xtris manpages installed
+-MANDIR = /usr/local/man
++MANDIR = ${PREFIX}/man
+
+ # change according to taste and local custom...
+-CFLAGS = -O3 -D__USE_FIXED_PROTOTYPES__
++CFLAGS = -O3 -D__USE_FIXED_PROTOTYPES__ -I${PREFIX}/include
+
+ # on Solaris and similar systems, you'll need to uncomment this:
+ # EXTRALIBS = -lnsl -lsocket
+
+ # specify X11 libdir if your system needs it
+-# XLIBDIR = -L/usr/X11/lib
++XLIBDIR = -L${PREFIX}/lib
+
+
+ ###########################################################################
diff --git a/games/xtris/pkg-comment b/games/xtris/pkg-comment
new file mode 100644
index 000000000000..cdf363dcc8cd
--- /dev/null
+++ b/games/xtris/pkg-comment
@@ -0,0 +1 @@
+a multi-player version of a popular game for the X Window system
diff --git a/games/xtris/pkg-descr b/games/xtris/pkg-descr
new file mode 100644
index 000000000000..6e62abb524af
--- /dev/null
+++ b/games/xtris/pkg-descr
@@ -0,0 +1,8 @@
+xtris is a version of an classical popular game, for any number of
+players, for the X Window system.
+
+xtris is a true client/server game (as opposed to a centralized game
+managing multiple displays), which makes it particularily responsive and
+bandwith-effective.
+
+xtris homepage: <http://www.eleves.ens.fr:8080/home/espel/xtris/>
diff --git a/games/xtris/pkg-plist b/games/xtris/pkg-plist
new file mode 100644
index 000000000000..5f350266d4ba
--- /dev/null
+++ b/games/xtris/pkg-plist
@@ -0,0 +1,6 @@
+bin/xtris
+bin/xtserv
+bin/xtbot
+man/man6/xtris.6.gz
+man/man6/xtserv.6.gz
+man/man6/xtbot.6.gz