aboutsummaryrefslogtreecommitdiff
path: root/games/pyawale
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-08-15 14:32:55 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-08-15 14:32:55 +0000
commit689acad3cc1ec0a6a883c71b835c155c9690be81 (patch)
treebc8d8148965fbfe09ed39ed8eeea014038e32e6e /games/pyawale
parente8f6032282b06a29d710391780ac0f916a2d8a9b (diff)
downloadports-689acad3cc1ec0a6a883c71b835c155c9690be81.tar.gz
ports-689acad3cc1ec0a6a883c71b835c155c9690be81.zip
Notes
Diffstat (limited to 'games/pyawale')
-rw-r--r--games/pyawale/Makefile36
-rw-r--r--games/pyawale/distinfo3
-rw-r--r--games/pyawale/pkg-descr7
-rw-r--r--games/pyawale/pkg-plist79
4 files changed, 125 insertions, 0 deletions
diff --git a/games/pyawale/Makefile b/games/pyawale/Makefile
new file mode 100644
index 000000000000..d896791ee2e4
--- /dev/null
+++ b/games/pyawale/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: pyawale
+# Date created: 14 August 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pyawale
+PORTVERSION= 0.3.1
+CATEGORIES= games
+MASTER_SITES= http://download.gna.org/pyawale/ CENKES
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= African board game
+
+RUN_DEPENDS= py*-game>=1.7.1:${PORTSDIR}/devel/py-game
+
+USE_PYTHON= yes
+PORTDOCS= AUTHORS ChangeLog NEWS README
+
+do-build:
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/src/
+ @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/src/
+ @${ECHO_CMD} "#!/bin/sh" > ${WRKSRC}/${PORTNAME}
+ @${ECHO_CMD} "exec ${PYTHON_CMD} ${DATADIR}/src/pyawale.py"\
+ >> ${WRKSRC}/${PORTNAME}
+
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+ @cd ${WRKSRC}/&&${COPYTREE_SHARE} "data doc src" ${DATADIR}/
+.ifndef NOPORTDOCS
+ @${INSTALL} -d ${DOCSDIR}
+ @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/pyawale/distinfo b/games/pyawale/distinfo
new file mode 100644
index 000000000000..15e9993b19c2
--- /dev/null
+++ b/games/pyawale/distinfo
@@ -0,0 +1,3 @@
+MD5 (pyawale-0.3.1.tar.gz) = 9a7ef0e81cae0f96bd04c0f0a2ce8b1a
+SHA256 (pyawale-0.3.1.tar.gz) = c7e69a3a759a3a4eafdad977264d7e9abe33ac0bb4050f02eec742203e37c029
+SIZE (pyawale-0.3.1.tar.gz) = 2742323
diff --git a/games/pyawale/pkg-descr b/games/pyawale/pkg-descr
new file mode 100644
index 000000000000..d90ae834e2f1
--- /dev/null
+++ b/games/pyawale/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: https://gna.org/projects/pyawale/
+Author: MiKael Navarro <klnavarro@gmail.com>
diff --git a/games/pyawale/pkg-plist b/games/pyawale/pkg-plist
new file mode 100644
index 000000000000..c730b5812633
--- /dev/null
+++ b/games/pyawale/pkg-plist
@@ -0,0 +1,79 @@
+bin/pyawale
+%%DATADIR%%/data/awale_board_closed.png
+%%DATADIR%%/data/awale_board_empty.png
+%%DATADIR%%/data/awale_north_0.png
+%%DATADIR%%/data/awale_north_1.png
+%%DATADIR%%/data/awale_north_10.png
+%%DATADIR%%/data/awale_north_11.png
+%%DATADIR%%/data/awale_north_12.png
+%%DATADIR%%/data/awale_north_13.png
+%%DATADIR%%/data/awale_north_14.png
+%%DATADIR%%/data/awale_north_15.png
+%%DATADIR%%/data/awale_north_16.png
+%%DATADIR%%/data/awale_north_17.png
+%%DATADIR%%/data/awale_north_18.png
+%%DATADIR%%/data/awale_north_19.png
+%%DATADIR%%/data/awale_north_2.png
+%%DATADIR%%/data/awale_north_20.png
+%%DATADIR%%/data/awale_north_21.png
+%%DATADIR%%/data/awale_north_22.png
+%%DATADIR%%/data/awale_north_23.png
+%%DATADIR%%/data/awale_north_24.png
+%%DATADIR%%/data/awale_north_25.png
+%%DATADIR%%/data/awale_north_3.png
+%%DATADIR%%/data/awale_north_4.png
+%%DATADIR%%/data/awale_north_5.png
+%%DATADIR%%/data/awale_north_6.png
+%%DATADIR%%/data/awale_north_7.png
+%%DATADIR%%/data/awale_north_8.png
+%%DATADIR%%/data/awale_north_9.png
+%%DATADIR%%/data/awale_seed_0.png
+%%DATADIR%%/data/awale_seed_10d.png
+%%DATADIR%%/data/awale_seed_11d.png
+%%DATADIR%%/data/awale_seed_12d.png
+%%DATADIR%%/data/awale_seed_1d.png
+%%DATADIR%%/data/awale_seed_2c.png
+%%DATADIR%%/data/awale_seed_3b.png
+%%DATADIR%%/data/awale_seed_4D.png
+%%DATADIR%%/data/awale_seed_5d.png
+%%DATADIR%%/data/awale_seed_6c.png
+%%DATADIR%%/data/awale_seed_7b.png
+%%DATADIR%%/data/awale_seed_8e.png
+%%DATADIR%%/data/awale_seed_9d.png
+%%DATADIR%%/data/awale_south_0.png
+%%DATADIR%%/data/awale_south_1.png
+%%DATADIR%%/data/awale_south_10.png
+%%DATADIR%%/data/awale_south_11.png
+%%DATADIR%%/data/awale_south_12.png
+%%DATADIR%%/data/awale_south_13.png
+%%DATADIR%%/data/awale_south_14.png
+%%DATADIR%%/data/awale_south_15.png
+%%DATADIR%%/data/awale_south_16.png
+%%DATADIR%%/data/awale_south_17.png
+%%DATADIR%%/data/awale_south_18.png
+%%DATADIR%%/data/awale_south_19.png
+%%DATADIR%%/data/awale_south_2.png
+%%DATADIR%%/data/awale_south_20.png
+%%DATADIR%%/data/awale_south_21.png
+%%DATADIR%%/data/awale_south_22.png
+%%DATADIR%%/data/awale_south_23.png
+%%DATADIR%%/data/awale_south_24.png
+%%DATADIR%%/data/awale_south_25.png
+%%DATADIR%%/data/awale_south_3.png
+%%DATADIR%%/data/awale_south_4.png
+%%DATADIR%%/data/awale_south_5.png
+%%DATADIR%%/data/awale_south_6.png
+%%DATADIR%%/data/awale_south_7.png
+%%DATADIR%%/data/awale_south_8.png
+%%DATADIR%%/data/awale_south_9.png
+%%DATADIR%%/doc/awale.rest
+%%DATADIR%%/src/awale.py
+%%DATADIR%%/src/awale.pyc
+%%DATADIR%%/src/awale.pyo
+%%DATADIR%%/src/pyawale.py
+%%DATADIR%%/src/pyawale.pyc
+%%DATADIR%%/src/pyawale.pyo
+@dirrm %%DATADIR%%/data
+@dirrm %%DATADIR%%/doc
+@dirrm %%DATADIR%%/src
+@dirrm %%DATADIR%%