diff options
author | jaapb <jaapb@pkgsrc.org> | 2016-06-25 14:31:13 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2016-06-25 14:31:13 +0000 |
commit | 328cc753f1e13f695b557348c0e7677ae5bc46e0 (patch) | |
tree | 14456244ac335625bc740a8d7ef30da76e5d121b /math/ocaml-zarith | |
parent | 70ae7e7365ba687c1f88de655aa14b9a1ba8720d (diff) | |
download | pkgsrc-328cc753f1e13f695b557348c0e7677ae5bc46e0.tar.gz |
Updated package to use ocaml.mk framework. No upstream changes.
Diffstat (limited to 'math/ocaml-zarith')
-rw-r--r-- | math/ocaml-zarith/Makefile | 10 | ||||
-rw-r--r-- | math/ocaml-zarith/PLIST | 32 |
2 files changed, 19 insertions, 23 deletions
diff --git a/math/ocaml-zarith/Makefile b/math/ocaml-zarith/Makefile index c73f1ed06d8..71d5649ffbb 100644 --- a/math/ocaml-zarith/Makefile +++ b/math/ocaml-zarith/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.3 2016/05/05 11:45:40 jaapb Exp $ +# $NetBSD: Makefile,v 1.4 2016/06/25 14:31:13 jaapb Exp $ # DISTNAME= ocaml-zarith-1.4.1 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= math MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/1574/ @@ -11,8 +11,6 @@ HOMEPAGE= http://forge.ocamlcore.org/projects/zarith COMMENT= OCaml arithmetic library for arbitrary precision integers LICENSE= gnu-lgpl-v2 -DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib - # zarith library creation is racy MAKE_JOBS_SAFE= no @@ -20,12 +18,12 @@ HAS_CONFIGURE= yes CONFIGURE_ENV+= DESTDIR=${DESTDIR} USE_TOOLS+= gmake perl -INSTALLATION_DIRS= lib/ocaml/site-lib +OCAML_USE_FINDLIB= yes WRKSRC= ${WRKDIR}/${DISTNAME:S/ocaml-//} REPLACE_PERL+= z_pp.pl .include "../../devel/gmp/buildlink3.mk" -.include "../../lang/ocaml/buildlink3.mk" +.include "../../mk/ocaml.mk" .include "../../mk/bsd.pkg.mk" diff --git a/math/ocaml-zarith/PLIST b/math/ocaml-zarith/PLIST index c394aba69a2..88873a9b771 100644 --- a/math/ocaml-zarith/PLIST +++ b/math/ocaml-zarith/PLIST @@ -1,17 +1,15 @@ -@comment $NetBSD: PLIST,v 1.2 2016/03/31 10:27:26 markd Exp $ -lib/ocaml/site-lib/zarith/big_int_Z.cmi -lib/ocaml/site-lib/zarith/big_int_Z.mli -lib/ocaml/site-lib/zarith/dllzarith.so -lib/ocaml/site-lib/zarith/libzarith.a -lib/ocaml/site-lib/zarith/META -lib/ocaml/site-lib/zarith/q.cmi -lib/ocaml/site-lib/zarith/q.mli -lib/ocaml/site-lib/zarith/zarith.a -lib/ocaml/site-lib/zarith/zarith.cma -lib/ocaml/site-lib/zarith/zarith.cmxa -lib/ocaml/site-lib/zarith/zarith.cmxs -lib/ocaml/site-lib/zarith/zarith.h -lib/ocaml/site-lib/zarith/z.cmi -lib/ocaml/site-lib/zarith/z.mli -@unexec %D/libexec/ocaml-findlib-register del %D/lib/ocaml/site-lib/zarith -@exec %D/libexec/ocaml-findlib-register add %D/lib/ocaml/site-lib/zarith +@comment $NetBSD: PLIST,v 1.3 2016/06/25 14:31:13 jaapb Exp $ +${OCAML_SITELIB}/zarith/big_int_Z.cmi +${OCAML_SITELIB}/zarith/big_int_Z.mli +${OCAML_SITELIB}/zarith/dllzarith.so +${OCAML_SITELIB}/zarith/libzarith.a +${OCAML_SITELIB}/zarith/META +${OCAML_SITELIB}/zarith/q.cmi +${OCAML_SITELIB}/zarith/q.mli +${OCAML_SITELIB}/zarith/zarith.a +${OCAML_SITELIB}/zarith/zarith.cma +${OCAML_SITELIB}/zarith/zarith.cmxa +${OCAML_SITELIB}/zarith/zarith.cmxs +${OCAML_SITELIB}/zarith/zarith.h +${OCAML_SITELIB}/zarith/z.cmi +${OCAML_SITELIB}/zarith/z.mli |