summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2007-10-21 14:22:21 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2007-10-21 14:22:21 +0000
commit0ebfcf00ece3b28806c5729b6aafde6b174b60fe (patch)
tree889f02cbc2db7ce9db2ee86ea2191b57283065e0 /x11-wm
parentReplace ttmkfdir by mkfontscale & mkfontdir to install correct files. (diff)
- add NLS option
- change USE_XLIB=yes to USE_XORG=xpm PR: ports/116399 Submitted by: Alex Kozlov (maintainer)
Notes
Notes: svn path=/head/; revision=201721
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/vtwm/Makefile12
1 files changed, 9 insertions, 3 deletions
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 <bsd.port.pre.mk>
@@ -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 <bsd.port.post.mk>