File:  [cvs.NetBSD.org] / pkgsrc / misc / ocaml-opam-file-format / Makefile
Revision 1.3: download - view: text, annotated - select for diffs
Wed Jan 10 16:53:12 2018 UTC (6 years, 10 months ago) by jaapb
Branches: MAIN
CVS tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, HEAD
Recursive revbump associated with the update to OCaml 4.06.

# $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"

CVSweb <webmaster@jp.NetBSD.org>