aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/vtwm/Makefile
blob: 23c7679245135c1f5c07d5be1536e5f6d3fea8bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:	vtwm
# Date created:		21 December 1998
# Whom:			bmah@ca.sandia.gov
#
# $FreeBSD$
#

PORTNAME=	vtwm
PORTVERSION=	5.4.7
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_XPM=	yes

MAN1=		vtwm.1

OPTIONS=	SOUND "Sound 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

.include <bsd.port.post.mk>