freebsd-ports/net/hexinject/Makefile
Eitan Adler 1e443545d0 The word 'very' has no place in COMMENT
COMMENT should not begin with 'A' or 'An'

Maintainers were notified and given time to object.
2013-10-31 04:17:29 +00:00

32 lines
713 B
Makefile

# Created by: Sofian Brabez <sbrabez@gmail.com>
# $FreeBSD$
PORTNAME= hexinject
PORTVERSION= 1.5
CATEGORIES= net security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= sbz@FreeBSD.org
COMMENT= HexInject is a versatile packet injector and sniffer
LICENSE= BSD
PLIST_FILES= bin/${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e '2s#-lpcap#-L${LOCALBASE}/lib -lpcap#' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.pre.mk>
.if ${OSREL} < 8
BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
.endif
.include <bsd.port.post.mk>