Date: Sat, 17 Jun 2006 02:00:17 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/99044: Update port: games/glchess 0.9.4 Message-ID: <20060617020017.1298a83f.tkato432@yahoo.com> Resent-Message-ID: <200606161710.k5GHAIH6014657@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060617020017.1298a83f.tkato432>