diff options
author | Wen Heping <wen@FreeBSD.org> | 2011-01-05 01:54:24 +0000 |
---|---|---|
committer | Wen Heping <wen@FreeBSD.org> | 2011-01-05 01:54:24 +0000 |
commit | 1f97047ba332f63cd5be848b676b0bcf415c5a57 (patch) | |
tree | 808633dd57cf78675839236a04eb0f08c3e305cc /security/honggfuzz/Makefile | |
parent | 6a2c1c772dbc54d06149445ef758e33e4da9ed78 (diff) |
Notes
Diffstat (limited to 'security/honggfuzz/Makefile')
-rw-r--r-- | security/honggfuzz/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/security/honggfuzz/Makefile b/security/honggfuzz/Makefile new file mode 100644 index 000000000000..80a25d74719e --- /dev/null +++ b/security/honggfuzz/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: honggfuzz +# Date created: 2010-12-13 +# Whom: Sofian Brabez <sbrabez@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= honggfuzz +PORTVERSION= 0.1 +CATEGORIES= security +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} +EXTRACT_SUFX= .tgz + +MAINTAINER= sbrabez@gmail.com +COMMENT= A general-purpose fuzzer with simple, command-line interface + +LICENSE= ASL +LICENSE_FILE= ${WRKSRC}/COPYING + +USE_GMAKE= yes + +# inplace replacement to remove relative binary path in examples scripts +post-patch: + @${REINPLACE_CMD} -i "" -E "s,\.\./,," ${WRKSRC}/examples/*.sh + +do-build: + @(cd ${WRKSRC}; ${GMAKE}) + +do-install: +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) +.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + +.include <bsd.port.mk> |