From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 16 17:10:31 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E20E16A482 for ; Fri, 16 Jun 2006 17:10:31 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 552E343D45 for ; Fri, 16 Jun 2006 17:10:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k5GHAIdj014658 for ; Fri, 16 Jun 2006 17:10:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k5GHAIH6014657; Fri, 16 Jun 2006 17:10:18 GMT (envelope-from gnats) Resent-Date: Fri, 16 Jun 2006 17:10:18 GMT Resent-Message-Id: <200606161710.k5GHAIH6014657@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 040A216A474 for ; Fri, 16 Jun 2006 17:00:59 +0000 (UTC) (envelope-from tkato432@yahoo.com) Received: from nm05omta05d.dion.ne.jp (nm05mta.dion.ne.jp [219.125.112.13]) by mx1.FreeBSD.org (Postfix) with SMTP id D6F4B43D5A for ; Fri, 16 Jun 2006 17:00:57 +0000 (GMT) (envelope-from tkato432@yahoo.com) Received: from localhost ([218.222.67.160]) by nm05mta.dion.ne.jp id <20060617020055261.MAC9.8214CB0@nm05mta.dion.ne.jp>; Sat, 17 Jun 2006 02:00:55 +0900 Message-Id: <20060617020017.1298a83f.tkato432@yahoo.com> Date: Sat, 17 Jun 2006 02:00:17 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/99044: Update port: games/glchess 0.9.4 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jun 2006 17:10:31 -0000 >Number: 99044 >Category: ports >Synopsis: Update port: games/glchess 0.9.4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jun 16 17:10:17 GMT 2006 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p18 i386 >Organization: >Environment: >Description: - Update to version 0.9.4 >How-To-Repeat: >Fix: diff -urN /usr/ports/games/glchess/Makefile games/glchess/Makefile --- /usr/ports/games/glchess/Makefile Mon Jun 12 13:18:16 2006 +++ games/glchess/Makefile Tue Jun 13 21:37:29 2006 @@ -6,7 +6,7 @@ # PORTNAME= glchess -PORTVERSION= 0.9.3 +PORTVERSION= 0.9.4 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -18,7 +18,7 @@ USE_X_PREFIX= yes USE_PYTHON= yes -NO_BUILD= yes +USE_GETTEXT= yes post-patch: .for file in src/scene/builtin_models.py src/scene/new_models.py \ @@ -32,6 +32,11 @@ @${ECHO_CMD} '#!/bin/sh' >> ${WRKSRC}/glchess @${ECHO_CMD} 'exec ${PYTHON_CMD} ${DATADIR}/glchess.py' >> ${WRKSRC}/glchess +do-build: +.for lang in de en en_AU en_NZ en_US + cd ${WRKSRC}/po && ${LOCALBASE}/bin/msgfmt ${lang}.po -o ${lang}.mo +.endfor + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/glchess ${PREFIX}/bin @${MKDIR} ${DATADIR} @@ -48,6 +53,11 @@ ${INSTALL_DATA} ${WRKSRC}/src/ui/gtkui/*.glade ${DATADIR}/gui @${MKDIR} ${DATADIR}/textures ${INSTALL_DATA} ${WRKSRC}/textures/*.* ${DATADIR}/textures +.for lang in de en en_AU en_NZ en_US + @${MKDIR} ${PREFIX}/share/locale/${lang}/LC_MESSAGES + ${INSTALL_DATA} ${WRKSRC}/po/${lang}.mo \ + ${PREFIX}/share/locale/${lang}/LC_MESSAGES/glchess.mo +.endfor .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for file in ChangeLog README TODO diff -urN /usr/ports/games/glchess/distinfo games/glchess/distinfo --- /usr/ports/games/glchess/distinfo Mon Jun 12 13:18:16 2006 +++ games/glchess/distinfo Tue Jun 13 19:59:31 2006 @@ -1,3 +1,3 @@ -MD5 (glchess-0.9.3.tar.gz) = c46d0cac759a7a333802f0e01e2afdc7 -SHA256 (glchess-0.9.3.tar.gz) = ced92039b5e35d66cfc971681ee4d13a57c5eda73bfd25d8a429382f8157e7a1 -SIZE (glchess-0.9.3.tar.gz) = 167871 +MD5 (glchess-0.9.4.tar.gz) = 0b4c96b2642851eace5115164661e607 +SHA256 (glchess-0.9.4.tar.gz) = 6c61ed463e8dc175b8ae97888a664c343e5dee7251e0c47ff3f5f7f70a461154 +SIZE (glchess-0.9.4.tar.gz) = 171527 diff -urN /usr/ports/games/glchess/pkg-plist games/glchess/pkg-plist --- /usr/ports/games/glchess/pkg-plist Mon Jun 12 13:18:17 2006 +++ games/glchess/pkg-plist Tue Jun 13 22:47:26 2006 @@ -35,6 +35,17 @@ %%DATADIR%%/ui/gtkui/dialogs.py %%DATADIR%%/ui/gtkui/gtkui.py %%DATADIR%%/ui/ui.py +share/locale/de/LC_MESSAGES/glchess.mo +share/locale/en/LC_MESSAGES/glchess.mo +share/locale/en_AU/LC_MESSAGES/glchess.mo +share/locale/en_NZ/LC_MESSAGES/glchess.mo +share/locale/en_US/LC_MESSAGES/glchess.mo +@dirrmtry share/locale/en_US/LC_MESSAGES +@dirrmtry share/locale/en_US +@dirrmtry share/locale/en_NZ/LC_MESSAGES +@dirrmtry share/locale/en_NZ +@dirrmtry share/locale/en_AU/LC_MESSAGES +@dirrmtry share/locale/en_AU @dirrm %%DATADIR%%/ui/gtkui @dirrm %%DATADIR%%/ui @dirrm %%DATADIR%%/textures >Release-Note: >Audit-Trail: >Unformatted: