pkgsrc/misc/ocaml-opam-file-format/Makefile

31 lines
687 B
Makefile

# $NetBSD: Makefile,v 1.3 2018/01/10 16:53:12 jaapb Exp $
VERSION= 2.0.0_beta3
GITHUB_PROJECT= opam-file-format
GITHUB_TAG= ${VERSION:S/_/-/}
DISTNAME= ${GITHUB_PROJECT}-${VERSION}
PKGNAME= ocaml-${DISTNAME}
PKGREVISION= 2
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"