aboutsummaryrefslogtreecommitdiffstats
path: root/security/chaosreader/Makefile
blob: fda92da3ba0e49d6902e5e3ef39e9af966ab0402 (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
35
# New ports collection makefile for:    chaosreader
# Date created:             1 Aug 2007
# Whom:                 pauls
#
# $FreeBSD$
#

PORTNAME=   chaosreader
PORTVERSION=    0.94
CATEGORIES= security
MASTER_SITES=   SF
DISTFILES=  ${PORTNAME}${PORTVERSION} sshkeydata0.20
EXTRACT_ONLY=

MAINTAINER= pauls@utdallas.edu
COMMENT=    A 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>