Update to version 0.9.4
PR: ports/99044 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
parent
81cc5b299e
commit
ba6a7f1de4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166316
3 changed files with 24 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue