aboutsummaryrefslogtreecommitdiffstats
path: root/net/tcpreen/Makefile
blob: 3fbeb9076c38895e6028b9e13fcd4669ef1c71ed (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=   3
CATEGORIES= net ipv6
MASTER_SITES=   http://www.remlab.net/files/tcpreen/

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

USES=       tar:bzip2
GNU_CONFIGURE=  yes

DOC_FILES=  AUTHORS NEWS README THANKS TODO

OPTIONS_DEFINE= DOCS NLS

.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} ${STAGEDIR}${DOCSDIR}
.for file in ${DOC_FILES}
    @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>