1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/security/chaosreader/Makefile

36 lines
777 B
Makefile

# Created by: pauls
# $FreeBSD$
PORTNAME= chaosreader
PORTVERSION= 0.94
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF
DISTFILES= ${PORTNAME}${PORTVERSION} sshkeydata0.20
EXTRACT_ONLY=
NO_WRKSUBDIR= yes
MAINTAINER= pauls@utdallas.edu
COMMENT= Tool to extract data from tcpdump logs
NO_BUILD= yes
USES= perl5
USE_PERL5= run
PLIST_FILES= bin/${PORTNAME} bin/sshkeydata
NO_STAGE= yes
post-extract:
${CP} ${DISTDIR}/${PORTNAME}${PORTVERSION} ${WRKDIR}/${PORTNAME}
${CP} ${DISTDIR}/sshkeydata0.20 ${WRKDIR}/sshkeydata
post-patch:
${REINPLACE_CMD} s:/usr/bin/perl:${PERL}: \
${WRKDIR}/${PORTNAME} ${WRKDIR}/sshkeydata
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKDIR}/sshkeydata ${PREFIX}/bin
.include <bsd.port.mk>