2006-11-08 18:08:47 +00:00
|
|
|
# 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/
|
|
|
|
|
2009-03-09 19:29:12 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-11-08 18:08:47 +00:00
|
|
|
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
|
|
|
|
|
2009-01-06 17:59:31 +00:00
|
|
|
.include <bsd.port.mk>
|