# Created by: Ying-Chieh Liao # $FreeBSD: head/devel/ocaml-camomile/Makefile 504470 2019-06-18 09:05:52Z danfe $ PORTNAME= camomile PORTVERSION= 1.0.1 CATEGORIES= devel PKGNAMEPREFIX= ocaml- MAINTAINER= ports@FreeBSD.org COMMENT= Comprehensive Unicode library for Objective Caml LICENSE= LGPL21 BUILD_DEPENDS= jbuilder:devel/ocaml-dune USES= gmake USE_GITHUB= yes GH_ACCOUNT= yoriyuki GH_PROJECT= Camomile USE_OCAML= yes MAKE_ENV= LIBDIR="${OCAML_SITELIBDIR}" DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} PORTDOCS= CHANGES.md LICENSE.md README.md OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e '/^INSTALL_ARGS/ \ s:$$: $$(if $$(LIBDIR),--libdir $$(LIBDIR),):' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's,(\*\*,(*,' \ ${WRKSRC}/Camomile/public/uCharInfo.mli \ ${WRKSRC}/Camomile/public/stringPrep.ml* .include