1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add WITHOUT_X11 knob. If specified, webspy(8) will not be installed,

and the X11 libraries are not required.

Approved by:	maintainer
This commit is contained in:
Sheldon Hearn 2002-06-17 13:41:55 +00:00
parent 001b6467bf
commit a9fec3d0ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61419
2 changed files with 11 additions and 3 deletions

View File

@ -16,10 +16,18 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet \
${LOCALBASE}/lib/libnids.a:${PORTSDIR}/net/libnids
GNU_CONFIGURE= yes
USE_XLIB= yes
MAN8= arpspoof.8 dsniff.8 macof.8 mailsnarf.8 tcpkill.8 \
tcpnice.8 urlsnarf.8 webspy.8 filesnarf.8 dnsspoof.8 msgsnarf.8 \
tcpnice.8 urlsnarf.8 filesnarf.8 dnsspoof.8 msgsnarf.8 \
sshmitm.8 webmitm.8
.if !defined(WITHOUT_X11)
USE_XLIB= yes
PLIST_SUB+= X11=''
.else
CONFIGURE_ARGS+= --without-x
PLIST_SUB+= X11='@comment '
MAN8+= webspy.8
.endif
.include <bsd.port.mk>

View File

@ -13,4 +13,4 @@ sbin/tcpkill
sbin/tcpnice
sbin/urlsnarf
sbin/webmitm
sbin/webspy
%%X11%%sbin/webspy