Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 2004 06:06:46 +0900
From:      TAKAHASHI Kaoru <kaoru@kaisei.org>
To:        linimon@FreeBSD.org
Cc:        kaoru@kaisei.org
Subject:   Re: ports/62396: Update port: games/gnubg
Message-ID:  <rrpvfmait95.wl@misty.kaoru.trans-nt.com>
In-Reply-To: <200402132038.i1DKcUUV016280@freefall.freebsd.org>
References:  <200402132038.i1DKcUUV016280@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Please add --without-board3d to CONFIGURE_ARGS.

patch is here:

diff -ruN gnubg.orig/Makefile gnubg/Makefile
--- gnubg.orig/Makefile	Wed Feb  4 15:27:10 2004
+++ gnubg/Makefile	Sat Feb 14 06:04:47 2004
@@ -6,14 +6,14 @@
 #
 
 PORTNAME=	gnubg
-PORTVERSION=	0.13.0
-PORTREVISION=	1
+PORTVERSION=	0.14.1
 CATEGORIES=	games
 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.weights-${GNUBG_WEIGHTS_VERSION}.gz	\
+		gnubg_os0.bd.gz	gnubg_ts0.bd.gz
 DIST_SUBDIR=	${PORTNAME}
 EXTRACT_ONLY=	${DISTNAME}.tar.gz
 
@@ -24,9 +24,13 @@
 
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gtk20
+USE_GETTEXT=	yes
+USE_GNOME=	libxml2 gtk20
 WANT_ESOUND=	yes
 
+CONFIGURE_ARGS += --with-x --with-gtk2 --enable-nls \
+	--with-timecontrol --without-board3d
+
 .if defined(HAVE_ESOUND)
 CONFIGURE_ARGS += --with-esound
 .else
@@ -35,20 +39,30 @@
 
 .if defined(WITH_NAS)
 CONFIGURE_ARGS += --enable-nas
+.else
+CONFIGURE_ARGS += --disable-nas
 .endif
 
 .if defined(WITH_GUILE)
 CONFIGURE_ARGS += --with-guile
+.else
+CONFIGURE_ARGS += --without-guile
+.endif
+
+.if defined(WITH_PYTHON)
+USE_PYTHON=	2.0+
+CONFIGURE_ARGS += --with-python
+.else
+CONFIGURE_ARGS += --without-python
 .endif
 
 INFO=	gnubg
 
-GNUBG_WEIGHTS_VERSION=0.13b
+GNUBG_WEIGHTS_VERSION=0.14
 
 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)
+	${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg_os0.bd.gz > ${WRKSRC}/gnubg_os0.bd
+	${GUNZIP_CMD} --stdout ${DISTDIR}/${DIST_SUBDIR}/gnubg_ts0.bd.gz > ${WRKSRC}/gnubg_ts0.bd
 
 .include <bsd.port.mk>
diff -ruN gnubg.orig/distinfo gnubg/distinfo
--- gnubg.orig/distinfo	Sat Dec 20 03:04:22 2003
+++ gnubg/distinfo	Mon Jan 26 15:51:28 2004
@@ -1,2 +1,4 @@
-MD5 (gnubg/gnubg-0.13.0.tar.gz) = 91db5727b6589dbfd410e6ce1683fa95
-MD5 (gnubg/gnubg.weights-0.13b.gz) = b8ab016c1d948a32830952ba6e368947
+MD5 (gnubg/gnubg-0.14.1.tar.gz) = fb5b6283daf6da99146a3df785c4f446
+MD5 (gnubg/gnubg.weights-0.14.gz) = 9f1154a9b327954a260726aa6aa6eea5
+MD5 (gnubg/gnubg_os0.bd.gz) = 4015327219322eacab5ddd58f6fa268d
+MD5 (gnubg/gnubg_ts0.bd.gz) = 01bd14c184bd701ae484618eb8acec6e
diff -ruN gnubg.orig/files/patch-aa gnubg/files/patch-aa
--- gnubg.orig/files/patch-aa	Thu Jan  1 09:00:00 1970
+++ gnubg/files/patch-aa	Fri Feb  6 03:48:47 2004
@@ -0,0 +1,31 @@
+Index: htmlimages.c
+===================================================================
+RCS file: /cvsroot/gnubg/gnubg/htmlimages.c,v
+retrieving revision 1.20
+retrieving revision 1.21
+diff -u -r1.20 -r1.21
+--- htmlimages.c	6 Jan 2004 12:30:36 -0000	1.20
++++ htmlimages.c	26 Jan 2004 07:36:02 -0000	1.21
+@@ -777,7 +777,7 @@
+ 		free(asRefract[i]);
+ }
+ 
+-extern void CommandExportHTMLImages(char *sz)
++extern void CommandExportHTMLImages( char *sz )
+ {
+ 	szFile = GetFilenameBase(sz);
+ 	if (!szFile)
+@@ -791,10 +791,10 @@
+ 	TidyObjects();
+ }
+ 
+-#else
+-extern void CommandExportHTMLImages( char * )
++#else /* not HAVE_LIBPNG */
++extern void CommandExportHTMLImages( char *sz )
+ {
+ 	outputl( _("This installation of GNU Backgammon was compiled without\n"
+ 		"support for writing HTML images.") );
+ }
+-#endif
++#endif /* not HAVE_LIBPNG */
diff -ruN gnubg.orig/pkg-descr gnubg/pkg-descr
--- gnubg.orig/pkg-descr	Sun Dec  8 18:36:54 2002
+++ gnubg/pkg-descr	Mon Jan 26 15:51:28 2004
@@ -4,4 +4,4 @@
 work in progress. You may play GNU Backgammon using the command
 line or a graphical interface (based on GTK+).
 
-WWW: http://www.gnu.org/software/gnubg/gnubg.html
+WWW: http://www.gnubg.org/
diff -ruN gnubg.orig/pkg-plist gnubg/pkg-plist
--- gnubg.orig/pkg-plist	Fri Nov  7 03:04:25 2003
+++ gnubg/pkg-plist	Fri Feb  6 03:31:45 2004
@@ -1,12 +1,19 @@
 bin/gnubg
 bin/makebearoff
+bin/makehyper
 share/gnubg/annealing.png
+share/gnubg/boards.xml
 share/gnubg/gnubg.gtkrc
 share/gnubg/gnubg.wd
 share/gnubg/gnubg.xml
 share/gnubg/gnubg_os0.bd
 share/gnubg/gnubg_ts0.bd
-share/gnubg/boards.xml
+share/gnubg/rulfig1.png
+share/gnubg/rulfig2.png
+share/gnubg/rulfig3.png
+share/gnubg/rulfig4.png
+share/gnubg/rulfig5.png
+share/gnubg/texinfo.dtd
 share/gnubg/met/catalog
 share/gnubg/met/jacobs.xml
 share/gnubg/met/met.dtd
@@ -14,11 +21,6 @@
 share/gnubg/met/snowie.xml
 share/gnubg/met/woolsey.xml
 share/gnubg/met/zadeh.xml
-share/gnubg/rulfig1.png
-share/gnubg/rulfig2.png
-share/gnubg/rulfig3.png
-share/gnubg/rulfig4.png
-share/gnubg/rulfig5.png
 share/gnubg/sounds/chequer.wav
 share/gnubg/sounds/dance.wav
 share/gnubg/sounds/double.wav
@@ -31,10 +33,15 @@
 share/gnubg/sounds/resign.wav
 share/gnubg/sounds/roll.wav
 share/gnubg/sounds/take.wav
-share/gnubg/texinfo.dtd
 @dirrm share/gnubg/met
 @dirrm share/gnubg/sounds
 @dirrm share/gnubg
 share/locale/da/LC_MESSAGES/gnubg.mo
 share/locale/de/LC_MESSAGES/gnubg.mo
+share/locale/en_US/LC_MESSAGES/gnubg.mo
+share/locale/en@quot/LC_MESSAGES/gnubg.mo
+share/locale/fr/LC_MESSAGES/gnubg.mo
+share/locale/is/LC_MESSAGES/gnubg.mo
+share/locale/it/LC_MESSAGES/gnubg.mo
 share/locale/ja/LC_MESSAGES/gnubg.mo
+share/locale/tr/LC_MESSAGES/gnubg.mo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?rrpvfmait95.wl>