summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/ocaml-findlib/DESCR14
-rw-r--r--devel/ocaml-findlib/Makefile26
-rw-r--r--devel/ocaml-findlib/PLIST36
-rw-r--r--devel/ocaml-findlib/distinfo5
4 files changed, 81 insertions, 0 deletions
diff --git a/devel/ocaml-findlib/DESCR b/devel/ocaml-findlib/DESCR
new file mode 100644
index 00000000000..87f2acc7862
--- /dev/null
+++ b/devel/ocaml-findlib/DESCR
@@ -0,0 +1,14 @@
+The "findlib" software provides a scheme to manage reusable software
+components in the form of libraries, and includes tools that support
+this scheme. A library installed as a findlib component is also called
+a package. The point is that the findlib scheme allows it to store
+metainformation about the library, especially how it can be used in
+programs. The packages are kept in the filesystem hierarchy, but the
+directory structure is defined by findlib, and there is no way to
+deviate from this standard. The library contains functions to look the
+directory up that stores a package, to query metainformation about a
+package, and to retrieve dependency information about multiple packages.
+There is also a tool that allows the user to enter queries on the
+command-line. In order to simplify compilation and linkage, there are
+new frontends of the various OCaml compilers that can directly deal
+with packages.
diff --git a/devel/ocaml-findlib/Makefile b/devel/ocaml-findlib/Makefile
new file mode 100644
index 00000000000..ebd0818caaf
--- /dev/null
+++ b/devel/ocaml-findlib/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/05/20 10:19:35 rillig Exp $
+#
+
+DISTNAME= findlib-1.1.2pl1
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= http://www.ocaml-programming.de/packages/
+
+MAINTAINER= rillig@NetBSD.org
+HOMEPAGE= http://www.ocaml-programming.de/packages/
+COMMENT= Library finder for OCaml
+
+USE_TOOLS+= gmake
+USE_PKGLOCALEDIR= yes
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS+= -bindir ${PREFIX}/bin
+CONFIGURE_ARGS+= -mandir ${PREFIX}/${PKGMANDIR}
+CONFIGURE_ARGS+= -config ${PKG_SYSCONFDIR}/ocamlfind.conf
+
+EGDIR= ${PREFIX}/share/examples/ocaml-findlib
+INSTALL_MAKE_FLAGS+= OCAMLFIND_CONF=${EGDIR}/ocamlfind.conf
+
+CONF_FILES= ${EGDIR}/ocamlfind.conf ${PKG_SYSCONFDIR}/ocamlfind.conf
+
+.include "../../lang/ocaml/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ocaml-findlib/PLIST b/devel/ocaml-findlib/PLIST
new file mode 100644
index 00000000000..dbd3df68e5f
--- /dev/null
+++ b/devel/ocaml-findlib/PLIST
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/20 10:19:35 rillig Exp $
+bin/ocamlfind
+bin/safe_camlp4
+lib/ocaml/site-lib/bigarray/META
+lib/ocaml/site-lib/camlp4/META
+lib/ocaml/site-lib/dbm/META
+lib/ocaml/site-lib/dynlink/META
+lib/ocaml/site-lib/findlib/META
+lib/ocaml/site-lib/findlib/Makefile.config
+lib/ocaml/site-lib/findlib/findlib.cma
+lib/ocaml/site-lib/findlib/findlib.cmi
+lib/ocaml/site-lib/findlib/findlib.mli
+lib/ocaml/site-lib/findlib/findlib_top.cma
+lib/ocaml/site-lib/findlib/fl_metascanner.cmi
+lib/ocaml/site-lib/findlib/fl_metascanner.mli
+lib/ocaml/site-lib/findlib/fl_package_base.cmi
+lib/ocaml/site-lib/findlib/fl_package_base.mli
+lib/ocaml/site-lib/findlib/topfind.cmi
+lib/ocaml/site-lib/findlib/topfind.mli
+lib/ocaml/site-lib/graphics/META
+lib/ocaml/site-lib/num-top/META
+lib/ocaml/site-lib/num-top/num_top.cma
+lib/ocaml/site-lib/num-top/num_top.cmi
+lib/ocaml/site-lib/num-top/num_top_printers.cmi
+lib/ocaml/site-lib/num/META
+lib/ocaml/site-lib/stdlib/META
+lib/ocaml/site-lib/str/META
+lib/ocaml/site-lib/threads/META
+lib/ocaml/site-lib/unix/META
+lib/ocaml/topfind
+man/man1/ocamlfind.1
+man/man5/META.5
+man/man5/findlib.conf.5
+man/man5/site-lib.5
+share/examples/ocaml-findlib/ocamlfind.conf
+@dirrm share/examples/ocaml-findlib
diff --git a/devel/ocaml-findlib/distinfo b/devel/ocaml-findlib/distinfo
new file mode 100644
index 00000000000..8ad8cf7a388
--- /dev/null
+++ b/devel/ocaml-findlib/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/05/20 10:19:35 rillig Exp $
+
+SHA1 (findlib-1.1.2pl1.tar.gz) = ccd8b9d6249b5a4097040d32b90048b11054f461
+RMD160 (findlib-1.1.2pl1.tar.gz) = 1bd97ac60eb6ba9b3711814d38f7682a5f874cd3
+Size (findlib-1.1.2pl1.tar.gz) = 153542 bytes