summaryrefslogtreecommitdiffstats
path: root/net/clusterit/Makefile
blob: 92870736a8b59a78f797517883c438e116537e01 (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
# 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>
OpenPOWER on IntegriCloud