chrisz 2dd0fda6b6 Update OCaml to 4.09
reviewed ports wise and help with @pkgpath, ok by sthen@
reviewed and help with bytecode-only plists, minor nits and ok by jca@
tested on sparc 64 by @jca
tested on aarch64 by Kurt Miller
tested on amd64 by me

Thanks for reviews and testing!
2019-09-26 09:46:09 +00:00

32 lines
645 B
Makefile

# $OpenBSD: Makefile,v 1.5 2019/09/26 09:46:10 chrisz Exp $
COMMENT = optimized parsing and printing library for the JSON format
CATEGORIES = devel
GH_ACCOUNT = ocaml-community
GH_PROJECT = yojson
GH_TAGNAME = 1.7.0
REVISION = 2
PKGNAME = ocaml-${DISTNAME}
# 3-clause BSD
PERMIT_PACKAGE = Yes
WANTLIB = c m
MODULES = lang/ocaml
RUN_DEPENDS = devel/ocaml-easy-format \
devel/ocaml-biniou
BUILD_DEPENDS = ${RUN_DEPENDS} \
devel/dune \
devel/ocaml-cppo
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ocaml-${GH_PROJECT}
mv ${PREFIX}/doc/* ${PREFIX}/share/doc/ocaml-${GH_PROJECT}/
rmdir ${PREFIX}/doc
.include <bsd.port.mk>