1 # Created by: Jason Helfman <jgh@FreeBSD.org>
7 MASTER_SITES= https://shh.thathost.com/pub-unix/files/
9 MAINTAINER= jgh@FreeBSD.org
10 COMMENT= Implementation of the simple board game called Mancala
16 OPTIONS_DEFINE= DOCS X11
20 PLIST_FILES= bin/mancala
21 X11_LIB_DEPENDS= libforms.so:x11-toolkits/xforms
22 X11_PLIST_FILES= bin/xmancala
23 X11_ALL_TARGET= xmancala
27 @${REINPLACE_CMD} -e 's|gcc|${CC}|' \
29 @${REINPLACE_CMD} -e 's|^XINCDIR.*|XINCDIR = -I${LOCALBASE}/include|' \
31 @${REINPLACE_CMD} -e 's|^XLIBDIR.*|XLIBDIR = -L${LOCALBASE}/lib|' \
35 @${MKDIR} ${STAGEDIR}${DOCSDIR}
36 .for doc in ChangeLog INSTALL NEWS README RULES
37 ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
41 ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
44 ${INSTALL_SCRIPT} ${WRKSRC}/x${PORTNAME} ${STAGEDIR}${PREFIX}/bin/x${PORTNAME}
46 .include <bsd.port.mk>