From 0ebfcf00ece3b28806c5729b6aafde6b174b60fe Mon Sep 17 00:00:00 2001 From: Ion-Mihai Tetcu Date: Sun, 21 Oct 2007 14:22:21 +0000 Subject: - add NLS option - change USE_XLIB=yes to USE_XORG=xpm PR: ports/116399 Submitted by: Alex Kozlov (maintainer) --- x11-wm/vtwm/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'x11-wm') diff --git a/x11-wm/vtwm/Makefile b/x11-wm/vtwm/Makefile index 7ec054066dfb..7cdfd249c9b3 100644 --- a/x11-wm/vtwm/Makefile +++ b/x11-wm/vtwm/Makefile @@ -7,7 +7,7 @@ PORTNAME= vtwm PORTVERSION= 5.4.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-wm MASTER_SITES= http://www.vtwm.org/downloads/ @@ -15,11 +15,12 @@ MAINTAINER= spam@rm-rf.kiev.ua COMMENT= Twm with a virtual desktop and optional Motif-like features USE_IMAKE= yes -USE_XPM= yes +USE_XORG= xpm MAN1= vtwm.1 -OPTIONS= SOUND "Sound support" on +OPTIONS= SOUND "Sound support" on \ + NLS "Native language support" on .include @@ -33,4 +34,9 @@ post-patch: LIB_DEPENDS+= rplay.1:${PORTSDIR}/audio/rplay .endif +.if defined(WITHOUT_NLS) + @${REINPLACE_CMD} -i "" -e \ + 's:^XCOMM NO_I18N_SUPPORT: NO_I18N_SUPPORT:' ${WRKSRC}/Imakefile +.endif + .include -- cgit v1.2.3