mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
a92cc37b35
Reported by: pkg-fallout
30 lines
774 B
Makefile
30 lines
774 B
Makefile
# Created by: Sofian Brabez <sbrabez@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= honggfuzz
|
|
PORTVERSION= 0.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= sbz@FreeBSD.org
|
|
COMMENT= General-purpose fuzzer with simple, command-line interface
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= gmake
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
# inplace replacement to remove relative binary path in examples scripts
|
|
post-patch:
|
|
${REINPLACE_CMD} -i "" -E "s,\.\./,," ${WRKSRC}/examples/*.sh
|
|
${REINPLACE_CMD} -i "" -E 's,gcc,${CC},' ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|