1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/net/hexinject/Makefile

29 lines
702 B
Makefile
Raw Normal View History

2013-02-25 10:25:46 +00:00
# Created by: Sofian Brabez <sbrabez@gmail.com>
# $FreeBSD$
PORTNAME= hexinject
2013-02-25 10:25:46 +00:00
PORTVERSION= 1.5
CATEGORIES= net security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
2013-02-25 10:25:46 +00:00
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= sbz@FreeBSD.org
COMMENT= HexInject is a very versatile packet injector and sniffer
LICENSE= BSD2CLAUSE
LIB_DEPENDS= libpcap.so:${PORTSDIR}/net/libpcap
PLIST_FILES= bin/${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
${REINPLACE_CMD} -e 's#gcc#${CC}#g' ${WRKSRC}/Makefile
${REINPLACE_CMD} -e '2s#-lpcap#-L${LOCALBASE}/lib -lpcap#' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>