From 3510c262f43b0b3d12229fc555babe034bcfec14 Mon Sep 17 00:00:00 2001 From: Johan van Selst Date: Sat, 31 Mar 2012 12:14:00 +0000 Subject: - Update to xboard 4.6.0 - Remove code patch (fixed upstream) - Honour WITHOUT_NLS to disable NLS support (new in this version) Feature safe: yes --- games/xboard/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'games/xboard/Makefile') 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 @@ -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/ -- cgit v1.2.3