pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
add ocaml-ptmap 2.0.4
Module Name: pkgsrc-wip
Committed By: Maya Rashish <maya%NetBSD.org@localhost>
Pushed By: coypu
Date: Sat Nov 2 17:09:49 2019 +0200
Changeset: da615277d931ae8661e69bf9ade55fea70317b74
Added Files:
ocaml-ptmap/DESCR
ocaml-ptmap/Makefile
ocaml-ptmap/PLIST
ocaml-ptmap/buildlink3.mk
ocaml-ptmap/distinfo
ocaml-ptmap/patches/patch-Makefile
Log Message:
add ocaml-ptmap 2.0.4
OCaml implementation of maps over integers implemented as Patricia trees
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=da615277d931ae8661e69bf9ade55fea70317b74
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ocaml-ptmap/DESCR | 1 +
ocaml-ptmap/Makefile | 19 +++++++++++++++++++
ocaml-ptmap/PLIST | 10 ++++++++++
ocaml-ptmap/buildlink3.mk | 13 +++++++++++++
ocaml-ptmap/distinfo | 7 +++++++
ocaml-ptmap/patches/patch-Makefile | 15 +++++++++++++++
6 files changed, 65 insertions(+)
diffs:
diff --git a/ocaml-ptmap/DESCR b/ocaml-ptmap/DESCR
new file mode 100644
index 0000000000..db5f3d7a39
--- /dev/null
+++ b/ocaml-ptmap/DESCR
@@ -0,0 +1 @@
+OCaml implementation of maps over integers implemented as Patricia trees
diff --git a/ocaml-ptmap/Makefile b/ocaml-ptmap/Makefile
new file mode 100644
index 0000000000..c6cbe2a463
--- /dev/null
+++ b/ocaml-ptmap/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.20 2019/08/27 19:56:03 schmonz Exp $
+
+GITHUB_PROJECT= ptmap
+DISTNAME= ptmap-2.0.4
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=backtracking/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/ocaml-community/sedlex
+COMMENT= Implementation of maps over integers implemented as Patricia trees
+LICENSE= gnu-lgpl-v2.1
+
+BUILD_DEPENDS+= ocaml-obuild-[0-9]*:../../wip/ocaml-obuild
+
+.include "../../devel/ocamlbuild/buildlink3.mk"
+.include "../../mk/ocaml.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ocaml-ptmap/PLIST b/ocaml-ptmap/PLIST
new file mode 100644
index 0000000000..44eeca7ae0
--- /dev/null
+++ b/ocaml-ptmap/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD$
+${OCAML_SITELIB}/ptmap/META
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ptmap/ptmap.a
+${OCAML_SITELIB}/ptmap/ptmap.cma
+${OCAML_SITELIB}/ptmap/ptmap.cmi
+${OCAML_SITELIB}/ptmap/ptmap.cmt
+${OCAML_SITELIB}/ptmap/ptmap.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ptmap/ptmap.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ptmap/ptmap.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ptmap/ptmap.cmxs
diff --git a/ocaml-ptmap/buildlink3.mk b/ocaml-ptmap/buildlink3.mk
new file mode 100644
index 0000000000..a689337cce
--- /dev/null
+++ b/ocaml-ptmap/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= ocaml-ptmap
+
+.if !defined(OCAML_PTMAP_BUILDLINK3_MK)
+OCAML_PTMAP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-ptmap+= ocaml-ptmap>=2.0.4
+BUILDLINK_PKGSRCDIR.ocaml-ptmap?= ../../wip/ocaml-ptmap
+
+.endif # OCAML_PTMAP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-ptmap
diff --git a/ocaml-ptmap/distinfo b/ocaml-ptmap/distinfo
new file mode 100644
index 0000000000..356f5d75e2
--- /dev/null
+++ b/ocaml-ptmap/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.8 2019/05/15 09:01:03 jaapb Exp $
+
+SHA1 (ptmap-2.0.4.tar.gz) = bf5a527ef8ccb2dcd8ad3a833bb6e56371221e10
+RMD160 (ptmap-2.0.4.tar.gz) = f57e5160353d260b0c8989b14d834447d6028ddb
+SHA512 (ptmap-2.0.4.tar.gz) = 3f11664f926244a212e2d782d338982826e608463eec22e91cd77350836cbab9d4aed7542fa9c5f3c1df572552a3797a149618ad370d1b47b4e03cf497100356
+Size (ptmap-2.0.4.tar.gz) = 14410 bytes
+SHA1 (patch-Makefile) = c609bac156f6c17632fbb2554bec84209568ded4
diff --git a/ocaml-ptmap/patches/patch-Makefile b/ocaml-ptmap/patches/patch-Makefile
new file mode 100644
index 0000000000..63e6c8c78b
--- /dev/null
+++ b/ocaml-ptmap/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD$
+
+DESTDIR support
+
+--- Makefile.orig 2018-07-23 07:03:49.000000000 +0000
++++ Makefile
+@@ -12,7 +12,7 @@ doc:
+ ocamldoc -d doc/ -html ptmap.mli
+
+ install: all
+- obuild install
++ obuild install --destdir=${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}
+
+ uninstall:
+ ocamlfind -remove ptmap
Home |
Main Index |
Thread Index |
Old Index