# New ports collection makefile for:	tcpreen
# Date created:				09.08.2002
# Whom:					Janos.Mohacsi@bsd.hu
#
# $FreeBSD: ports/net/tcpreen/Makefile,v 1.5 2003/02/21 13:15:03 knu Exp $
#

PORTNAME=	tcpreen
PORTVERSION=	1.1.3
CATEGORIES=	net ipv6
MASTER_SITES=	http://rdenisc.free.fr/tcpreen/

MAINTAINER=	Janos.Mohacsi@bsd.hu
COMMENT=	A simple TCP session re-engineering tool

LIB_DEPENDS=	intl.4:${PORTSDIR}/devel/gettext \
		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
MAN1=		tcpreen.1

DOC_FILES=	README

post-install:
.ifndef(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
