diff --git a/games/cgoban/Makefile b/games/cgoban/Makefile index a3d0d66c7e47..a35e83b4b65c 100644 --- a/games/cgoban/Makefile +++ b/games/cgoban/Makefile @@ -10,20 +10,19 @@ MASTER_SITES= SF/${PORTNAME}1/${PORTNAME}1/${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Internet Go Server client and game editor -USE_GMAKE= yes GNU_CONFIGURE= yes USE_XORG= x11 ice sm -MAN6= cgoban.6 -PLIST_FILES= bin/cgoban +PLIST_FILES= bin/cgoban \ + man/man6/cgoban.6.gz -NO_STAGE= yes 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|' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|; \ + /CFLAGS='\''-O2/ d' ${WRKSRC}/configure do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/cgoban ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man6/cgoban.6 ${MANPREFIX}/man/man6 + ${INSTALL_PROGRAM} ${WRKSRC}/src/cgoban ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/man6/cgoban.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/ .include