openbsd-ports/net/ettercap/Makefile

63 lines
1.6 KiB
Makefile
Raw Normal View History

2010-11-26 09:56:14 -05:00
# $OpenBSD: Makefile,v 1.52 2010/11/26 14:56:14 espie Exp $
SHARED_ONLY= Yes
COMMENT= multi-purpose sniffer/interceptor/logger
VER= 0.7.3
DISTNAME= ettercap-NG-${VER}
PKGNAME= ettercap-${VER}
2010-10-11 04:11:24 -04:00
REVISION= 6
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
2009-03-16 07:05:45 -04:00
WANTLIB += c crypto form menu ncurses panel pcap pthread ssl z
2010-11-19 17:31:32 -05:00
WANTLIB += lib/libnet-1.1/net=11 ltdl pcre
2009-03-16 07:05:45 -04:00
2010-11-26 09:56:14 -05:00
LIB_DEPENDS= net/libnet/1.1 \
2010-11-19 17:31:32 -05:00
devel/libtool,-ltdl \
devel/pcre
FLAVORS= no_x11
FLAVOR?=
USE_LIBTOOL= Yes
2010-10-18 14:36:45 -04:00
USE_GROFF = 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
2003-05-13 07:22:53 -04:00
.else
2010-11-11 06:54:08 -05:00
MODULES = devel/gettext
2010-11-22 04:30:38 -05:00
LIB_DEPENDS += x11/gtk+2
2009-03-16 07:05:45 -04:00
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
2010-10-11 04:11:24 -04:00
WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
2009-03-16 07:05:45 -04:00
WANTLIB += gthread-2.0 m pango-1.0 pangocairo-1.0 pangoft2-1.0
WANTLIB += pixman-1 png pthread-stubs xcb gdk_pixbuf-2.0
2010-11-11 06:54:08 -05:00
WANTLIB += gdk-x11-2.0 gtk-x11-2.0
.endif
2002-10-27 20:38:44 -05:00
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>