aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/vtwm
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2007-10-21 22:22:21 +0800
committeritetcu <itetcu@FreeBSD.org>2007-10-21 22:22:21 +0800
commit9aa39874454d19cf502c40f6a60095fb279212f8 (patch)
treea9c172a4e47410ed2ed8d8bbac4ec8c160279d48 /x11-wm/vtwm
parent5f1b4213f40cba38fa0e64b3a7ddc62754076f9d (diff)
downloadfreebsd-ports-gnome-9aa39874454d19cf502c40f6a60095fb279212f8.tar.gz
freebsd-ports-gnome-9aa39874454d19cf502c40f6a60095fb279212f8.tar.zst
freebsd-ports-gnome-9aa39874454d19cf502c40f6a60095fb279212f8.zip
- add NLS option
- change USE_XLIB=yes to USE_XORG=xpm PR: ports/116399 Submitted by: Alex Kozlov (maintainer)
Diffstat (limited to 'x11-wm/vtwm')
-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>