pkgsrc/security/dsniff-nox11/Makefile

24 lines
582 B
Makefile

# $NetBSD: Makefile,v 1.9 2012/03/03 00:14:27 wiz Exp $
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../security/dsniff/Makefile.common"
PKGNAME= dsniff-nox11-${VERS}
PKGREVISION= 5
COMMENT= Password sniffer
CONFIGURE_ARGS+= --without-x
INSTALLATION_DIRS+= ${PKGMANDIR}/man8
INSTALL_MAKE_FLAGS+= install_prefix=${DESTDIR}
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"