pkgsrc/math/ocaml-num/Makefile

26 lines
607 B
Makefile

# $NetBSD: Makefile,v 1.4 2018/11/12 16:10:24 jaapb Exp $
GITHUB_PROJECT= num
GITHUB_TAG= v${PKGVERSION_NOREV}
DISTNAME= ${GITHUB_PROJECT}-1.1
PKGNAME= ocaml-${DISTNAME}
PKGREVISION= 3
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GITHUB:=ocaml/}
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= https://github.com/ocaml/num/
COMMENT= Library for arbitrary-precision arithmetic
LICENSE= gnu-lgpl-v2.1
USE_LANGUAGES= # none
USE_TOOLS+= gmake
BUILD_TARGET= all
INSTALLATION_DIRS+= lib/ocaml/stublibs
OCAML_USE_FINDLIB= yes
OCAML_FINDLIB_DIRS+= num-top
.include "../../mk/ocaml.mk"
.include "../../mk/bsd.pkg.mk"