aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnubg
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2003-12-19 17:28:06 +0800
committertg <tg@FreeBSD.org>2003-12-19 17:28:06 +0800
commita88f0900970090cc2a4184597137b60be5982a72 (patch)
treeb20b1d3f6932a93f70d12b2d3fbf3412e3236314 /games/gnubg
parente776d10c2fa2bb093c82736aa91537dda3d1aaf6 (diff)
downloadfreebsd-ports-gnome-a88f0900970090cc2a4184597137b60be5982a72.tar.gz
freebsd-ports-gnome-a88f0900970090cc2a4184597137b60be5982a72.tar.zst
freebsd-ports-gnome-a88f0900970090cc2a4184597137b60be5982a72.zip
Unbreak by generating the back-off database files instead of fetching them.
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