summaryrefslogtreecommitdiff
path: root/games/gnubg
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2003-12-19 09:28:06 +0000
committerThomas Gellekum <tg@FreeBSD.org>2003-12-19 09:28:06 +0000
commit6d775ec8fdd19c67e15bba32327836b472b264d4 (patch)
tree4c404cf5ae3d8d33b55489557c259de21ab7cba1 /games/gnubg
parentUpdate perdition to 1.13. (diff)
Unbreak by generating the back-off database files instead of fetching them.
Notes
Notes: svn path=/head/; revision=96194
Diffstat (limited to 'games/gnubg')
-rw-r--r--games/gnubg/Makefile12
-rw-r--r--games/gnubg/distinfo2
2 files changed, 6 insertions, 8 deletions
diff --git a/games/gnubg/Makefile b/games/gnubg/Makefile
index bfb426f0c46e..0a32592a16d5 100644
--- a/games/gnubg/Makefile
+++ b/games/gnubg/Makefile
@@ -12,8 +12,7 @@ MASTER_SITES= ${MASTER_SITE_GNU_ALPHA} \
http://triaez.kaisei.org/~kaoru/misc/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTFILES= ${DISTNAME}.tar.gz \
- gnubg.weights-${GNUBG_WEIGHTS_VERSION}.gz \
- gnubg_ts0.bd.gz gnubg_os0.bd.gz
+ gnubg.weights-${GNUBG_WEIGHTS_VERSION}.gz
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${DISTNAME}.tar.gz
@@ -24,7 +23,7 @@ MAN6= gnubg.6
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GTK= yes
+USE_GNOME= gtk20
WANT_ESOUND= yes
.if defined(HAVE_ESOUND)
@@ -45,9 +44,10 @@ INFO= gnubg
GNUBG_WEIGHTS_VERSION=0.13b
-do-patch:
- ${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg_ts0.bd.gz > ${WRKSRC}/gnubg_ts0.bd
- ${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg_os0.bd.gz > ${WRKSRC}/gnubg_os0.bd
+post-extract:
${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg.weights-${GNUBG_WEIGHTS_VERSION}.gz > ${WRKSRC}/gnubg.weights
+post-build:
+ @(cd ${WRKSRC} && ./makebearoff -t 6x6 -f gnubg_ts0.bd)
+
.include <bsd.port.mk>
diff --git a/games/gnubg/distinfo b/games/gnubg/distinfo
index 09baeb8ff4c1..133920b5f6a7 100644
--- a/games/gnubg/distinfo
+++ b/games/gnubg/distinfo
@@ -1,4 +1,2 @@
MD5 (gnubg/gnubg-0.13.0.tar.gz) = 91db5727b6589dbfd410e6ce1683fa95
MD5 (gnubg/gnubg.weights-0.13b.gz) = b8ab016c1d948a32830952ba6e368947
-MD5 (gnubg/gnubg_ts0.bd.gz) = 97783d786411349ec61b3c87de9751e6
-MD5 (gnubg/gnubg_os0.bd.gz) = c06712f11cd1789722aaf5a3c7655664