1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/x11-wm/ctwm/Makefile
Pav Lucistnik 629fa6a914 - Drop GNU m4 dependency, unless running on really old FreeBSD version
PR:		ports/110743
Submitted by:	Matthew D. Fuller <fullermd@over-yonder.net> (maintainer)
2007-03-24 14:52:52 +00:00

39 lines
937 B
Makefile

# New ports collection makefile for: ctwm
# Date created: 13 November 1994
# Whom: torstenb
#
# $FreeBSD$
#
PORTNAME= ctwm
PORTVERSION= 3.8a
PORTREVISION= 1
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_XPM= yes
MAN1= ctwm.1
.include <bsd.port.pre.mk>
# Very old versions need GNU m4
.if ( ${OSVERSION} < 450005 || \
( ${OSVERSION} >= 500000 && ${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>