5f05f46db9
Also change of mk/ocaml.mk to lang/ocaml/ocaml.mk.
28 lines
687 B
Makefile
28 lines
687 B
Makefile
# $NetBSD: Makefile,v 1.10 2022/05/24 18:51:53 jaapb Exp $
|
|
|
|
DISTNAME= ${GITHUB_PROJECT}-0.3.3
|
|
PKGNAME= ocaml-${DISTNAME}
|
|
PKGREVISION= 1
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=jaapb/}
|
|
GITHUB_PROJECT= opaline
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
|
HOMEPAGE= https://github.com/jaapb/opaline
|
|
COMMENT= Lightweight OCaml/opam installer
|
|
LICENSE= mit
|
|
|
|
INSTALLATION_DIRS+= bin
|
|
|
|
.include "../../lang/ocaml/ocaml.mk"
|
|
|
|
.if ${OCAML_USE_OPT_COMPILER} == "yes"
|
|
MAKE_ENV+= OPTNESS=native
|
|
.else
|
|
MAKE_ENV+= OPTNESS=byte
|
|
.endif
|
|
|
|
.include "../../devel/ocamlbuild/buildlink3.mk"
|
|
.include "../../misc/ocaml-opam-file-format/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|