1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

Add new port: games/mancala

Implementation of the simple board game called Mancala.  Contains both a
user unfriendly character based interface, and a nice, user friendly X11
interface.  Be warned: If you just bother to read the rules, you may get
hooked on this!
This commit is contained in:
Jason Helfman 2019-11-22 00:50:06 +00:00
parent 24e04d3bff
commit c61c6eee20
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518120
4 changed files with 55 additions and 0 deletions

View File

@ -548,6 +548,7 @@
SUBDIR += mahjong
SUBDIR += maitretarot
SUBDIR += manaplus
SUBDIR += mancala
SUBDIR += mangband
SUBDIR += mari0
SUBDIR += marsnomercy

46
games/mancala/Makefile Normal file
View File

@ -0,0 +1,46 @@
# Created by: Jason Helfman <jgh@FreeBSD.org>
# $FreeBSD$
PORTNAME= mancala
PORTVERSION= 1.0.3
CATEGORIES= games
MASTER_SITES= https://shh.thathost.com/pub-unix/files/
MAINTAINER= jgh@FreeBSD.org
COMMENT= Implementation of the simple board game called Mancala
LICENSE= ART10
USES= gmake
OPTIONS_DEFINE= DOCS X11
OPTIONS_DEFAULT= X11
PORTDOCS= *
PLIST_FILES= bin/mancala
X11_LIB_DEPENDS= libforms.so:x11-toolkits/xforms
X11_PLIST_FILES= bin/xmancala
X11_ALL_TARGET= xmancala
ALL_TARGET= mancala
post-patch:
@${REINPLACE_CMD} -e 's|gcc|${CC}|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|^XINCDIR.*|XINCDIR = -I${LOCALBASE}/include|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|^XLIBDIR.*|XLIBDIR = -L${LOCALBASE}/lib|' \
${WRKSRC}/Makefile
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ChangeLog INSTALL NEWS README RULES
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
do-install-X11-on:
${INSTALL_SCRIPT} ${WRKSRC}/x${PORTNAME} ${STAGEDIR}${PREFIX}/bin/x${PORTNAME}
.include <bsd.port.mk>

3
games/mancala/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1572042290
SHA256 (mancala-1.0.3.tar.gz) = ca9fcacb687caea88a16d8ed0eacbbcc96235d591764c3ed92e9843a5f64eee8
SIZE (mancala-1.0.3.tar.gz) = 16516

5
games/mancala/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
Implementation of the simple board game called Mancala. Contains both a user
unfriendly character based interface, and a nice, user friendly X11 interface.
Be warned: If you just bother to read the rules, you may get hooked on this!
WWW: https://shh.thathost.com/pub-unix