1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/security/honggfuzz/Makefile
Sofian Brabez a92cc37b35 - Fix build with clang
Reported by:	pkg-fallout
2014-05-21 11:59:07 +00:00

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>