1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Update to 1.0.6.

- Added WITHOUT_NLS knob.

Approved by:	itetcu (mentor)
This commit is contained in:
Marcelo Araujo 2007-08-17 11:56:55 +00:00
parent 991c0bafb4
commit aeaa00bccf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197837
3 changed files with 28 additions and 6 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= glchess
PORTVERSION= 1.0.5
PORTREVISION= 1
PORTVERSION= 1.0.6
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -21,10 +20,17 @@ RUN_DEPENDS= ${LOCALBASE}/share/mime/magic:${PORTSDIR}/misc/shared-mime-info \
USE_GNOME= gconf2
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_GETTEXT= yes
GCONF_SCHEMAS= glchess.schemas
.if defined(WITHOUT_NLS)
PLIST_SUB+= NLS="@comment"
CONFIGURE_ARGS+= --disable-nls
.else
PLIST_SUB+= NLS=""
USE_GETTEXT= yes
.endif
post-patch:
@${GREP} -lR "/usr/share/games/glchess" ${WRKSRC} | ${XARGS} \
${REINPLACE_CMD} -e 's|/usr/share/games/glchess|${DATADIR}|g'

View File

@ -1,3 +1,3 @@
MD5 (glchess-1.0.5.tar.gz) = 338f1b9b265a505fd587e5e7435ab3ff
SHA256 (glchess-1.0.5.tar.gz) = b61a9cf32ed0a4b7a3796787e0739a8b65fa1cb04aaf089d1763a4f094c7a259
SIZE (glchess-1.0.5.tar.gz) = 275251
MD5 (glchess-1.0.6.tar.gz) = b0125b7b824f2e4012badd0c465444dd
SHA256 (glchess-1.0.6.tar.gz) = 4d9e3fdb8c76be9db978bfbf97e736bd07dc0d55088a7252fe6446ee9328c10f
SIZE (glchess-1.0.6.tar.gz) = 288898

View File

@ -65,6 +65,21 @@ bin/glchess
%%PYTHON_SITELIBDIR%%/glchess/gtkui/chessview.py
%%PYTHON_SITELIBDIR%%/glchess/gtkui/chessview.pyc
%%PYTHON_SITELIBDIR%%/glchess/gtkui/chessview.pyo
%%PYTHON_SITELIBDIR%%/glchess/gtkui/network.py
%%PYTHON_SITELIBDIR%%/glchess/gtkui/network.pyc
%%PYTHON_SITELIBDIR%%/glchess/gtkui/network.pyo
%%PYTHON_SITELIBDIR%%/glchess/ggz/__init__.py
%%PYTHON_SITELIBDIR%%/glchess/ggz/__init__.pyc
%%PYTHON_SITELIBDIR%%/glchess/ggz/__init__.pyo
%%PYTHON_SITELIBDIR%%/glchess/ggz/chess.py
%%PYTHON_SITELIBDIR%%/glchess/ggz/chess.pyc
%%PYTHON_SITELIBDIR%%/glchess/ggz/chess.pyo
%%PYTHON_SITELIBDIR%%/glchess/ggz/client.py
%%PYTHON_SITELIBDIR%%/glchess/ggz/client.pyc
%%PYTHON_SITELIBDIR%%/glchess/ggz/client.pyo
%%PYTHON_SITELIBDIR%%/glchess/ggz/protocol.py
%%PYTHON_SITELIBDIR%%/glchess/ggz/protocol.pyc
%%PYTHON_SITELIBDIR%%/glchess/ggz/protocol.pyo
%%PYTHON_SITELIBDIR%%/glchess/main.py
%%PYTHON_SITELIBDIR%%/glchess/main.pyc
%%PYTHON_SITELIBDIR%%/glchess/main.pyo
@ -212,6 +227,7 @@ share/pixmaps/glchess.svg
@dirrm %%PYTHON_SITELIBDIR%%/glchess/scene
@dirrm %%PYTHON_SITELIBDIR%%/glchess/gtkui
@dirrm %%PYTHON_SITELIBDIR%%/glchess/chess/fics
@dirrm %%PYTHON_SITELIBDIR%%/glchess/ggz
@dirrm %%PYTHON_SITELIBDIR%%/glchess/chess
@dirrm %%PYTHON_SITELIBDIR%%/glchess
@exec %%LOCALBASE%%/bin/update-mime-database %%LOCALBASE%%/share/mime