blob: f2db9a94b6c74f5c34234cce1223e49cdee17a5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.23 2022/06/28 11:34:37 wiz Exp $
#
VERSION= 1.12
GITHUB_PROJECT= Zarith
GITHUB_TAG= release-${VERSION}
DISTNAME= ${GITHUB_PROJECT}-${VERSION}
PKGNAME= ocaml-${DISTNAME:tl}
PKGREVISION= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GITHUB:=ocaml/}
MAINTAINER= markd@NetBSD.org
HOMEPAGE= https://github.com/ocaml/Zarith
COMMENT= OCaml arithmetic library for arbitrary precision integers
LICENSE= gnu-lgpl-v2
# zarith library creation is racy
MAKE_JOBS_SAFE= no
HAS_CONFIGURE= yes
CONFIGURE_ENV+= DESTDIR=${DESTDIR}
USE_TOOLS+= gmake perl
INSTALLATION_DIRS+= ${OCAML_SITELIBDIR}/zarith
OCAML_USE_FINDLIB= yes
REPLACE_PERL+= z_pp.pl
.include "../../devel/gmp/buildlink3.mk"
.include "../../lang/ocaml/ocaml.mk"
.include "../../mk/bsd.pkg.mk"
|