2017-07-11 16:19:18 +02:00
|
|
|
# $NetBSD: Makefile,v 1.3 2017/07/11 14:19:22 jaapb Exp $
|
2016-08-17 17:55:53 +02:00
|
|
|
|
|
|
|
GITHUB_PROJECT= result
|
|
|
|
DISTNAME= ${GITHUB_PROJECT}-1.2
|
|
|
|
PKGNAME= ocaml-${DISTNAME}
|
2017-07-11 16:19:18 +02:00
|
|
|
PKGREVISION= 2
|
2016-08-17 17:55:53 +02:00
|
|
|
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"
|