diff options
author | wiz <wiz@pkgsrc.org> | 2012-07-11 15:33:51 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-07-11 15:33:51 +0000 |
commit | d64ce24253e262bcbb4907f043eed4945a9e04fb (patch) | |
tree | a9df9b8dc6a88b5c19653a1d215bd59218a3a917 /devel | |
parent | bb947e1af90da91f01e55d7268a92db7141cb8a9 (diff) | |
download | pkgsrc-d64ce24253e262bcbb4907f043eed4945a9e04fb.tar.gz |
Import ocaml-deriving-ocsigen-0.3c as devel/ocaml-deriving-ocsigen.
Packaged by Jaap Boender.
Extension to OCaml for deriving functions from type declarations. Includes
derivers for pretty-printing, type-safe marshalling with structure-sharing,
dynamic typing, equality, and more.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ocaml-deriving-ocsigen/DESCR | 3 | ||||
-rw-r--r-- | devel/ocaml-deriving-ocsigen/Makefile | 31 | ||||
-rw-r--r-- | devel/ocaml-deriving-ocsigen/PLIST | 56 | ||||
-rw-r--r-- | devel/ocaml-deriving-ocsigen/distinfo | 6 | ||||
-rw-r--r-- | devel/ocaml-deriving-ocsigen/patches/patch-Makefile | 29 |
5 files changed, 125 insertions, 0 deletions
diff --git a/devel/ocaml-deriving-ocsigen/DESCR b/devel/ocaml-deriving-ocsigen/DESCR new file mode 100644 index 00000000000..3055748f623 --- /dev/null +++ b/devel/ocaml-deriving-ocsigen/DESCR @@ -0,0 +1,3 @@ +Extension to OCaml for deriving functions from type declarations. Includes +derivers for pretty-printing, type-safe marshalling with structure-sharing, +dynamic typing, equality, and more. diff --git a/devel/ocaml-deriving-ocsigen/Makefile b/devel/ocaml-deriving-ocsigen/Makefile new file mode 100644 index 00000000000..0f1e1c11b32 --- /dev/null +++ b/devel/ocaml-deriving-ocsigen/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1 2012/07/11 15:33:51 wiz Exp $ +# + +DISTNAME= deriving-ocsigen-0.3c +PKGNAME= ocaml-${DISTNAME} +COMMENT= Extension to OCaml for deriving functions from type declarations +CATEGORIES= devel +MASTER_SITES= http://ocsigen.org/download/ + +MAINTAINER= jaapb@kerguelen.org +HOMEPAGE= http://ocsigen.org/eliom/install/ +LICENSE= mit + +DEPENDS+= ocaml-findlib-[0-9]*:../../devel/ocaml-findlib + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= c +USE_TOOLS= gmake + +PLIST_VARS= opt +.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || \ + (${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "x86_64") +PLIST.opt= yes +.endif + +pre-install: + ${MKDIR} ${DESTDIR}${PREFIX}/lib/ocaml/site-lib + +.include "../../lang/ocaml/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ocaml-deriving-ocsigen/PLIST b/devel/ocaml-deriving-ocsigen/PLIST new file mode 100644 index 00000000000..949fcf83956 --- /dev/null +++ b/devel/ocaml-deriving-ocsigen/PLIST @@ -0,0 +1,56 @@ +@comment $NetBSD: PLIST,v 1.1 2012/07/11 15:33:51 wiz Exp $ +lib/ocaml/site-lib/deriving-ocsigen/META +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving.a +lib/ocaml/site-lib/deriving-ocsigen/deriving.cma +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving.cmxa +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving.cmxs +lib/ocaml/site-lib/deriving-ocsigen/deriving_Bounded.cmi +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving_Bounded.cmx +lib/ocaml/site-lib/deriving-ocsigen/deriving_Bounded.mli +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving_Dump.cmi +lib/ocaml/site-lib/deriving-ocsigen/deriving_Dump.cmx +lib/ocaml/site-lib/deriving-ocsigen/deriving_Dump.mli +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving_Enum.cmi +lib/ocaml/site-lib/deriving-ocsigen/deriving_Enum.cmx +lib/ocaml/site-lib/deriving-ocsigen/deriving_Enum.mli +lib/ocaml/site-lib/deriving-ocsigen/deriving_Eq.cmi +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving_Eq.cmx +lib/ocaml/site-lib/deriving-ocsigen/deriving_Eq.mli +lib/ocaml/site-lib/deriving-ocsigen/deriving_Functor.cmi +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving_Functor.cmx +lib/ocaml/site-lib/deriving-ocsigen/deriving_Functor.mli +lib/ocaml/site-lib/deriving-ocsigen/deriving_Pickle.cmi +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving_Pickle.cmx +lib/ocaml/site-lib/deriving-ocsigen/deriving_Pickle.mli +lib/ocaml/site-lib/deriving-ocsigen/deriving_Show.cmi +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving_Show.cmx +lib/ocaml/site-lib/deriving-ocsigen/deriving_Show.mli +lib/ocaml/site-lib/deriving-ocsigen/deriving_Typeable.cmi +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving_Typeable.cmx +lib/ocaml/site-lib/deriving-ocsigen/deriving_Typeable.mli +lib/ocaml/site-lib/deriving-ocsigen/deriving_dynmap.cmi +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving_dynmap.cmx +lib/ocaml/site-lib/deriving-ocsigen/deriving_dynmap.mli +lib/ocaml/site-lib/deriving-ocsigen/deriving_interned.cmi +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving_interned.cmx +lib/ocaml/site-lib/deriving-ocsigen/deriving_interned.mli +lib/ocaml/site-lib/deriving-ocsigen/deriving_monad.cmi +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving_monad.cmx +lib/ocaml/site-lib/deriving-ocsigen/deriving_monad.mli +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving_num.a +lib/ocaml/site-lib/deriving-ocsigen/deriving_num.cma +lib/ocaml/site-lib/deriving-ocsigen/deriving_num.cmi +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving_num.cmx +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving_num.cmxa +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/deriving_num.cmxs +lib/ocaml/site-lib/deriving-ocsigen/deriving_num.mli +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/pa_deriving.a +lib/ocaml/site-lib/deriving-ocsigen/pa_deriving.cma +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/pa_deriving.cmxa +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/pa_deriving.cmxs +lib/ocaml/site-lib/deriving-ocsigen/pa_deriving_common.cmi +${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/pa_deriving_common.cmx +@comment ${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/pa_deriving_tc.a +@comment lib/ocaml/site-lib/deriving-ocsigen/pa_deriving_tc.cma +@comment ${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/pa_deriving_tc.cmxa +@comment ${PLIST.opt}lib/ocaml/site-lib/deriving-ocsigen/pa_deriving_tc.cmxs diff --git a/devel/ocaml-deriving-ocsigen/distinfo b/devel/ocaml-deriving-ocsigen/distinfo new file mode 100644 index 00000000000..cde59b6136a --- /dev/null +++ b/devel/ocaml-deriving-ocsigen/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2012/07/11 15:33:51 wiz Exp $ + +SHA1 (deriving-ocsigen-0.3c.tar.gz) = ec7ce5acf3132c8f8ae6ad4cd73f55028eb1e48b +RMD160 (deriving-ocsigen-0.3c.tar.gz) = e19b1b64defda68420c0a122708234b8645ec4fe +Size (deriving-ocsigen-0.3c.tar.gz) = 61242 bytes +SHA1 (patch-Makefile) = 61a018226dce4a898c8ffc6600ae0fc2a887c941 diff --git a/devel/ocaml-deriving-ocsigen/patches/patch-Makefile b/devel/ocaml-deriving-ocsigen/patches/patch-Makefile new file mode 100644 index 00000000000..49f0f98c29c --- /dev/null +++ b/devel/ocaml-deriving-ocsigen/patches/patch-Makefile @@ -0,0 +1,29 @@ +$NetBSD: patch-Makefile,v 1.1 2012/07/11 15:33:51 wiz Exp $ + +Make package work with DESTDIR +--- Makefile.orig 2011-12-08 05:46:54.000000000 +0100 ++++ Makefile 2012-06-21 14:49:00.000000000 +0200 +@@ -47,17 +47,20 @@ + + install: + ${OCAMLFIND} install ${PROJECTNAME} \ +- -patch-version ${VERSION} \ ++ -patch-version ${VERSION} -ldconf /dev/null \ ++ -destdir ${DESTDIR}${PREFIX}/lib/ocaml/site-lib \ + files/META ${SYNTAX_INTF} ${INTF} ${IMPL} ${NATIMPL} ${DOC} + + install-byte: + ${OCAMLFIND} install ${PROJECTNAME} \ +- -patch-version ${VERSION} \ ++ -patch-version ${VERSION} -ldconf /dev/null \ ++ -destdir ${DESTDIR}${PREFIX}/lib/ocaml/site-lib \ + files/META ${SYNTAX_INTF} ${INTF} ${IMPL} ${DOC} + + install-opt: + ${OCAMLFIND} install ${PROJECTNAME} \ +- -patch-version ${VERSION} \ ++ -patch-version ${VERSION} -ldconf /dev/null \ ++ -destdir ${DESTDIR}${PREFIX}/lib/ocaml/site-lib \ + files/META ${SYNTAX_INTF} ${INTF} ${NATIMPL} ${DOC} + + uninstall: |