freebsd-ports/games/cgoban/Makefile
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00

30 lines
748 B
Makefile

# Created by: simonm@dcs.gla.ac.uk
# $FreeBSD$
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
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>