freebsd-ports/x11-wm/vtwm/Makefile
Ion-Mihai Tetcu 0ebfcf00ec - add NLS option
- change USE_XLIB=yes to USE_XORG=xpm

PR:		ports/116399
Submitted by:	Alex Kozlov (maintainer)
2007-10-21 14:22:21 +00:00

42 lines
908 B
Makefile

# New ports collection makefile for: vtwm
# Date created: 21 December 1998
# Whom: bmah@ca.sandia.gov
#
# $FreeBSD$
#
PORTNAME= vtwm
PORTVERSION= 5.4.7
PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= http://www.vtwm.org/downloads/
MAINTAINER= spam@rm-rf.kiev.ua
COMMENT= Twm with a virtual desktop and optional Motif-like features
USE_IMAKE= yes
USE_XORG= xpm
MAN1= vtwm.1
OPTIONS= SOUND "Sound support" on \
NLS "Native language support" on
.include <bsd.port.pre.mk>
post-patch:
.if defined(WITHOUT_SOUND)
@${REINPLACE_CMD} -i "" -e \
's:^XCOMM NO_SOUND_SUPPORT: NO_SOUND_SUPPORT:; \
s:^SOUNDLIB:XCOMM SOUNDLIB:; \
s:^SOUNDINC:XCOMM SOUNDINC: ' ${WRKSRC}/Imakefile
.else
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>