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

38 lines
657 B
Makefile

# $OpenBSD: Makefile,v 1.8 2019/09/26 09:46:10 chrisz Exp $
COMMENT = ocamlbuild
CATEGORIES = devel
V = 0.14.0
REVISION = 1
GH_ACCOUNT = ocaml
GH_PROJECT = ocamlbuild
GH_TAGNAME = ${V}
DISTNAME = ${GH_PROJECT}-${V}
# LGPLv2.1+
PERMIT_PACKAGE = Yes
WANTLIB += c m pthread
MODULES = lang/ocaml
.include <bsd.port.arch.mk>
.if ${PROPERTIES:Mocaml_native}
MAKE_ENV += OCAML_NATIVE=true
.else
MAKE_ENV += OCAML_NATIVE=false
.endif
# simply avoid stupid check that's missing DESTDIR
FAKE_FLAGS += CHECK_IF_PREINSTALLED=false
USE_GMAKE = Yes
post-install:
${INSTALL_DATA} \
${WRKSRC}/man/ocamlbuild.1 \
${PREFIX}/man/man1/
.include <bsd.port.mk>