aboutsummaryrefslogtreecommitdiffstats
path: root/security/fl0p/Makefile
blob: 756d2a4fbfc4ba0d7ce2fc60aaf27ba808ed69b6 (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:    fl0p
# Date created:     2006-12-04
# Whom:         trasz <trasz@pin.if.uz.zgora.pl>
#
# $FreeBSD$
#

PORTNAME=   fl0p
PORTVERSION=    0.0.2.b
CATEGORIES= security
MASTER_SITES=   http://lcamtuf.coredump.cx/soft/
DISTNAME=   fl0p-devel
EXTRACT_SUFX=   .tgz

MAINTAINER= trasz@FreeBSD.org
COMMENT=    Passive L7 flow fingerprinting tool

WRKSRC=     ${WRKDIR}/fl0p/

post-patch:
    ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/config.h

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/fl0p ${PREFIX}/bin
    ${MKDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/fl0p.fp ${DATADIR}/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/doc/README ${DOCSDIR}/
    ${INSTALL_MAN} ${WRKSRC}/doc/ChangeLog ${DOCSDIR}/
    ${INSTALL_MAN} ${WRKSRC}/doc/TODO ${DOCSDIR}/
    ${INSTALL_MAN} ${WRKSRC}/doc/CREDITS ${DOCSDIR}/
.endif

.include <bsd.port.mk>