aboutsummaryrefslogtreecommitdiffstats
path: root/security/chaosreader/Makefile
blob: 4062f2af90e5cf8e53681b197d17346d504524d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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
USE_PERL5_RUN=  yes

PLIST_FILES=    bin/${PORTNAME} bin/sshkeydata

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>