openbsd-ports/net/ettercap/Makefile
brad 064fc16871 - Comment out the DNS dissector in the default example config
since the DNS dissector is not being built.
- Sync the PLIST.

ok okan@
2008-07-16 20:15:48 +00:00

59 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.40 2008/07/16 20:15:48 brad Exp $
SHARED_ONLY= Yes
COMMENT= multi-purpose sniffer/interceptor/logger
VER= 0.7.3
DISTNAME= ettercap-NG-${VER}
PKGNAME= ettercap-${VER}p1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ettercap/}
HOMEPAGE= http://ettercap.sourceforge.net/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB+= c crypto form menu ncurses panel pcap pthread ssl z
LIB_DEPENDS= lib/libnet-1.1/net.=11:libnet-1.1*:net/libnet/1.1 \
ltdl::devel/libtool,-ltdl \
pcre::devel/pcre
FLAVORS= no_x11
FLAVOR?=
USE_LIBTOOL= Yes
LIBTOOL_FLAGS= --tag=disable-static
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.59
CONFIGURE_ARGS+= --with-libnet=${LOCALBASE} \
--with-libpcre=${LOCALBASE}
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.if ${FLAVOR:L:Mno_x11}
CONFIGURE_ARGS+= --enable-gtk=no
.else
LIB_DEPENDS+= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
WANTLIB+= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes Xi \
Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig \
freetype glib-2.0 glitz gmodule-2.0 gthread-2.0 \
gobject-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0 \
pixman-1 png
MODULES= devel/gettext
USE_X11= Yes
.endif
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ettercap
${INSTALL_DATA} ${WRKINST}${SYSCONFDIR}/etter.conf \
${PREFIX}/share/examples/ettercap
.include <bsd.port.mk>