diff options
author | Bill Fumerola <billf@FreeBSD.org> | 2002-02-05 00:42:05 +0000 |
---|---|---|
committer | Bill Fumerola <billf@FreeBSD.org> | 2002-02-05 00:42:05 +0000 |
commit | a60834462be6ab921bd1e067d04ac59127c31cc5 (patch) | |
tree | 1211fe7cc8b69f3176cdf0636355499efd5d775c /net/wireshark | |
parent | 308066d4fa0b14e25f3e3bd0057adca2ab1467f8 (diff) | |
download | ports-a60834462be6ab921bd1e067d04ac59127c31cc5.tar.gz ports-a60834462be6ab921bd1e067d04ac59127c31cc5.zip |
Notes
Diffstat (limited to 'net/wireshark')
-rw-r--r-- | net/wireshark/Makefile | 24 | ||||
-rw-r--r-- | net/wireshark/pkg-plist | 2 |
2 files changed, 19 insertions, 7 deletions
diff --git a/net/wireshark/Makefile b/net/wireshark/Makefile index 1ec36358bf33..120d777edcbe 100644 --- a/net/wireshark/Makefile +++ b/net/wireshark/Makefile @@ -16,26 +16,38 @@ MASTER_SITE_SUBDIR= . old-versions MAINTAINER= billf@FreeBSD.org -.if defined(WITH_SNMP) +.if !defined(WITHOUT_SNMP) LIB_DEPENDS= snmp.4:${PORTSDIR}/net/net-snmp .endif +.if !defined(WITHOUT_X11) USE_X_PREFIX= yes USE_GTK= yes +MAN1+= ethereal.1 +PLIST_SUB+= ETHEREAL=bin/ethereal +.else +PLIST_SUB+= ETHEREAL="@comment ethereal not built" +LIB_DEPENDS+= glib12.3:${PORTSDIR}/devel/glib12 +CONFIGURE_ARGS+= --enable-ethereal=no \ + --disable-gtktest +CONFIGURE_ENV+= GLIB_CONFIG=${LOCALBASE}/bin/glib12-config +.endif + USE_LIBTOOL= yes LIBTOOLFILES= configure epan/configure wiretap/configure -.if defined(WITH_SNMP) -CONFIGURE_ARGS+= --enable-snmp=yes +PLIST_SUB+= PORTVERSION=${PORTVERSION} + +.if !defined(WITHOUT_SNMP) +CONFIGURE_ARGS+= --enable-snmp=yes \ + --with-ucdsnmp=${LOCALBASE}/lib .if exists(/usr/include/openssl/crypto.h) CONFIGURE_ARGS+= --with-ssl=/usr .endif .else CONFIGURE_ARGS+= --enable-snmp=no .endif -PLIST_SUB= PORTVERSION=${PORTVERSION} -MAN1= editcap.1 ethereal.1 idl2eth.1 mergecap.1 tethereal.1 \ - text2pcap.1 +MAN1+= editcap.1 idl2eth.1 mergecap.1 tethereal.1 text2pcap.1 pre-install: .for i in ${MAN1} diff --git a/net/wireshark/pkg-plist b/net/wireshark/pkg-plist index 87fef9818052..de05835b4cdf 100644 --- a/net/wireshark/pkg-plist +++ b/net/wireshark/pkg-plist @@ -1,5 +1,5 @@ bin/editcap -bin/ethereal +%%ETHEREAL%% bin/idl2eth bin/mergecap bin/tethereal |