freebsd-ports/security/firewalk/Makefile
Carlo Strub f87124df63 - Remove A/An in COMMENT
- Trim Header where applicable
2013-03-29 19:33:41 +00:00

41 lines
1,011 B
Makefile

# Created by: shipley@dis.org
# $FreeBSD$
#
PORTNAME= firewalk
PORTVERSION= 5.0
PORTREVISION= 4
CATEGORIES= security
MASTER_SITES= http://www.packetfactory.net/firewalk/dist/
EXTRACT_SUFX= .tgz
MAINTAINER= onatan@gmail.com
COMMENT= Remote firewall auditing tool
LIB_DEPENDS= dnet:${PORTSDIR}/net/libdnet \
net:${PORTSDIR}/net/libnet
WRKSRC= ${WRKDIR}/Firewalk
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include `${LIBNET_CONFIG} --cflags`
LDFLAGS+= -L${LOCALBASE}/lib
MAN8= firewalk.8
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
post-patch:
@${REINPLACE_CMD} -e 's|-lnet|`${LIBNET_CONFIG} --libs`|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/firewalk ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/man/firewalk.8 ${MANPREFIX}/man/man8/
. if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/BUGS ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
. endif
.include <bsd.port.mk>