blob: 0260b493c7069c3da0f5e9e973809c7b334d5114 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
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
WWW= https://shh.thathost.com/pub-unix
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>
|