pkgsrc/devel/ocaml-extlib/Makefile

28 lines
613 B
Makefile

# $NetBSD: Makefile,v 1.18 2019/05/15 09:01:03 jaapb Exp $
VERSION= 1.7.6
PKGREVISION= 1
GITHUB_PROJECT= ocaml-extlib
DISTNAME= ${GITHUB_PROJECT}-${VERSION}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=ygrek/}
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= https://github.com/ygrek/ocaml-extlib
COMMENT= Alternative standard library for OCaml
LICENSE= gnu-lgpl-v2.1
USE_TOOLS+= gmake
OCAML_USE_FINDLIB= yes
.include "../../mk/ocaml.mk"
.if ${OCAML_USE_OPT_COMPILER} == "yes"
BUILD_TARGET= build
.else
BUILD_TARGET= all
.endif
.include "../../devel/ocaml-cppo/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"