diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/clusterit/Makefile | 13 | ||||
-rw-r--r-- | net/clusterit/pkg-plist | 10 |
2 files changed, 17 insertions, 6 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> diff --git a/net/clusterit/pkg-plist b/net/clusterit/pkg-plist index d3c93ca78fdb..290b640472c1 100644 --- a/net/clusterit/pkg-plist +++ b/net/clusterit/pkg-plist @@ -2,13 +2,13 @@ bin/barrier bin/barrierd bin/clustersed bin/dsh -bin/dvt +bin/dshbak +%%X11%%bin/dvt bin/jsd bin/jsh -bin/rvt -bin/seq -bin/run bin/pcp bin/pdf bin/prm -bin/dshbak +bin/run +%%X11%%bin/rvt +bin/seq |