<commit_before># Created by: <NAME> <<EMAIL>>
# $FreeBSD$

PORTNAME=		pfff
PORTVERSION=		0.29
DISTVERSIONPREFIX=	v
CATEGORIES=		devel

MAINTAINER=		<EMAIL>
COMMENT=		Tools for code analysis

LICENSE=		LGPL21
LICENSE_FILE=		${WRKSRC}/license.txt

BUILD_DEPENDS=		gcc:lang/gcc ocaml:lang/ocaml camlp4:devel/ocaml-camlp4

USES=			gmake perl5 shebangfix
SHEBANG_FILES=		${WRKSRC}/configure

USE_GCC=		yes
USE_GITHUB=		yes
GH_ACCOUNT=		facebook

do-build:
	cd ${WRKSRC} && \
	./configure --prefix=${PREFIX} --novisual && \
	${GMAKE} depend && \
	${GMAKE} && \
	${GMAKE} opt

post-install:
.for l in pfff sgrep spatch stags scheck codequery codeslicer pfff_db pfff_test
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${l}
.endfor

.include <bsd.port.mk><commit_msg>devel/pfff: remove unneeded --novisual conf option<commit_after># Created by: <NAME> <<EMAIL>>
# $FreeBSD$

PORTNAME=		pfff
PORTVERSION=		0.29
DISTVERSIONPREFIX=	v
CATEGORIES=		devel

MAINTAINER=		<EMAIL>
COMMENT=		Tools for code analysis

LICENSE=		LGPL21
LICENSE_FILE=		${WRKSRC}/license.txt

BUILD_DEPENDS=		gcc:lang/gcc ocaml:lang/ocaml camlp4:devel/ocaml-camlp4

USES=			gmake perl5 shebangfix
SHEBANG_FILES=		${WRKSRC}/configure

USE_GCC=		yes
USE_GITHUB=		yes
GH_ACCOUNT=		facebook

do-build:
	cd ${WRKSRC} && \
	./configure --prefix=${PREFIX} && \
	${GMAKE} depend && \
	${GMAKE} && \
	${GMAKE} opt

post-install:
.for l in pfff sgrep spatch stags scheck codequery codeslicer pfff_db pfff_test
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${l}
.endfor

.include <bsd.port.mk>
{'fraction_non_alphanumeric': 0.1400523560209424, 'fraction_numerical': 0.010471204188481676, 'mean_word_length': 4.58029197080292, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2181394', 'n_tokens_mistral': 699, 'n_tokens_neox': 662, 'n_words': 143}