summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-07-31 00:20:33 +0000
committernaddy <naddy@FreeBSD.org>2003-07-31 00:20:33 +0000
commitccec84008bbbc1daccff29f5d3318885d50b7abc (patch)
treeac162973a3dec68c6550959040eb15d1dbec154f
parent9236b3db6049515623e7648f7a2603caae7677bb (diff)
downloadFreeBSD-ports-ccec84008bbbc1daccff29f5d3318885d50b7abc.zip
FreeBSD-ports-ccec84008bbbc1daccff29f5d3318885d50b7abc.tar.gz
Import Xcheckers 2.1.
Xcheckers is a checkers simulation for X11. PR: 47472 Submitted by: Simon Barner <barner@gmx.de>
-rw-r--r--games/Makefile1
-rw-r--r--games/xcheckers/Makefile29
-rw-r--r--games/xcheckers/distinfo1
-rw-r--r--games/xcheckers/files/patch-simplech.src_Imakefile15
-rw-r--r--games/xcheckers/files/patch-xcheckers.src_Imakefile21
-rw-r--r--games/xcheckers/files/patch-xcheckers.src_xcheckers.man29
-rw-r--r--games/xcheckers/pkg-descr10
-rw-r--r--games/xcheckers/pkg-plist8
8 files changed, 114 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 0c30831..1ad9fba 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -404,6 +404,7 @@
SUBDIR += xbubble
SUBDIR += xchadance
SUBDIR += xchain
+ SUBDIR += xcheckers
SUBDIR += xchomp
SUBDIR += xcogitate
SUBDIR += xconq
diff --git a/games/xcheckers/Makefile b/games/xcheckers/Makefile
new file mode 100644
index 0000000..1833568
--- /dev/null
+++ b/games/xcheckers/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: xcheckers
+# Date created: 25 January 2003
+# Whom: Simon Barner <barner@gmx.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xcheckers
+PORTVERSION= 2.1
+CATEGORIES= games
+MASTER_SITES= http://arton.cunst.net/xcheckers/
+
+MAINTAINER= barner@gmx.de
+COMMENT= A checkers game for X11
+
+USE_IMAKE= yes
+USE_REINPLACE= yes
+
+MAN6= xcheckers.6 simplech.6
+
+# included by both imake and sh
+post-patch:
+ @${REINPLACE_CMD} '/^#/d' ${WRKSRC}/Local.config
+
+pre-install:
+ @${REINPLACE_CMD} 's:@X11BASE@:${X11BASE}:g' \
+ ${WRKSRC}/xcheckers.src/xcheckers.man
+
+.include <bsd.port.mk>
diff --git a/games/xcheckers/distinfo b/games/xcheckers/distinfo
new file mode 100644
index 0000000..507cfaa
--- /dev/null
+++ b/games/xcheckers/distinfo
@@ -0,0 +1 @@
+MD5 (xcheckers-2.1.tar.gz) = 15e66803a332b41a7b7375f58d0bb679
diff --git a/games/xcheckers/files/patch-simplech.src_Imakefile b/games/xcheckers/files/patch-simplech.src_Imakefile
new file mode 100644
index 0000000..2f04816fa
--- /dev/null
+++ b/games/xcheckers/files/patch-simplech.src_Imakefile
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- simplech.src/Imakefile.orig Mon Oct 9 14:27:40 2000
++++ simplech.src/Imakefile Wed Jul 30 20:46:21 2003
+@@ -3,9 +3,7 @@
+
+ # CDEBUGFLAGS = -g -Wall -O3
+ CDEBUGFLAGS = -Wall -O3
+- CC = gcc
+
+- PREFIX = /usr/local
+ BINDIR = $(PREFIX)/bin
+ MANDIR = $(PREFIX)/man/man6
+ MANSUFFIX = 6
diff --git a/games/xcheckers/files/patch-xcheckers.src_Imakefile b/games/xcheckers/files/patch-xcheckers.src_Imakefile
new file mode 100644
index 0000000..1bcadb0
--- /dev/null
+++ b/games/xcheckers/files/patch-xcheckers.src_Imakefile
@@ -0,0 +1,21 @@
+
+$FreeBSD$
+
+--- xcheckers.src/Imakefile.orig Sun Dec 9 19:43:13 2001
++++ xcheckers.src/Imakefile Wed Jul 30 20:46:21 2003
+@@ -3,7 +3,6 @@
+ # Imakefile for xcheckers
+ # Don Okt 21 12:38:50 CEST 1999
+
+- PREFIX = /usr/local
+ BINDIR = $(PREFIX)/bin
+ MANDIR = $(PREFIX)/man/man6
+ MANSUFFIX = 6
+@@ -13,7 +12,6 @@
+
+ CDEBUGFLAGS = -g -Wall -O2
+ # CDEBUGFLAGS = -Wall -O3
+- CC = gcc
+
+ INCLUDES = -I./
+ LOCAL_LIBRARIES = $(XPMLIB) $(XLIB)
diff --git a/games/xcheckers/files/patch-xcheckers.src_xcheckers.man b/games/xcheckers/files/patch-xcheckers.src_xcheckers.man
new file mode 100644
index 0000000..a5cd640
--- /dev/null
+++ b/games/xcheckers/files/patch-xcheckers.src_xcheckers.man
@@ -0,0 +1,29 @@
+
+$FreeBSD$
+
+--- xcheckers.src/xcheckers.man.orig Thu Aug 10 14:18:52 2000
++++ xcheckers.src/xcheckers.man Wed Jul 30 20:46:21 2003
+@@ -89,7 +89,7 @@
+ in
+ .I ~/.xcheckersrc
+ and in
+-.I /usr/lib/X11/app-defaults/XCheckers.
++.I @X11BASE@/lib/X11/app-defaults/XCheckers.
+ (First mentioned places overriding)
+
+ .TP
+@@ -131,11 +131,11 @@
+ Read in at startup to determine player name.
+
+ .SH FILES
+-.I /usr/lib/X11/app-defaults/XCheckers,
++.I @X11BASE@/lib/X11/app-defaults/XCheckers,
+ .br
+-.I /usr/lib/X11/xcheckers/scene.xpm,
++.I @X11BASE@/share/xcheckers/scene.xpm,
+ .br
+-.I /usr/lib/X11/xcheckers/stars.xpm
++.I @X11BASE@/share/xcheckers/stars.xpm
+
+ .SH SEE ALSO
+ .BR simplech (6),
diff --git a/games/xcheckers/pkg-descr b/games/xcheckers/pkg-descr
new file mode 100644
index 0000000..4847343
--- /dev/null
+++ b/games/xcheckers/pkg-descr
@@ -0,0 +1,10 @@
+Xcheckers is a checkers simulation for X11.
+
+Features:
+ * Computer opponents with variable playing skills
+ * Matched against human opponents over the internet
+
+- Simon Barner
+barner@gmx.de
+
+WWW: http://arton.cunst.net/xcheckers/index.html
diff --git a/games/xcheckers/pkg-plist b/games/xcheckers/pkg-plist
new file mode 100644
index 0000000..4fcecb0
--- /dev/null
+++ b/games/xcheckers/pkg-plist
@@ -0,0 +1,8 @@
+@comment $FreeBSD$
+bin/simplech
+bin/xcheckers
+share/xcheckers/big.xpm
+share/xcheckers/scene.xpm
+share/xcheckers/stars.xpm
+lib/X11/app-defaults/XCheckers
+@dirrm share/xcheckers
OpenPOWER on IntegriCloud