freebsd-ports/games/cgoban/Makefile
Dmitry Marakasov 556045676d - Support staging
- Respect CFLAGS
- Remove unneeded USE_GMAKE
2013-10-29 02:08:54 +00:00

29 lines
736 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
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>