aboutsummaryrefslogtreecommitdiffstats
path: root/net/ethereal/Makefile
blob: 339f78a21f87cf4efc8129747a9d80cf39d297f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:   ethereal
# Date created:        10 August 1998
# Whom:                Bill Fumerola <billf@chc-chimes.com>
#
# $FreeBSD$
#

PORTNAME=   ethereal
PORTVERSION=    0.8.19
PORTREVISION=   1
CATEGORIES= net ipv6
MASTER_SITES=   ftp://ftp.ethereal.com/pub/ethereal/ \
        ftp://gd.tuwien.ac.at/infosys/security/ethereal/ \
        ftp://ftp.sunet.se/pub/network/monitoring/ethereal/ \
        ftp://the.wiretapped.net/pub/security/packet-sniffing/ethereal/

MAINTAINER= billf@FreeBSD.org

.if defined(WITH_SNMP)
LIB_DEPENDS=    snmp.4:${PORTSDIR}/net/net-snmp
.endif

USE_X_PREFIX=   yes
USE_GTK=    yes
USE_LIBTOOL=    yes
LIBTOOLFILES=   configure epan/configure wiretap/configure
.if defined(WITH_SNMP)
CONFIGURE_ARGS+=    --enable-snmp=yes
.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=       ethereal.1 tethereal.1 editcap.1 mergecap.1 text2pcap.1

pre-install:
.for i in ${MAN1}
    ${INSTALL_MAN} ${WRKSRC}/${i} ${PREFIX}/man/man1
.endfor

.include <bsd.port.mk>