Date: Fri, 22 Nov 2019 00:50:06 +0000 (UTC) From: Jason Helfman <jgh@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r518120 - in head/games: . mancala Message-ID: <201911220050.xAM0o6Qd025713@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jgh Date: Fri Nov 22 00:50:06 2019 New Revision: 518120 URL: https://svnweb.freebsd.org/changeset/ports/518120 Log: 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! Added: head/games/mancala/ head/games/mancala/Makefile (contents, props changed) head/games/mancala/distinfo (contents, props changed) head/games/mancala/pkg-descr (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Fri Nov 22 00:39:22 2019 (r518119) +++ head/games/Makefile Fri Nov 22 00:50:06 2019 (r518120) @@ -548,6 +548,7 @@ SUBDIR += mahjong SUBDIR += maitretarot SUBDIR += manaplus + SUBDIR += mancala SUBDIR += mangband SUBDIR += mari0 SUBDIR += marsnomercy Added: head/games/mancala/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/mancala/Makefile Fri Nov 22 00:50:06 2019 (r518120) @@ -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> Added: head/games/mancala/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/mancala/distinfo Fri Nov 22 00:50:06 2019 (r518120) @@ -0,0 +1,3 @@ +TIMESTAMP = 1572042290 +SHA256 (mancala-1.0.3.tar.gz) = ca9fcacb687caea88a16d8ed0eacbbcc96235d591764c3ed92e9843a5f64eee8 +SIZE (mancala-1.0.3.tar.gz) = 16516 Added: head/games/mancala/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/mancala/pkg-descr Fri Nov 22 00:50:06 2019 (r518120) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911220050.xAM0o6Qd025713>