aboutsummaryrefslogtreecommitdiff
path: root/games/xboard/Makefile
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2012-03-31 12:14:00 +0000
committerJohan van Selst <johans@FreeBSD.org>2012-03-31 12:14:00 +0000
commit3510c262f43b0b3d12229fc555babe034bcfec14 (patch)
tree2de2f6060a1734526ace76c83c77b5b25708d7f4 /games/xboard/Makefile
parent7e1ec501063fd4aa0f2823a8b61f94acd595baea (diff)
downloadports-3510c262f43b0b3d12229fc555babe034bcfec14.tar.gz
ports-3510c262f43b0b3d12229fc555babe034bcfec14.zip
Notes
Diffstat (limited to 'games/xboard/Makefile')
-rw-r--r--games/xboard/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/games/xboard/Makefile b/games/xboard/Makefile
index 5b54af563a50..977134e2739e 100644
--- a/games/xboard/Makefile
+++ b/games/xboard/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xboard
-PORTVERSION= 4.5.3
+PORTVERSION= 4.6.0
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= xboard
@@ -56,6 +56,13 @@ RUN_DEPENDS+= KnightCap:${PORTSDIR}/games/KnightCap
.ifdef WITH_PHALANX
RUN_DEPENDS+= phalanx:${PORTSDIR}/games/phalanx
.endif
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
.include <bsd.port.pre.mk>
@@ -70,7 +77,6 @@ post-patch:
${WRKSRC}/engineoutput.c ${WRKSRC}/uci.c
@${REINPLACE_CMD} -e 's:INSTALL.*sysconfdir):&/$$$$files.dist:' \
${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e 's/^SendString/void &/' ${WRKSRC}/xoptions.c
post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/cmail ${PREFIX}/bin/