aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/xothello/Makefile29
-rw-r--r--games/xothello/distinfo1
-rw-r--r--games/xothello/files/patch-aa32
-rw-r--r--games/xothello/files/patch-ab11
-rw-r--r--games/xothello/pkg-comment1
-rw-r--r--games/xothello/pkg-descr1
-rw-r--r--games/xothello/pkg-plist1
7 files changed, 76 insertions, 0 deletions
diff --git a/games/xothello/Makefile b/games/xothello/Makefile
new file mode 100644
index 000000000000..a35d46dbf0e3
--- /dev/null
+++ b/games/xothello/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: xothello
+# Version required: 0.01
+# Date created: 31 March 1998
+# Whom: Andrey Zakhvatov
+#
+# $Id$
+#
+
+DISTNAME= xothello
+PKGNAME= xothello-0.01
+CATEGORIES= games x11
+MASTER_SITES= http://makosteszta.sote.hu/linux/othello/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= andy@icc.surw.chel.su
+
+LIB_DEPENDS= xforms\\.0\\.:${PORTSDIR}/x11/xforms
+
+NO_CDROM= Possible trademark infringement
+
+USE_X11= yes
+
+pre-build:
+ @ ${RM} ${WRKSRC}/xothello
+
+do-install:
+ @ ${INSTALL_PROGRAM} ${WRKSRC}/xothello ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/games/xothello/distinfo b/games/xothello/distinfo
new file mode 100644
index 000000000000..6cfef6481f91
--- /dev/null
+++ b/games/xothello/distinfo
@@ -0,0 +1 @@
+MD5 (xothello.tgz) = d5f8379eaf04286982ef064a324a3b7d
diff --git a/games/xothello/files/patch-aa b/games/xothello/files/patch-aa
new file mode 100644
index 000000000000..5f9456721d8c
--- /dev/null
+++ b/games/xothello/files/patch-aa
@@ -0,0 +1,32 @@
+--- Makefile.orig Sat Feb 15 13:00:15 1997
++++ Makefile Thu Apr 23 22:03:27 1998
+@@ -8,14 +8,14 @@
+ # Flags that might be overriden by top makefile
+ #=================================================================
+
+-CC = gcc
+-CCFLAG = -O2 -Wall -fno-strength-reduce
+-LDFLAG = -O
++#CC = gcc
++#CCFLAG = -O2 -Wall -fno-strength-reduce
++#LDFLAG = -O
+ SYSLIB = -lX11 -lm
+-XINCLUDE= -I/usr/X11R6/include
+-XLIB = -L/usr/X11R6/lib
++XINCLUDE= -I$(X11BASE)/include
++XLIB = -L$(X11BASE)/lib
+
+-INSTDIR = /usr/local
++INSTDIR = $(PREFIX)
+ BINDIR = $(INSTDIR)/bin
+ INSTALL = install
+
+@@ -25,7 +25,7 @@
+
+ CFLAGS = $(CCFLAG) $(XINCLUDE)
+ LDFLAGS = $(LDFLAG)
+-LIBS = -lforms $(SYSLIB) $(XLIB)
++LIBS = -lxforms $(SYSLIB) $(XLIB)
+
+ #=================================================================
+
diff --git a/games/xothello/files/patch-ab b/games/xothello/files/patch-ab
new file mode 100644
index 000000000000..8102426a0c7e
--- /dev/null
+++ b/games/xothello/files/patch-ab
@@ -0,0 +1,11 @@
+--- xothello.c Sat Feb 15 18:01:04 1997
++++ /home/andy/tmp/wrk/xothello.c Tue Mar 31 22:17:37 1998
+@@ -618,7 +618,7 @@
+ void
+ Usage(void)
+ {
+- USEPRT("Usage: othello [options]\n\n");
++ USEPRT("Usage: xothello [options]\n\n");
+ USEPRT("Options:\n");
+ USEPRT(" -level <levelnr> [default=3, min=1, max=9]\n");
+ USEPRT(" -changexo\n");
diff --git a/games/xothello/pkg-comment b/games/xothello/pkg-comment
new file mode 100644
index 000000000000..b0cb94038478
--- /dev/null
+++ b/games/xothello/pkg-comment
@@ -0,0 +1 @@
+Othello aka Reversi game for X Window.
diff --git a/games/xothello/pkg-descr b/games/xothello/pkg-descr
new file mode 100644
index 000000000000..31b5ae6454a0
--- /dev/null
+++ b/games/xothello/pkg-descr
@@ -0,0 +1 @@
+ Othello aka Reversi game for X Window.
diff --git a/games/xothello/pkg-plist b/games/xothello/pkg-plist
new file mode 100644
index 000000000000..a92ba270c8b4
--- /dev/null
+++ b/games/xothello/pkg-plist
@@ -0,0 +1 @@
+bin/xothello