diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2006-06-25 16:25:23 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2006-06-25 16:25:23 +0000 |
commit | ba6a7f1de4a282ca4bb92653f9b6ccf5f70b4f65 (patch) | |
tree | 38ac84e4ed8b706fa3bfacf3b4964b3c8ee84b1b /games/glchess | |
parent | 81cc5b299e8195314272c113770208a359a10dc4 (diff) | |
download | ports-ba6a7f1de4a282ca4bb92653f9b6ccf5f70b4f65.tar.gz ports-ba6a7f1de4a282ca4bb92653f9b6ccf5f70b4f65.zip |
Notes
Diffstat (limited to 'games/glchess')
-rw-r--r-- | games/glchess/Makefile | 14 | ||||
-rw-r--r-- | games/glchess/distinfo | 6 | ||||
-rw-r--r-- | games/glchess/pkg-plist | 9 |
3 files changed, 24 insertions, 5 deletions
diff --git a/games/glchess/Makefile b/games/glchess/Makefile index 182b878646b9..86b757903ff3 100644 --- a/games/glchess/Makefile +++ b/games/glchess/Makefile @@ -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 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/gdkgl/__init__.py:${PORTSDIR}/x11- 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 @@ do-configure: @${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 @@ do-install: ${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 --git a/games/glchess/distinfo b/games/glchess/distinfo index cd80abe077ea..c968b0d3f420 100644 --- a/games/glchess/distinfo +++ b/games/glchess/distinfo @@ -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 --git a/games/glchess/pkg-plist b/games/glchess/pkg-plist index eeb3d618025d..668efabd4adb 100644 --- a/games/glchess/pkg-plist +++ b/games/glchess/pkg-plist @@ -35,6 +35,15 @@ bin/glchess %%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 @dirrm %%DATADIR%%/ui/gtkui @dirrm %%DATADIR%%/ui @dirrm %%DATADIR%%/textures |