chrisz 8f34a2e806 Update lang/ocaml to 4.10.0
tested on sparc64, update to lang/camlp4 and ok by jca@
ok daniel@
thanks.
2020-06-09 17:34:13 +00:00

42 lines
831 B
Makefile

# $OpenBSD: Makefile,v 1.10 2020/06/09 17:34:13 chrisz Exp $
COMMENT = OCaml build system
CATEGORIES = devel
GH_ACCOUNT = ocaml
GH_PROJECT = dune
GH_TAGNAME = 1.11.3
REVISION = 1
HOMEPAGE = https://github.com/ocaml/dune
MAINTAINER = Christopher Zimmermann <chrisz@openbsd.org>
# MIT
PERMIT_PACKAGE = Yes
WANTLIB = c m pthread
MODULES = lang/ocaml
BUILD_DEPENDS = sysutils/findlib
CONFIGURE_STYLE = simple
CONFIGURE_ARGS = --libdir ${PREFIX}/lib/ocaml/
USE_GMAKE = Yes
MAKE_FLAGS = DUNE_FLAGS="--display verbose -j ${MAKE_JOBS}"
ALL_TARGET = release
FAKE_FLAGS = PREFIX=${PREFIX} LIBDIR=lib/ocaml
INSTALL_TARGET = install
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>