ports/devel/ocaml-result/Makefile
Alexey Dokuchaev f3eb226bee devel/ocaml-result: update the port to version 1.5
- Now builds itself using Dune (devel/ocaml-dune)
- Drop reference to Pervasives; it is deprecated
- Result is an alias to Stdlib.Result on OCaml 4.08+

Reported by:	portscout (a while ago)
2021-09-23 09:11:34 +00:00

26 lines
470 B
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= result
PORTVERSION= 1.5
CATEGORIES= devel
PKGNAMEPREFIX= ocaml-
MAINTAINER= danfe@FreeBSD.org
COMMENT= Compatibility result module for OCaml
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
BUILD_DEPENDS= dune:devel/ocaml-dune
USES= gmake
USE_OCAML= yes
USE_GITHUB= yes
GH_ACCOUNT= janestreet
ALL_TARGET= default
MAKE_ENV= LIBDIR=${OCAML_SITELIBDIR}
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>