Date: Fri, 6 Feb 2004 03:39:19 +0900 (JST) From: TAKAHASHI Kaoru <kaoru@kaisei.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: kaoru@kaisei.org Subject: ports/62396: Update port: games/gnubg Message-ID: <20040205183919.A6E4E50B84@rave.kaoru.trans-nt.com> Resent-Message-ID: <200402051850.i15IoGfW041783@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 62396 >Category: ports >Synopsis: Update port: games/gnubg >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Feb 05 10:50:16 PST 2004 >Closed-Date: >Last-Modified: >Originator: TAKAHASHI Kaoru >Release: FreeBSD 5.2-RELEASE i386 >Organization: >Environment: System: FreeBSD rave.kaoru.trans-nt.com 5.2-RELEASE FreeBSD 5.2-RELEASE #2: Sun Jan 11 22:32:46 JST 2004 root@rave.kaoru.trans-nt.com:/usr/obj/usr/src/sys/RAVE i386 >Description: Update to gnubg 0.14.1. >How-To-Repeat: >Fix: diff -ruN gnubg.orig/Makefile gnubg/Makefile --- gnubg.orig/Makefile Wed Feb 4 15:27:10 2004 +++ gnubg/Makefile Fri Feb 6 03:35:02 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,12 @@ 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 + .if defined(HAVE_ESOUND) CONFIGURE_ARGS += --with-esound .else @@ -35,20 +38,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:43:07 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:31:08 2004 @@ -0,0 +1,40 @@ +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 +@@ -16,7 +16,7 @@ + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * +- * $Id: patch-aa,v 1.1 2004/02/05 18:31:08 kaoru Exp $ ++ * $Id: patch-aa,v 1.1 2004/02/05 18:31:08 kaoru Exp $ + */ + + #if HAVE_CONFIG_H +@@ -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:18:27 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:28:21 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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040205183919.A6E4E50B84>