pkgsrc/devel/ocaml-yojson/Makefile
jaapb 56ed9d3f04 Revbump associated with the upgrade of lang/ocaml
(this is the upgrade from 4.06 to 4.06.1)
2018-04-13 13:55:27 +00:00

31 lines
808 B
Makefile

# $NetBSD: Makefile,v 1.7 2018/04/13 13:55:32 jaapb Exp $
GITHUB_PROJECT= yojson
GITHUB_TAG= v${PKGVERSION_NOREV}
DISTNAME= ${GITHUB_PROJECT}-1.4.1
PKGNAME= ocaml-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=mjambon/}
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= https://github.com/mjambon/yojson/
COMMENT= JSON parsing and pretty-printing library for OCaml
LICENSE= modified-bsd
MAKE_JOBS_SAFE= no
USE_TOOLS+= gmake
BUILD_TARGET= META all
OCAML_USE_JBUILDER= yes
INSTALLATION_DIRS+= bin
.include "../../mk/ocaml.mk"
.if ${OCAML_USE_OPT_COMPILER} == "yes"
BUILD_TARGET+= opt
.endif
.include "../../devel/ocaml-biniou/buildlink3.mk"
.include "../../devel/ocaml-cppo/buildlink3.mk"
.include "../../textproc/ocaml-easy-format/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"