aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-08-15 23:16:43 +0800
committersat <sat@FreeBSD.org>2007-08-15 23:16:43 +0800
commit3bbad51ad99520219fd9c8953c91e6141d8b187f (patch)
tree453e323a02b49975ab44e56c91dfda1bd9a7859e /games
parentb4bdba77a0bd67b960781c164bdc4a12319ba07a (diff)
downloadfreebsd-ports-gnome-3bbad51ad99520219fd9c8953c91e6141d8b187f.tar.gz
freebsd-ports-gnome-3bbad51ad99520219fd9c8953c91e6141d8b187f.tar.zst
freebsd-ports-gnome-3bbad51ad99520219fd9c8953c91e6141d8b187f.zip
Add yet another implementation of awale - games/awale:
Awale or Oware is a game of great antiquity, and has been played around the world in various forms for millenia. Currently it is the official board game of Africa. Wikipedia: http://en.wikipedia.org/wiki/Oware WWW: http://www.nongnu.org/awale/ Author: Alain Le Bot <alain.le-bot@ec-lyon.fr>
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/awale/Makefile33
-rw-r--r--games/awale/distinfo3
-rw-r--r--games/awale/pkg-descr7
-rw-r--r--games/awale/pkg-plist20
5 files changed, 64 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 599fbfe1a4f1..a1a8856aa77a 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -56,6 +56,7 @@
SUBDIR += atris
SUBDIR += atris-sounds
SUBDIR += avanor
+ SUBDIR += awale
SUBDIR += awele
SUBDIR += balazar
SUBDIR += balazarbrothers
diff --git a/games/awale/Makefile b/games/awale/Makefile
new file mode 100644
index 000000000000..211b9cc42a25
--- /dev/null
+++ b/games/awale/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: awale
+# Date created: 15 August 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= awale
+PORTVERSION= 1.1
+CATEGORIES= games
+MASTER_SITES= SAVANNAH CENKES
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= African board game
+
+USE_TK_RUN= yes
+GNU_CONFIGURE= yes
+PORTDOCS= AUTHORS ChangeLog NEWS README THANKS
+MAN1= ${PORTNAME}.1 x${PORTNAME}.1
+PATCH_TK_SCRIPTS= src/xawale.tcl
+
+pre-patch:
+ @${REINPLACE_CMD} -e '/^#define.*VERSION/d' ${WRKSRC}/src/awale.c
+ @${REINPLACE_CMD} -e '/^pkgdatadir =/s|=.*|=${DATADIR}|'\
+ ${WRKSRC}/src/Makefile.in
+
+post-install:
+.ifndef NOPORTDOCS
+ @${INSTALL} -d ${DOCSDIR}
+ @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/awale/distinfo b/games/awale/distinfo
new file mode 100644
index 000000000000..670f2f4b05f1
--- /dev/null
+++ b/games/awale/distinfo
@@ -0,0 +1,3 @@
+MD5 (awale-1.1.tar.gz) = 6ccfd445f061fb85a9c97bef4d3425f4
+SHA256 (awale-1.1.tar.gz) = f951eaea0de5257bdf9970ccb49edb16cf5a2cb6e577572831b4c28be2ee792f
+SIZE (awale-1.1.tar.gz) = 431347
diff --git a/games/awale/pkg-descr b/games/awale/pkg-descr
new file mode 100644
index 000000000000..d4bad7f39061
--- /dev/null
+++ b/games/awale/pkg-descr
@@ -0,0 +1,7 @@
+Awale or Oware is a game of great antiquity, and has been played around
+the world in various forms for millenia. Currently it is the official
+board game of Africa.
+
+Wikipedia: http://en.wikipedia.org/wiki/Oware
+WWW: http://www.nongnu.org/awale/
+Author: Alain Le Bot <alain.le-bot@ec-lyon.fr>
diff --git a/games/awale/pkg-plist b/games/awale/pkg-plist
new file mode 100644
index 000000000000..2cec9caa9a11
--- /dev/null
+++ b/games/awale/pkg-plist
@@ -0,0 +1,20 @@
+bin/awale
+bin/xawale
+%%DATADIR%%/Awale.gif
+%%DATADIR%%/README
+%%DATADIR%%/Trou00.gif
+%%DATADIR%%/Trou01.gif
+%%DATADIR%%/Trou02.gif
+%%DATADIR%%/Trou03.gif
+%%DATADIR%%/Trou04.gif
+%%DATADIR%%/Trou05.gif
+%%DATADIR%%/Trou06.gif
+%%DATADIR%%/Trou07.gif
+%%DATADIR%%/Trou08.gif
+%%DATADIR%%/Trou09.gif
+%%DATADIR%%/awale.png
+%%DATADIR%%/copyright.gif
+%%DATADIR%%/fr.gif
+%%DATADIR%%/uk.gif
+%%DATADIR%%/xawale.tcl
+@dirrm %%DATADIR%%