aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraraujo <araujo@FreeBSD.org>2007-08-17 19:56:55 +0800
committeraraujo <araujo@FreeBSD.org>2007-08-17 19:56:55 +0800
commit3394eaa4b1d11ee864b30b6f51dcca7769728d78 (patch)
tree05aa87e2dffacd80b3452a28643080fc56d89f93
parent5d22f1d7ab399a921d2ef6e550d9d03de833b776 (diff)
downloadfreebsd-ports-gnome-3394eaa4b1d11ee864b30b6f51dcca7769728d78.tar.gz
freebsd-ports-gnome-3394eaa4b1d11ee864b30b6f51dcca7769728d78.tar.zst
freebsd-ports-gnome-3394eaa4b1d11ee864b30b6f51dcca7769728d78.zip
- Update to 1.0.6.
- Added WITHOUT_NLS knob. Approved by: itetcu (mentor)
-rw-r--r--games/glchess/Makefile12
-rw-r--r--games/glchess/distinfo6
-rw-r--r--games/glchess/pkg-plist16
3 files changed, 28 insertions, 6 deletions
diff --git a/games/glchess/Makefile b/games/glchess/Makefile
index a9802e083aa7..6e54910dd0c0 100644
--- a/games/glchess/Makefile
+++ b/games/glchess/Makefile
@@ -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'
diff --git a/games/glchess/distinfo b/games/glchess/distinfo
index 0393ffc05ead..c2a64327c40a 100644
--- a/games/glchess/distinfo
+++ b/games/glchess/distinfo
@@ -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
diff --git a/games/glchess/pkg-plist b/games/glchess/pkg-plist
index f6ab9fe4a1f6..6276d9ed7053 100644
--- a/games/glchess/pkg-plist
+++ b/games/glchess/pkg-plist
@@ -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