45 lines
979 B
Makefile
45 lines
979 B
Makefile
# $OpenBSD: Makefile,v 1.36 2007/01/04 20:19:54 steven Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= "multi-purpose sniffer/interceptor/logger"
|
|
|
|
VER= 0.6.b
|
|
DISTNAME= ettercap-${VER}
|
|
PKGNAME= ${DISTNAME}p5
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://ettercap.sourceforge.net/
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ettercap/} \
|
|
${MASTER_SITE_PACKETSTORM:=sniffers/ettercap/}
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= pthread c crypto des form ncurses ssl
|
|
|
|
FLAVORS= no_x11
|
|
FLAVOR?=
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --enable-https
|
|
|
|
.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 Xext Xrender atk-1.0 fontconfig z \
|
|
freetype glib-2.0 gmodule-2.0 glitz png \
|
|
gobject-2.0 m pango-1.0 pangocairo-1.0 \
|
|
pangoft2-1.0 cairo
|
|
MODULES= devel/gettext
|
|
USE_X11= Yes
|
|
.endif
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
.include <bsd.port.mk>
|