summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-05-20 10:18:03 +0000
committerrillig <rillig@pkgsrc.org>2006-05-20 10:18:03 +0000
commit620ded66644eb132023bcec75d3598543023c282 (patch)
tree8cf713478031a2e0fa5b51ebf6571badb88295ca /devel
parent08961b8e38aa57cd0427771c56e1d85add341318 (diff)
downloadpkgsrc-620ded66644eb132023bcec75d3598543023c282.tar.gz
Imported findlib.
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.
Diffstat (limited to 'devel')
-rw-r--r--devel/findlib/DESCR14
-rw-r--r--devel/findlib/Makefile25
-rw-r--r--devel/findlib/PLIST36
-rw-r--r--devel/findlib/distinfo5
4 files changed, 80 insertions, 0 deletions
diff --git a/devel/findlib/DESCR b/devel/findlib/DESCR
new file mode 100644
index 00000000000..87f2acc7862
--- /dev/null
+++ b/devel/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/findlib/Makefile b/devel/findlib/Makefile
new file mode 100644
index 00000000000..c7b7d0bab26
--- /dev/null
+++ b/devel/findlib/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/05/20 10:18:03 rillig Exp $
+#
+
+DISTNAME= findlib-1.1.2pl1
+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/findlib/PLIST b/devel/findlib/PLIST
new file mode 100644
index 00000000000..fb4e9cd83e3
--- /dev/null
+++ b/devel/findlib/PLIST
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/20 10:18:03 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/findlib/distinfo b/devel/findlib/distinfo
new file mode 100644
index 00000000000..c9e94780420
--- /dev/null
+++ b/devel/findlib/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/05/20 10:18:03 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