openbsd-ports/net/ethereal/Makefile
jakob 18c8917d1f update to v0.8.15. summary of changes:
Ethereal 0.8.15 has one of the biggest GUI changes in recent history;
display filters can now be constructed via an easy-to-use point-and-click
interface. Protocol dissectors now exist for: NFSv4, Mobile IPv6, X.25
over TCP, LAPBETHER, DEC LANBridge Spanning Tree Protocol, X.25 over LLC,
Frame Relay, MTP3 User Adaptation Layer, and ISDN Q.921 User Adaptation
Layer. Many other dissectors and core features were improved, and bugs
were squashed. The wiretap library can now read Sniffer Frame Relay files.
Capturing supports the "any" pseudo-device on Linux if you use libpcap 0.6
from www.tcpdump.org.
2001-01-12 20:52:39 +00:00

48 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.42 2001/01/12 20:52:39 jakob Exp $
DISTNAME= ethereal-0.8.15
CATEGORIES= net x11
NEED_VERSION= 1.305
MASTER_SITES= http://www.ethereal.com/distribution/ \
http://ethereal.zing.org/distribution/ \
http://ethereal.boehm.org/distribution/ \
http://www.ethereal.com/distribution/old-versions/ \
http://ethereal.zing.org/distribution/old-versions/ \
http://ethereal.boehm.org/distribution/old-versions/
HOMEPAGE= http://www.ethereal.com/
LIB_DEPENDS= gtk.1.2::x11/gtk+
BUILD_DEPENDS= python::lang/python
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
USE_X11= Yes
SYSCONFDIR= ${PREFIX}/share/ethereal
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
FLAVORS= snmp
FLAVOR?=
.if ${FLAVOR:L} == "snmp"
CONFIGURE_ARGS+= --enable-snmp
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" LIBS="-lsnmp -lcrypto"
BUILD_DEPENDS+= ${PREFIX}/lib/libsnmp.a::net/ucd-snmp
.else
CONFIGURE_ARGS+= --disable-snmp
.endif
post-install:
${INSTALL_MAN} ${WRKBUILD}/editcap.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKBUILD}/ethereal.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKBUILD}/tethereal.1 ${PREFIX}/man/man1
.include <bsd.port.mk>