blob: 6ab0cc5d2019a1f91c22de946478a12aa49cec0a (
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
|
PORTNAME= cgoban
PORTVERSION= 1.9.14
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}1/${PORTNAME}1/${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Internet Go Server client and game editor
WWW= http://cgoban1.sourceforge.net/
GNU_CONFIGURE= yes
USES= xorg
USE_XORG= x11 ice sm
PLIST_FILES= bin/cgoban \
man/man6/cgoban.6.gz
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/gnugo|${LOCALBASE}/bin/gnugo|' ${WRKSRC}/src/cgoban.c
@${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|; \
/CFLAGS='\''-O2/ d' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/cgoban ${STAGEDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/man6/cgoban.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
.include <bsd.port.mk>
|