mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
4590ff95ef
Approved by: portmgr (linimon)
30 lines
762 B
Makefile
30 lines
762 B
Makefile
# 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>
|