File:  [cvs.NetBSD.org] / pkgsrc / devel / ocaml-oasis / Makefile
Revision 1.12: download - view: text, annotated - select for diffs
Wed Jan 10 16:53:09 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.12 2018/01/10 16:53:09 jaapb Exp $

DISTNAME=	oasis-0.4.10
PKGNAME=	ocaml-${DISTNAME}
PKGREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	http://forge.ocamlcore.org/frs/download.php/1694/

MAINTAINER=	jaapb@NetBSD.org
HOMEPAGE=	http://oasis.forge.ocamlcore.org/
COMMENT=	Build system for OCaml projects
LICENSE=	gnu-lgpl-v2.1

OCAML_USE_OASIS=	yes
CONFIGURE_ARGS+=	--bindir ${DESTDIR}${PREFIX}/bin --enable-libraries
INSTALLATION_DIRS+=	bin

OCAML_FINDLIB_DIRS+=	plugin-loader

.include "../../mk/ocaml.mk"

post-install:
.if ${OCAML_USE_OPT_COMPILER} == "yes"
	${INSTALL_PROGRAM} ${WRKSRC}/_build/src/cli/Main.native ${DESTDIR}${PREFIX}/bin/oasis
.else
	${INSTALL_SCRIPT} ${WRKSRC}/_build/src/cli/Main.byte ${DESTDIR}${PREFIX}/bin/oasis
.endif

.include "../../devel/ocamlbuild/buildlink3.mk"
.include "../../devel/ocamlify/buildlink3.mk"
.include "../../devel/ocamlmod/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>