# $OpenBSD$

COMMENT=		"Packet Capture Library"
VERSION=		0.9.4
DISTNAME=		libpcap-${VERSION}
CATEGORIES=		net

HOMEPAGE=		http://www.tcpdump.org/

MAINTAINER=		Travis H. <travis+openbsd@subspacefield.org>

# I guess since the base system comes with this,
# these should be set to YES.
PERMIT_PACKAGE_CDROM=	YES
PERMIT_PACKAGE_FTP=	YES
PERMIT_DISTFILES_CDROM= YES
PERMIT_DISTFILES_FTP=	YES

MASTER_SITES=		http://www.tcpdump.org/release/
MASTER_SITES0=		http://mirror.aarnet.edu.au/pub/tcpdump/release/
MASTER_SITES1=		http://ftp.gwdg.de/pub/misc/tcpdump/release/
DISTFILES=		${DISTNAME}${EXTRACT_SUFX}

CONFIGURE_STYLE=	gnu

NO_REGRESS=YES

pre-extract:
	@echo Sorry, someone botched the distribution tarfile, ignore this error:
	-${TAR} -xzf ${FULLDISTDIR}/${EXTRACT_ONLY} -C ${WRKDIR}

.include <bsd.port.mk>
