aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/ipsectrace/Makefile
blob: 434ddda37f65067e0b9c1d75912de8872899aa28 (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
# New ports collection makefile for:    ipsectrace
# Date created:     2006-11-04
# Whom:         Babak Farrokhi <babak@farrokhi.net>
#
# $FreeBSD$
#

PORTNAME=   ipsectrace
PORTVERSION=    0.1.0
CATEGORIES= net-mgmt security
MASTER_SITES=   http://chewies.net/ \
        http://farrokhi.net/distfiles/

MAINTAINER= ports@FreeBSD.org
COMMENT=    IPSEC Traffic Profiler

WRKSRC=     ${WRKDIR}/${PORTNAME}
MAKE_ARGS=  CXX="${CXX}" CXXFLAGS="${CXXFLAGS} -Wno-deprecated" \
        LDFLAGS="${LDFLAGS} -lpcap" INCLUDES="${INCLUDES}"
PLIST_FILES=    bin/ipsectrace

post-patch:
    @${REINPLACE_CMD} -e 's,-O2,,g' ${WRKSRC}/Makefile
    @${REINPLACE_CMD} -e 's,<hash_map>,<hash_map.h>,g' ${WRKSRC}/ipsectrace.h

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ipsectrace ${PREFIX}/bin/ipsectrace

.include <bsd.port.mk>