diff options
author | jaapb <jaapb@pkgsrc.org> | 2014-10-26 14:14:09 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2014-10-26 14:14:09 +0000 |
commit | 073e500f61be5a2d53a88b4d01ae6b0498d47aae (patch) | |
tree | 6c9d58ea0f2884665fdf81866d93ce9e5c3faede /misc/ocaml-cudf | |
parent | ae2c2cb7ea40526f3bcb8c4e12d28d4974b17eea (diff) | |
download | pkgsrc-073e500f61be5a2d53a88b4d01ae6b0498d47aae.tar.gz |
Added misc/ocaml-cudf, a library that deals with the CUDF format (a format
to describe upgradeability problems). It's a dependency of OPAM.
Diffstat (limited to 'misc/ocaml-cudf')
-rw-r--r-- | misc/ocaml-cudf/DESCR | 4 | ||||
-rw-r--r-- | misc/ocaml-cudf/Makefile | 27 | ||||
-rw-r--r-- | misc/ocaml-cudf/PLIST | 50 | ||||
-rw-r--r-- | misc/ocaml-cudf/distinfo | 6 | ||||
-rw-r--r-- | misc/ocaml-cudf/patches/patch-Makefile | 23 |
5 files changed, 110 insertions, 0 deletions
diff --git a/misc/ocaml-cudf/DESCR b/misc/ocaml-cudf/DESCR new file mode 100644 index 00000000000..4f95528159a --- /dev/null +++ b/misc/ocaml-cudf/DESCR @@ -0,0 +1,4 @@ +libCUDF is a library to manipulate CUDF documents. + +CUDF (for Common Upgradeability Description Format) is a format for describing +upgrade scenarios in package-based Free and Open Source Software distributions. diff --git a/misc/ocaml-cudf/Makefile b/misc/ocaml-cudf/Makefile new file mode 100644 index 00000000000..67f38b795ae --- /dev/null +++ b/misc/ocaml-cudf/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1 2014/10/26 14:14:09 jaapb Exp $ + +DISTNAME= cudf-0.7 +CATEGORIES= misc +MASTER_SITES= https://gforge.inria.fr/frs/download.php/file/33593/ + +MAINTAINER= jaapb@NetBSD.org +HOMEPAGE= http://www.mancoosi.org/cudf/ +COMMENT= OCaml library for the Common Upgradeability Description Format +LICENSE= gnu-lgpl-v3 + +USE_TOOLS+= gmake pkg-config pod2man +OCAML_USE_FINDLIB= yes +MAKE_JOBS_SAFE= no + +PKGCONFIG_OVERRIDE+= c-lib/cudf.pc.in + +.include "../../mk/ocaml.mk" + +BUILD_TARGET= all +.if ${OCAML_USE_OPT_COMPILER} == "yes" +BUILD_TARGET+= opt +.endif + +.include "../../devel/ocaml-extlib/buildlink3.mk" +.include "../../lang/camlp4/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/misc/ocaml-cudf/PLIST b/misc/ocaml-cudf/PLIST new file mode 100644 index 00000000000..abd66183abb --- /dev/null +++ b/misc/ocaml-cudf/PLIST @@ -0,0 +1,50 @@ +@comment $NetBSD: PLIST,v 1.1 2014/10/26 14:14:09 jaapb Exp $ +${OCAML_SITELIB}/cudf/META +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf.a +${OCAML_SITELIB}/cudf/cudf.cma +${OCAML_SITELIB}/cudf/cudf.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf.cmxa +${OCAML_SITELIB}/cudf/cudf.mli +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf.o +${OCAML_SITELIB}/cudf/cudf_822_lexer.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_822_lexer.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_822_lexer.o +${OCAML_SITELIB}/cudf/cudf_822_parser.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_822_parser.cmx +${OCAML_SITELIB}/cudf/cudf_822_parser.mli +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_822_parser.o +${OCAML_SITELIB}/cudf/cudf_c.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_c.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_c.o +${OCAML_SITELIB}/cudf/cudf_checker.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_checker.cmx +${OCAML_SITELIB}/cudf/cudf_checker.mli +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_checker.o +${OCAML_SITELIB}/cudf/cudf_conf.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_conf.cmx +${OCAML_SITELIB}/cudf/cudf_conf.mli +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_conf.o +${OCAML_SITELIB}/cudf/cudf_parser.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_parser.cmx +${OCAML_SITELIB}/cudf/cudf_parser.mli +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_parser.o +${OCAML_SITELIB}/cudf/cudf_printer.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_printer.cmx +${OCAML_SITELIB}/cudf/cudf_printer.mli +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_printer.o +${OCAML_SITELIB}/cudf/cudf_type_lexer.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_type_lexer.cmx +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_type_lexer.o +${OCAML_SITELIB}/cudf/cudf_type_parser.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_type_parser.cmx +${OCAML_SITELIB}/cudf/cudf_type_parser.mli +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_type_parser.o +${OCAML_SITELIB}/cudf/cudf_types.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_types.cmx +${OCAML_SITELIB}/cudf/cudf_types.mli +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_types.o +${OCAML_SITELIB}/cudf/cudf_types_pp.cmi +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_types_pp.cmx +${OCAML_SITELIB}/cudf/cudf_types_pp.mli +${PLIST.ocaml-opt}${OCAML_SITELIB}/cudf/cudf_types_pp.o diff --git a/misc/ocaml-cudf/distinfo b/misc/ocaml-cudf/distinfo new file mode 100644 index 00000000000..1a66db3430c --- /dev/null +++ b/misc/ocaml-cudf/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2014/10/26 14:14:09 jaapb Exp $ + +SHA1 (cudf-0.7.tar.gz) = 33d6942caf5f008d6696c1200a2589e28ff7e7fa +RMD160 (cudf-0.7.tar.gz) = dd9c5097a627856e0e74fe3052c2f5ee1fd1bec5 +Size (cudf-0.7.tar.gz) = 54821 bytes +SHA1 (patch-Makefile) = 3680470731d72c9bd0f19ebe3f58522aa743d5fc diff --git a/misc/ocaml-cudf/patches/patch-Makefile b/misc/ocaml-cudf/patches/patch-Makefile new file mode 100644 index 00000000000..dc0605c1457 --- /dev/null +++ b/misc/ocaml-cudf/patches/patch-Makefile @@ -0,0 +1,23 @@ +$NetBSD: patch-Makefile,v 1.1 2014/10/26 14:14:09 jaapb Exp $ + +--- Makefile.orig 2014-04-29 18:52:44.000000000 +0000 ++++ Makefile +@@ -18,13 +18,13 @@ OCAMLBUILD = ocamlbuild + OBFLAGS = + OCAMLFIND = ocamlfind + +-ifeq ($(DESTDIR),) ++# ifeq ($(DESTDIR),) + INSTALL = $(OCAMLFIND) install + UNINSTALL = $(OCAMLFIND) remove +-else +-INSTALL = $(OCAMLFIND) install -destdir $(DESTDIR)/$(OCAMLLIBDIR) +-UNINSTALL = $(OCAMLFIND) remove -destdir $(DESTDIR)/$(OCAMLLIBDIR) +-endif ++# else ++# INSTALL = $(OCAMLFIND) install -destdir $(DESTDIR)/$(OCAMLLIBDIR) ++# UNINSTALL = $(OCAMLFIND) remove -destdir $(DESTDIR)/$(OCAMLLIBDIR) ++# endif + + DIST_DIR = $(NAME)-$(VERSION) + DIST_TARBALL = $(DIST_DIR).tar.gz |