aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bunny/Makefile
blob: 9bfec2a9e694041450de81378f6234232080d212 (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
36
37
38
39
40
41
# New ports collection makefile for:    bunny
# Date created:             28 Jan 2008
# Whom:                 Emanuel Haupt <ehaupt@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   bunny
PORTVERSION=    0.92
CATEGORIES= devel
MASTER_SITES=   http://bunny-the-fuzzer.googlecode.com/files/ \
        http://critical.ch/distfiles/ \
        http://energy.critical.ch/distfiles/
EXTRACT_SUFX=   .tgz

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Closed loop, high-performance, general purpose protocol-blind fuzzer

WRKSRC=     ${WRKDIR}/${PORTNAME}

PORTDOCS=   README
PLIST_FILES=    bin/bunny-trace bin/bunny-gcc bin/bunny-flow bin/bunny-exec \
        bin/bunny-main

NOT_FOR_ARCHS=  sparc64
NOT_FOR_ARCHS_REASON_sparc64=   Fails to compile

post-patch:
    @${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/${MAKEFILE}

do-install:
.for f in ${PLIST_FILES}
    ${INSTALL_PROGRAM} ${WRKSRC}/${f:C/bin\///} ${PREFIX}/bin
.endfor

.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>