aboutsummaryrefslogtreecommitdiff
path: root/games/glchess/Makefile
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2007-08-17 11:56:55 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2007-08-17 11:56:55 +0000
commitaeaa00bccfbab69786f07bf4762d5ed4431718d1 (patch)
treed23de4ee2b04a9ecaed63dcb6080985fbe2c5390 /games/glchess/Makefile
parent991c0bafb43bcb36c3ae7826e22c42caa273868f (diff)
- Update to 1.0.6.
- Added WITHOUT_NLS knob. Approved by: itetcu (mentor)
Notes
Notes: svn path=/head/; revision=197837
Diffstat (limited to 'games/glchess/Makefile')
-rw-r--r--games/glchess/Makefile12
1 files changed, 9 insertions, 3 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'