0fab25a3e2
Honggfuzz fails -pedantic checks on gcc-5. This wouldn't be a problem except for the fact -Werror was also set, so Werror is getting removed. Approved by: blanket
29 lines
785 B
Makefile
29 lines
785 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}
|
|
|
|
MAINTAINER= sbz@FreeBSD.org
|
|
COMMENT= General-purpose fuzzer with simple, command-line interface
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USES= gmake tar:tgz
|
|
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},' \
|
|
-e 's| -Werror||' ${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>
|