Files
2016-01-21 23:40:00 +01:00

27 lines
609 B
Makefile

# $NetBSD: Makefile,v 1.13 2015/01/26 16:05:04 sevan Exp $
.include "../../security/dsniff/Makefile.common"
PKGNAME= dsniff-nox11-${VERS}
PKGREVISION= 7
COMMENT= Password sniffer
CONFIGURE_ARGS+= --without-x
INSTALLATION_DIRS+= ${PKGMANDIR}/man8
INSTALL_MAKE_FLAGS+= install_prefix=${DESTDIR}
.if ${OPSYS} == "Darwin"
CFLAGS+= -DBIND_8_COMPAT
.endif
post-configure:
( cd ${WRKSRC} \
&& grep '#define.*HAVE_SYS_QUEUE_H' config.h >/dev/null \
&& mv missing/sys/queue.h missing/sys/queue.h.fake )
post-install:
${RM} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/webspy.8
.include "../../mk/bsd.pkg.mk"