summaryrefslogtreecommitdiff
path: root/net/tcpreen/Makefile
blob: 236b91b805649116b82aee00b6cb94601c5d8233 (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
# Created by: Janos.Mohacsi@bsd.hu
# $FreeBSD$

PORTNAME=	tcpreen
PORTVERSION=	1.4.4
PORTREVISION=	2
CATEGORIES=	net ipv6
MASTER_SITES=	http://www.remlab.net/files/tcpreen/

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

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
MAN1=		tcpreen.1

DOC_FILES=	AUTHORS NEWS README THANKS TODO

NO_STAGE=	yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=		gettext
PLIST_SUB+=	NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+=	NLS="@comment "
.endif

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>