aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/cgoban/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/cgoban/Makefile b/games/cgoban/Makefile
index 471d889299b7..e965cc820150 100644
--- a/games/cgoban/Makefile
+++ b/games/cgoban/Makefile
@@ -17,12 +17,16 @@ COMMENT= Internet Go Server client and game editor
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_AUTOCONF_VER= 253
+USE_REINPLACE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
MAN6= cgoban.6
+post-patch:
+ ${REINPLACE_CMD} -e 's|/usr/bin/gnugo|${LOCALBASE}/bin/gnugo|' ${WRKSRC}/src/cgoban.c
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/cgoban ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man6/cgoban.6 ${MANPREFIX}/man/man6