2016-07-09 08:38:30 +02:00
|
|
|
# $NetBSD: Makefile,v 1.5 2016/07/09 06:38:33 wiz Exp $
|
2016-02-07 22:43:03 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= ocaml-zarith-1.4.1
|
2016-07-09 08:38:30 +02:00
|
|
|
PKGREVISION= 4
|
2016-02-07 22:43:03 +01:00
|
|
|
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
|
|
|
|
|
2016-04-03 14:45:57 +02:00
|
|
|
# zarith library creation is racy
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2016-02-07 22:43:03 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= DESTDIR=${DESTDIR}
|
|
|
|
USE_TOOLS+= gmake perl
|
|
|
|
|
2016-06-25 16:31:13 +02:00
|
|
|
OCAML_USE_FINDLIB= yes
|
2016-02-07 22:43:03 +01:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME:S/ocaml-//}
|
|
|
|
|
|
|
|
REPLACE_PERL+= z_pp.pl
|
|
|
|
|
|
|
|
.include "../../devel/gmp/buildlink3.mk"
|
2016-06-25 16:31:13 +02:00
|
|
|
.include "../../mk/ocaml.mk"
|
2016-02-07 22:43:03 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|