aboutsummaryrefslogtreecommitdiff
path: root/net/clusterit/Makefile
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2001-09-03 01:24:04 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2001-09-03 01:24:04 +0000
commit5b7d4944b001aeb4111ea83f6e1430aeb3aa7b09 (patch)
tree982e72b4794b983eae3ab79ef79f84b1bfaf6d78 /net/clusterit/Makefile
parent1f66b5b8a8655df4a7e86925601a5647f83376e1 (diff)
downloadports-5b7d4944b001aeb4111ea83f6e1430aeb3aa7b09.tar.gz
ports-5b7d4944b001aeb4111ea83f6e1430aeb3aa7b09.zip
Notes
Diffstat (limited to 'net/clusterit/Makefile')
-rw-r--r--net/clusterit/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/net/clusterit/Makefile b/net/clusterit/Makefile
index 3723187526d8..e4e4987ed138 100644
--- a/net/clusterit/Makefile
+++ b/net/clusterit/Makefile
@@ -15,10 +15,21 @@ MAINTAINER= demon@FreeBSD.org
USE_XLIB= yes
-MAN1= barrier.1 barrierd.1 dsh.1 jsh.1 jsd.1 rvt.1 dvt.1 \
+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'
+.if defined(WITHOUT_X11)
+ @${PERL} -pi -e 's#rvt dvt##g' ${WRKSRC}/Makefile
+.endif
.include <bsd.port.mk>