pkgsrc/net/ettercap-NG/Makefile
adrianp 42c87d0fd8 - Add RMD160 checksum
- Use INSTALL_UNSTRIPPED to fix Darwin
- Remove GTK frontend support as it's still got threading problems
  and it's not ready for pkgsrc.
2005-05-14 17:19:02 +00:00

52 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2005/05/14 17:19:02 adrianp Exp $
DISTNAME= ettercap-NG-0.7.2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ettercap/}
MAINTAINER= adrianp@NetBSD.org
HOMEPAGE= http://ettercap.sourceforge.net/
COMMENT= Multipurpose sniffer/interceptor/logger for switched LAN
CONFLICTS= ettercap-[0-9]*
BUILDLINK_DEPENDS.libpcap+= libpcap>=0.8.1
GNU_CONFIGURE= YES
PTHREAD_OPTS+= require
USE_PKGINSTALL= YES
USE_LIBTOOL= YES
USE_NCURSES= # ncurses.h menu.h panel.h form.h
USE_OLD_DES_API= YES
CONFIGURE_ARGS+= --with-libnet=${BUILDLINK_PREFIX.libnet}
CONFIGURE_ARGS+= --with-libpcap=${BUILDLINK_PREFIX.libpcap}
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
CONFIGURE_ARGS+= --with-libpcre=${BUILDLINK_PREFIX.pcre}
CONFIGURE_ARGS+= --with-libncurses=${BUILDLINK_PREFIX.ncurses}
CONFIGURE_ARGS+= --enable-plugins
CONFIGURE_ARGS+= --disable-gtk
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
INSTALL_UNSTRIPPED= YES
.endif
CONF_FILES= ${PREFIX}/share/examples/ettercap-NG/etter.conf \
${PKG_SYSCONFDIR}/etter.conf
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/libnet11/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ettercap-NG
${INSTALL_DATA} ${WRKSRC}/share/etter.conf \
${PREFIX}/share/examples/ettercap-NG
.include "../../mk/bsd.pkg.mk"