# Created by: Stanislav Sedov PORTNAME= cfg PORTVERSION= 2.0.4 DISTVERSIONPREFIX= v CATEGORIES= devel PKGNAMEPREFIX= ocaml- MAINTAINER= ports@FreeBSD.org COMMENT= Library for manipulation of context-free grammars LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.txt BUILD_DEPENDS= menhir:devel/menhir BUILD_DEPENDS+= ocamlbuild:devel/ocaml-ocamlbuild USE_GITHUB= yes GH_ACCOUNT= mmottl USE_OCAML= yes USE_OCAML_FINDLIB=yes USE_OCAMLFIND_PLIST=yes USE_OCAML_WASH= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix ${PREFIX} --disable-docs --disable-examples MAKE_JOBS_UNSAFE=yes DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS.txt CHANGES.txt README.md ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include