summaryrefslogtreecommitdiff
path: root/games/cgoban/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/cgoban/Makefile')
-rw-r--r--games/cgoban/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/cgoban/Makefile b/games/cgoban/Makefile
index d5a15ff7e83b..31611dbd76d6 100644
--- a/games/cgoban/Makefile
+++ b/games/cgoban/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cgoban
PORTVERSION= 1.9.14
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= cgoban1
@@ -17,16 +17,14 @@ COMMENT= Internet Go Server client and game editor
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_AUTOTOOLS= autoconf:253
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
- AUTOHEADER="${TRUE}"
+GNU_CONFIGURE= yes
MAN6= cgoban.6
PLIST_FILES= bin/cgoban
post-patch:
- ${REINPLACE_CMD} -e 's|/usr/bin/gnugo|${LOCALBASE}/bin/gnugo|' ${WRKSRC}/src/cgoban.c
+ @${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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/cgoban ${PREFIX}/bin