5fddf7cfe6
so that packages can remain compatible with OCaml <= 4.03 while using the Result type.
24 lines
590 B
Makefile
24 lines
590 B
Makefile
# $NetBSD: Makefile,v 1.1 2016/08/17 15:55:53 jaapb Exp $
|
|
|
|
GITHUB_PROJECT= result
|
|
DISTNAME= ${GITHUB_PROJECT}-1.2
|
|
PKGNAME= ocaml-${DISTNAME}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=janestreet/}
|
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
|
HOMEPAGE= https://github.com/janestreet/result/
|
|
COMMENT= OCaml compatibility library for Result module
|
|
LICENSE= modified-bsd
|
|
|
|
USE_LANGUAGES= # none
|
|
OCAML_USE_FINDLIB= yes
|
|
|
|
.include "../../mk/ocaml.mk"
|
|
BUILD_TARGET= byte
|
|
.if (${OCAML_USE_OPT_COMPILER} == "yes")
|
|
BUILD_TARGET+= native
|
|
.endif
|
|
BUILD_TARGET+= result.install
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|