aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/Makefile1
-rw-r--r--games/sdlCC/Makefile29
-rw-r--r--games/sdlCC/distinfo3
-rw-r--r--games/sdlCC/files/patch-libltdl_configure12
-rw-r--r--games/sdlCC/files/patch-players_players.txt8
-rw-r--r--games/sdlCC/pkg-descr8
-rw-r--r--games/sdlCC/pkg-plist45
7 files changed, 106 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index a2d6ebd8c9bb..2c022030fc08 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -679,6 +679,7 @@
SUBDIR += scummvm
SUBDIR += scummvm-tools
SUBDIR += sdb
+ SUBDIR += sdlCC
SUBDIR += sdlquake2
SUBDIR += sdlroids
SUBDIR += sdlsand
diff --git a/games/sdlCC/Makefile b/games/sdlCC/Makefile
new file mode 100644
index 000000000000..275bff656ac0
--- /dev/null
+++ b/games/sdlCC/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: sdlCC
+# Date created: 21 November 2007
+# Whom: Frank W. Josellis <frank@dynamical-systems.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sdlCC
+PORTVERSION= 0.0.0
+CATEGORIES= games
+MASTER_SITES= http://chinesecheckers.vegard2.no/ \
+ http://jcatki.no-ip.org/files/
+
+MAINTAINER= frank@dynamical-systems.org
+COMMENT= An extensible chinese checkers game using SDL
+
+USE_SDL= image mixer sdl
+GNU_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/players/README ${DOCSDIR}/README.players
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/games/sdlCC/distinfo b/games/sdlCC/distinfo
new file mode 100644
index 000000000000..f3e2d35550ad
--- /dev/null
+++ b/games/sdlCC/distinfo
@@ -0,0 +1,3 @@
+MD5 (sdlCC-0.0.0.tar.gz) = d634e3dfba5907c9c5bc0ad1950f1f75
+SHA256 (sdlCC-0.0.0.tar.gz) = 52fef5878225a4f1595dbbb82f5219d8546545c61f10e55c1f55b337ee661767
+SIZE (sdlCC-0.0.0.tar.gz) = 1035506
diff --git a/games/sdlCC/files/patch-libltdl_configure b/games/sdlCC/files/patch-libltdl_configure
new file mode 100644
index 000000000000..ff082fcef41e
--- /dev/null
+++ b/games/sdlCC/files/patch-libltdl_configure
@@ -0,0 +1,12 @@
+--- libltdl/configure.orig 2001-11-22 17:38:57.000000000 +0100
++++ libltdl/configure 2007-11-21 20:49:28.000000000 +0100
+@@ -562,7 +562,8 @@
+
+ *)
+ if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
+- echo "configure: warning: $ac_option: invalid host type" 1>&2
++ #echo "configure: warning: $ac_option: invalid host type" 1>&2
++ continue
+ fi
+ if test "x$nonopt" != xNONE; then
+ { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
diff --git a/games/sdlCC/files/patch-players_players.txt b/games/sdlCC/files/patch-players_players.txt
new file mode 100644
index 000000000000..427b9bb2d16f
--- /dev/null
+++ b/games/sdlCC/files/patch-players_players.txt
@@ -0,0 +1,8 @@
+--- players/players.txt.orig 1970-01-01 00:00:00.000000000 +0100
++++ players/players.txt 2007-11-21 20:49:28.000000000 +0100
+@@ -0,0 +1,5 @@
++slider
++jumper
++robo
++random
++mm
diff --git a/games/sdlCC/pkg-descr b/games/sdlCC/pkg-descr
new file mode 100644
index 000000000000..a93286132b7e
--- /dev/null
+++ b/games/sdlCC/pkg-descr
@@ -0,0 +1,8 @@
+This is a Chinese Checkers game, it has 5 AI players, and can easily support
+more for any hackers out there. It uses SDL and runs great in plain X11.
+It has some fun effects to liven things up a bit.
+
+Multiplayer is supported on the same computer, although a net player would
+not be hard to add given the plugin player feature.
+
+WWW: http://jcatki.no-ip.org/CC/
diff --git a/games/sdlCC/pkg-plist b/games/sdlCC/pkg-plist
new file mode 100644
index 000000000000..8976132079d1
--- /dev/null
+++ b/games/sdlCC/pkg-plist
@@ -0,0 +1,45 @@
+bin/sdlCC
+lib/sdlCC/images/CC.png
+lib/sdlCC/images/CCBlueMarble.png
+lib/sdlCC/images/CCBoard.png
+lib/sdlCC/images/CCCyanMarble.png
+lib/sdlCC/images/CCGadget1.png
+lib/sdlCC/images/CCGadget2.png
+lib/sdlCC/images/CCGadget3.png
+lib/sdlCC/images/CCGreenMarble.png
+lib/sdlCC/images/CCPurpleMarble.png
+lib/sdlCC/images/CCRedMarble.png
+lib/sdlCC/images/CCSelection.png
+lib/sdlCC/images/CCTitle.png
+lib/sdlCC/images/CCYellowMarble.png
+lib/sdlCC/images/font.png
+lib/sdlCC/players/jumper.la
+lib/sdlCC/players/jumper.so
+lib/sdlCC/players/mm.la
+lib/sdlCC/players/mm.so
+lib/sdlCC/players/players.txt
+lib/sdlCC/players/random.la
+lib/sdlCC/players/random.so
+lib/sdlCC/players/robo.la
+lib/sdlCC/players/robo.so
+lib/sdlCC/players/slider.la
+lib/sdlCC/players/slider.so
+lib/sdlCC/sounds/Chipgene.mod
+lib/sdlCC/sounds/DesertDreamVol.mod
+lib/sdlCC/sounds/Kakofonia.mod
+lib/sdlCC/sounds/TeadropInAPot.mod
+lib/sdlCC/sounds/awman.wav
+lib/sdlCC/sounds/click.wav
+lib/sdlCC/sounds/clickoff.wav
+lib/sdlCC/sounds/computer.wav
+lib/sdlCC/sounds/hmm.wav
+lib/sdlCC/sounds/lemon.mod
+lib/sdlCC/sounds/marble.wav
+lib/sdlCC/sounds/woohoo.wav
+@dirrm lib/sdlCC/sounds
+@dirrm lib/sdlCC/players
+@dirrm lib/sdlCC/images
+@dirrm lib/sdlCC
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.players
+%%PORTDOCS%%@dirrm %%DOCSDIR%%