# New ports collection makefile for: vtwm
# Date created: 21 December 1998
# Whom: bmah@ca.sandia.gov
#
# $FreeBSD: ports/x11-wm/vtwm/Makefile,v 1.19 2007/10/21 14:22:21 itetcu Exp $
#
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>
syntax highlighted by Code2HTML, v. 0.9.1