diff options
author | pav <pav@FreeBSD.org> | 2003-12-13 08:38:44 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2003-12-13 08:38:44 +0800 |
commit | 72bb762770dd74931ad4d63d2e02a43bd01837db (patch) | |
tree | 7e7e847412f7283896c8c7cd8feab2e7edd6fd85 /games/cgoban | |
parent | 135124a5a7d898f90f44feabbcb3aa8bf5789bd1 (diff) | |
download | freebsd-ports-gnome-72bb762770dd74931ad4d63d2e02a43bd01837db.tar.gz freebsd-ports-gnome-72bb762770dd74931ad4d63d2e02a43bd01837db.tar.zst freebsd-ports-gnome-72bb762770dd74931ad4d63d2e02a43bd01837db.zip |
- Make default setting of gnugo path conform to where our port is placing it
PR: ports/59889
Submitted by: Marc van Woerkom <marc.vanwoerkom@fernuni-hagen.de>
Diffstat (limited to 'games/cgoban')
-rw-r--r-- | games/cgoban/Makefile | 4 |
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 |