pkgsrc/devel/ocaml-result/Makefile

26 lines
605 B
Makefile
Raw Normal View History

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