# $NetBSD: Makefile,v 1.2 2017/09/08 09:51:24 jaapb Exp $
VERSION= 2.0.0_beta3
GITHUB_PROJECT= opam-file-format
GITHUB_TAG= ${VERSION:S/_/-/}
DISTNAME= ${GITHUB_PROJECT}-${VERSION}
PKGNAME= ocaml-${DISTNAME}
PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_GITHUB:=ocaml/}
MAKE_JOBS_SAFE= no
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= http://opam.ocaml.org/
COMMENT= Parser and printer for the opam file syntax
LICENSE= gnu-lgpl-v3
USE_TOOLS+= gmake
OCAML_USE_FINDLIB= yes
INSTALL_ENV+= LIBDIR=${PREFIX}/${OCAML_SITELIBDIR}
.include "../../mk/ocaml.mk"
.if ${OCAML_USE_OPT_COMPILER} == "yes"
BUILD_TARGET= all
.else
BUILD_TARGET= byte
.endif
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>