freebsd-ports/net/clusterit/Makefile
Dmitry Sivachenko e1c6219142 Fix building on -current.
PR:
Submitted by:	Adam Kranzel <adam@blacktabby.org>

Correct LIB_DEPENDS for WITHOUT_X11 case.
2002-01-03 11:02:13 +00:00

37 lines
854 B
Makefile

# New ports collection makefile for: clusterit
# Date created: 4 February 1999
# Whom: Dima Sivachenko
#
# $FreeBSD$
#
PORTNAME= clusterit
PORTVERSION= 2.0
CATEGORIES= net devel
MASTER_SITES= http://www.garbled.net/download/ \
ftp://ftp.chg.ru/pub/prog/parallel/tools/clusterit/
MAINTAINER= demon@FreeBSD.org
MAN1= barrier.1 barrierd.1 dsh.1 jsh.1 jsd.1 \
clustersed.1 run.1 seq.1 dshbak.1 pcp.1 pdf.1 prm.1
.if defined (WITHOUT_X11)
PLIST_SUB+= X11='@comment '
.else
PLIST_SUB+= X11=''
MAN1+= rvt.1 dvt.1
USE_XLIB= yes
.endif
post-patch:
@find ${WRKSRC} -name Makefile | xargs ${PERL} -pi -e 's#/usr/X11R6#${X11BASE}#g'
.for file in command.c rvt.c screen.c
@${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/rvt/${file}
.endfor
.if defined(WITHOUT_X11)
@${PERL} -pi -e 's#rvt dvt##g' ${WRKSRC}/Makefile
.endif
.include <bsd.port.mk>