Date: Mon, 18 Aug 2008 02:00:15 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/126596: Update port: games/typespeed to 0.6.5 Message-ID: <20080818020015.08fab233.tkato432@yahoo.com> Resent-Message-ID: <200808171710.m7HHA2oG095174@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 126596 >Category: ports >Synopsis: Update port: games/typespeed to 0.6.5 >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: Sun Aug 17 17:10:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.0-RELEASE-p3 i386 >Organization: >Environment: >Description: - Update to version 0.6.5 >How-To-Repeat: >Fix: diff -urN /usr/ports/games/typespeed/Makefile games/typespeed/Makefile --- /usr/ports/games/typespeed/Makefile 2008-03-28 14:37:26.000000000 +0900 +++ games/typespeed/Makefile 2008-08-16 04:02:59.000000000 +0900 @@ -6,14 +6,15 @@ # PORTNAME= typespeed -PORTVERSION= 0.6.4 +PORTVERSION= 0.6.5 CATEGORIES= games -MASTER_SITES= http://tobias.eyedacor.org/typespeed/ \ - CRITICAL +MASTER_SITES= SF \ + http://tobias.eyedacor.org/typespeed/ MAINTAINER= ports@FreeBSD.org COMMENT= Test your typing speed, and get your fingers\' CPS +USE_GNOME= gnometarget GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-highscoredir="/var/games/typespeed" @@ -28,6 +29,14 @@ SUB_LIST= SCOREDIR="${SCOREDIR}" SCOREFILE="${SCOREFILE}" WRKSRC="${WRKSRC}" MAN1= typespeed.1 +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.else +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.endif + post-patch: @${REINPLACE_CMD} -e 's|\(/etc\)|${PREFIX}\1|' \ ${WRKSRC}/src/pathnames.h @@ -44,6 +53,13 @@ ${MKDIR} ${DATADIR}/words ${FIND} ${WRKSRC}/words/ -name "words.*" -type f \ -exec ${INSTALL_DATA} {} ${DATADIR}/words \; +.if !defined(WITHOUT_NLS) +.for i in de_DE fr_FR it + ${MKDIR} ${PREFIX}/share/locale/${i}/LC_MESSAGES + ${INSTALL_DATA} ${WRKSRC}/po/${i}.gmo \ + ${PREFIX}/share/locale/${i}/LC_MESSAGES/typespeed.mo +.endfor +.endif post-install: @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL diff -urN /usr/ports/games/typespeed/distinfo games/typespeed/distinfo --- /usr/ports/games/typespeed/distinfo 2007-12-18 03:48:53.000000000 +0900 +++ games/typespeed/distinfo 2008-08-16 03:42:47.000000000 +0900 @@ -1,3 +1,3 @@ -MD5 (typespeed-0.6.4.tar.gz) = fb55b92ad7e29a1a6a7a3e1ca383d5e2 -SHA256 (typespeed-0.6.4.tar.gz) = 80eafbbdb87720d6ca57bfbd3f5eaa5b66c1f2a4ec3a4a5ce9b0e01335a02644 -SIZE (typespeed-0.6.4.tar.gz) = 250596 +MD5 (typespeed-0.6.5.tar.gz) = 578102b418c7df84903d3e90df2e7483 +SHA256 (typespeed-0.6.5.tar.gz) = 5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961 +SIZE (typespeed-0.6.5.tar.gz) = 254170 diff -urN /usr/ports/games/typespeed/pkg-descr games/typespeed/pkg-descr --- /usr/ports/games/typespeed/pkg-descr 2005-04-29 03:46:20.000000000 +0900 +++ games/typespeed/pkg-descr 2008-08-16 03:41:23.000000000 +0900 @@ -5,7 +5,7 @@ of the game should be clear to anyone, just type and type it fast, or be a lewser. -WWW: http://ls.purkki.org/typespeed/ +WWW: http://tobias.eyedacor.org/typespeed/ - Suleiman Souhlal refugee@vt.edu diff -urN /usr/ports/games/typespeed/pkg-plist games/typespeed/pkg-plist --- /usr/ports/games/typespeed/pkg-plist 2007-12-18 03:48:53.000000000 +0900 +++ games/typespeed/pkg-plist 2008-08-16 03:51:54.000000000 +0900 @@ -3,6 +3,9 @@ @unexec if cmp -s %D/etc/typespeedrc %D/etc/typespeedrc.dist; then rm -f %D/etc/typespeedrc; fi etc/typespeedrc.dist @exec [ -f %B/typespeedrc ] || cp %B/%f %B/typespeedrc +%%NLS%%share/locale/de_DE/LC_MESSAGES/typespeed.mo +%%NLS%%share/locale/fr_FR/LC_MESSAGES/typespeed.mo +%%NLS%%share/locale/it/LC_MESSAGES/typespeed.mo %%DATADIR%%/words/words.csharp %%DATADIR%%/words/words.csharp_with_operators %%DATADIR%%/words/words.dos @@ -19,3 +22,7 @@ %%DATADIR%%/words/words.unix @dirrm %%DATADIR%%/words @dirrm %%DATADIR%% +%%NLS%%@dirrmtry share/locale/fr_FR/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/fr_FR +%%NLS%%@dirrmtry share/locale/de_DE/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/de_DE >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080818020015.08fab233.tkato432>