aboutsummaryrefslogtreecommitdiffstats
path: root/devel/bunny/Makefile
blob: 6bd3b10340f029ec0fbd86d8e695e0227ae2c0d7 (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
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$

PORTNAME=   bunny
PORTVERSION=    0.93
CATEGORIES= devel
MASTER_SITES=   GOOGLE_CODE CRITICAL
EXTRACT_SUFX=   .tgz

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

PROJECTHOST=    bunny-the-fuzzer
WRKSRC=     ${WRKDIR}/${PORTNAME}

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

ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON=  Fails to compile: invokes i386 asm

OPTIONS_DEFINE=DOCS

.include <bsd.port.options.mk>

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 ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>