29 lines
680 B
Makefile
29 lines
680 B
Makefile
# $NetBSD: Makefile,v 1.5 2016/07/09 06:38:33 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= ocaml-zarith-1.4.1
|
|
PKGREVISION= 4
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/1574/
|
|
|
|
MAINTAINER= markd@NetBSD.org
|
|
HOMEPAGE= http://forge.ocamlcore.org/projects/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
|
|
|
|
OCAML_USE_FINDLIB= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/ocaml-//}
|
|
|
|
REPLACE_PERL+= z_pp.pl
|
|
|
|
.include "../../devel/gmp/buildlink3.mk"
|
|
.include "../../mk/ocaml.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|