summaryrefslogtreecommitdiffstats
path: root/x11-wm/ctwm/Makefile
blob: b20fd60cc64a04e646460802cd9ed4b2381fefaf (plain)
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
36
37
# New ports collection makefile for:	ctwm
# Date created:		13 November 1994
# Whom:			torstenb
#
# $FreeBSD$
#

PORTNAME=	ctwm
PORTVERSION=	3.8a
PORTREVISION=	2
CATEGORIES=	x11-wm
MASTER_SITES=	http://ctwm.free.lp.se/dist/ \
		http://www.centralmiss.com/~matt/distfiles/

MAINTAINER=	fullermd@over-yonder.net
COMMENT=	An extension to twm, with support for multiple virtual screens, etc

LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg

USE_IMAKE=	yes
USE_XORG=	xpm
MAN1=		ctwm.1

.include <bsd.port.pre.mk>

# Very old versions need GNU m4
.if ( ${OSVERSION} < 500034 )
EXTRA_PATCHES+=	${FILESDIR}/gm4-patch
BUILD_DEPENDS+=	gm4:${PORTSDIR}/devel/m4
RUN_DEPENDS+=	gm4:${PORTSDIR}/devel/m4
.endif

pre-configure:
	${CP} ${WRKSRC}/Imakefile.local-template ${WRKSRC}/Imakefile.local
	${CAT} ${FILESDIR}/Imakefile.local-additional >> ${WRKSRC}/Imakefile.local

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud