mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Add WITHOUT_X11 knob.
Submitted by: Kris Gale <kris@icgcorp.net>
This commit is contained in:
parent
1f66b5b8a8
commit
5b7d4944b0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47330
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user