aboutsummaryrefslogtreecommitdiffstats
path: root/net/tcpflow/Makefile
blob: 5d2c9ec6ea354cc9456f52f7e42312b177d0188b (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
# Created by: Jose M. Alcaide <jose@we.lc.ehu.es>
# $FreeBSD$

PORTNAME=   tcpflow
PORTVERSION=    1.4.4
CATEGORIES= net
MASTER_SITES=   http://www.digitalcorpora.org/downloads/${PORTNAME}/

MAINTAINER= antoine@FreeBSD.org
COMMENT=    Program that captures data transmitted as part of TCP connections

LICENSE=    GPLv3

BUILD_DEPENDS=  ${LOCALBASE}/include/boost/icl/interval.hpp:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS=    libcairo.so:${PORTSDIR}/graphics/cairo

USE_OPENSSL=    yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

PLIST_FILES=    bin/tcpflow man/man1/tcpflow.1.gz
PORTDOCS=   AUTHORS ChangeLog NEWS README

OPTIONS_DEFINE= DOCS

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>