diff options
author | jaapb <jaapb@pkgsrc.org> | 2014-10-09 20:39:27 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2014-10-09 20:39:27 +0000 |
commit | cc8546f951586c258dd3ba050a71066ebfa77bae (patch) | |
tree | d0d6b82c9debab19db0d644b6a7ecc9d53bcb088 /lang/camlp4 | |
parent | 874fec321bcea72f221453134df195f3fd466b1c (diff) | |
download | pkgsrc-cc8546f951586c258dd3ba050a71066ebfa77bae.tar.gz |
Re-added package lang/camlp4 - it was split off from the main ocaml
distribution in version 4.02.
Diffstat (limited to 'lang/camlp4')
-rw-r--r-- | lang/camlp4/DESCR | 6 | ||||
-rw-r--r-- | lang/camlp4/Makefile | 31 | ||||
-rw-r--r-- | lang/camlp4/PLIST | 162 | ||||
-rw-r--r-- | lang/camlp4/buildlink3.mk | 12 | ||||
-rw-r--r-- | lang/camlp4/distinfo | 5 |
5 files changed, 216 insertions, 0 deletions
diff --git a/lang/camlp4/DESCR b/lang/camlp4/DESCR new file mode 100644 index 00000000000..7045dd20cfb --- /dev/null +++ b/lang/camlp4/DESCR @@ -0,0 +1,6 @@ +Camlp4 is a software system for writing extensible parsers for programming +languages. It provides a set of OCaml libraries that are used to define +grammars as well as loadable syntax extensions of such grammars. Camlp4 stands +for Caml Preprocessor and Pretty-Printer and one of its most important +applications is the definition of domain-specific extensions of the syntax of +OCaml. diff --git a/lang/camlp4/Makefile b/lang/camlp4/Makefile new file mode 100644 index 00000000000..b3868319c4a --- /dev/null +++ b/lang/camlp4/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.7 2014/10/09 20:39:27 jaapb Exp $ + +DISTNAME= 4.02.0+1 +PKGNAME= camlp4-${DISTNAME} +CATEGORIES= lang +MASTER_SITES= https://github.com/ocaml/camlp4/archive/ +DIST_SUBDIR= ocaml-camlp4 + +MAINTAINER= jaapb@NetBSD.org +HOMEPAGE= http://github.com/ocaml/camlp4/ +COMMENT= Preprocessor and pretty printer for OCaml +LICENSE= gnu-lgpl-v2 + +HAS_CONFIGURE= yes +WRKSRC= ${WRKDIR}/camlp4-4.02.0-1 +MAKE_JOBS_SAFE= no + +.include "../../mk/ocaml.mk" + +BUILD_TARGET= byte camlp4/META +.if ${OCAML_USE_OPT_COMPILER} == "yes" +BUILD_TARGET+= native +.endif +INSTALLATION_DIRS+= ${OCAML_SITELIBDIR}/camlp4 + +do-install: + cd ${WRKSRC} && BINDIR="${DESTDIR}${PREFIX}/bin" \ + LIBDIR="${DESTDIR}${PREFIX}/lib/ocaml" ${SH} build/install.sh + ${INSTALL_DATA} ${WRKSRC}/camlp4/META ${DESTDIR}${PREFIX}/${OCAML_SITELIBDIR}/camlp4 + +.include "../../mk/bsd.pkg.mk" diff --git a/lang/camlp4/PLIST b/lang/camlp4/PLIST new file mode 100644 index 00000000000..71e02677f58 --- /dev/null +++ b/lang/camlp4/PLIST @@ -0,0 +1,162 @@ +@comment $NetBSD: PLIST,v 1.3 2014/10/09 20:39:27 jaapb Exp $ +bin/camlp4 +bin/camlp4boot +bin/camlp4o +bin/camlp4o.opt +bin/camlp4of +bin/camlp4of.opt +bin/camlp4oof +bin/camlp4oof.opt +bin/camlp4orf +bin/camlp4orf.opt +bin/camlp4prof +bin/camlp4r +bin/camlp4r.opt +bin/camlp4rf +bin/camlp4rf.opt +bin/mkcamlp4 +lib/ocaml/camlp4/Camlp4.cmi +lib/ocaml/camlp4/Camlp4Bin.cmi +lib/ocaml/camlp4/Camlp4Bin.cmo +lib/ocaml/camlp4/Camlp4Bin.cmx +lib/ocaml/camlp4/Camlp4Bin.o +lib/ocaml/camlp4/Camlp4Filters/Camlp4AstLifter.cmi +lib/ocaml/camlp4/Camlp4Filters/Camlp4AstLifter.cmo +lib/ocaml/camlp4/Camlp4Filters/Camlp4AstLifter.cmx +lib/ocaml/camlp4/Camlp4Filters/Camlp4AstLifter.o +lib/ocaml/camlp4/Camlp4Filters/Camlp4ExceptionTracer.cmi +lib/ocaml/camlp4/Camlp4Filters/Camlp4ExceptionTracer.cmo +lib/ocaml/camlp4/Camlp4Filters/Camlp4ExceptionTracer.cmx +lib/ocaml/camlp4/Camlp4Filters/Camlp4ExceptionTracer.o +lib/ocaml/camlp4/Camlp4Filters/Camlp4FoldGenerator.cmi +lib/ocaml/camlp4/Camlp4Filters/Camlp4FoldGenerator.cmo +lib/ocaml/camlp4/Camlp4Filters/Camlp4FoldGenerator.cmx +lib/ocaml/camlp4/Camlp4Filters/Camlp4FoldGenerator.o +lib/ocaml/camlp4/Camlp4Filters/Camlp4LocationStripper.cmi +lib/ocaml/camlp4/Camlp4Filters/Camlp4LocationStripper.cmo +lib/ocaml/camlp4/Camlp4Filters/Camlp4LocationStripper.cmx +lib/ocaml/camlp4/Camlp4Filters/Camlp4LocationStripper.o +lib/ocaml/camlp4/Camlp4Filters/Camlp4MapGenerator.cmi +lib/ocaml/camlp4/Camlp4Filters/Camlp4MapGenerator.cmo +lib/ocaml/camlp4/Camlp4Filters/Camlp4MapGenerator.cmx +lib/ocaml/camlp4/Camlp4Filters/Camlp4MapGenerator.o +lib/ocaml/camlp4/Camlp4Filters/Camlp4MetaGenerator.cmi +lib/ocaml/camlp4/Camlp4Filters/Camlp4MetaGenerator.cmo +lib/ocaml/camlp4/Camlp4Filters/Camlp4MetaGenerator.cmx +lib/ocaml/camlp4/Camlp4Filters/Camlp4MetaGenerator.o +lib/ocaml/camlp4/Camlp4Filters/Camlp4Profiler.cmi +lib/ocaml/camlp4/Camlp4Filters/Camlp4Profiler.cmo +lib/ocaml/camlp4/Camlp4Filters/Camlp4Profiler.cmx +lib/ocaml/camlp4/Camlp4Filters/Camlp4Profiler.o +lib/ocaml/camlp4/Camlp4Filters/Camlp4TrashRemover.cmi +lib/ocaml/camlp4/Camlp4Filters/Camlp4TrashRemover.cmo +lib/ocaml/camlp4/Camlp4Filters/Camlp4TrashRemover.cmx +lib/ocaml/camlp4/Camlp4Filters/Camlp4TrashRemover.o +lib/ocaml/camlp4/Camlp4Parsers/Camlp4AstLoader.cmi +lib/ocaml/camlp4/Camlp4Parsers/Camlp4AstLoader.cmo +lib/ocaml/camlp4/Camlp4Parsers/Camlp4AstLoader.cmx +lib/ocaml/camlp4/Camlp4Parsers/Camlp4AstLoader.o +lib/ocaml/camlp4/Camlp4Parsers/Camlp4DebugParser.cmi +lib/ocaml/camlp4/Camlp4Parsers/Camlp4DebugParser.cmo +lib/ocaml/camlp4/Camlp4Parsers/Camlp4DebugParser.cmx +lib/ocaml/camlp4/Camlp4Parsers/Camlp4DebugParser.o +lib/ocaml/camlp4/Camlp4Parsers/Camlp4GrammarParser.cmi +lib/ocaml/camlp4/Camlp4Parsers/Camlp4GrammarParser.cmo +lib/ocaml/camlp4/Camlp4Parsers/Camlp4GrammarParser.cmx +lib/ocaml/camlp4/Camlp4Parsers/Camlp4GrammarParser.o +lib/ocaml/camlp4/Camlp4Parsers/Camlp4ListComprehension.cmi +lib/ocaml/camlp4/Camlp4Parsers/Camlp4ListComprehension.cmo +lib/ocaml/camlp4/Camlp4Parsers/Camlp4ListComprehension.cmx +lib/ocaml/camlp4/Camlp4Parsers/Camlp4ListComprehension.o +lib/ocaml/camlp4/Camlp4Parsers/Camlp4MacroParser.cmi +lib/ocaml/camlp4/Camlp4Parsers/Camlp4MacroParser.cmo +lib/ocaml/camlp4/Camlp4Parsers/Camlp4MacroParser.cmx +lib/ocaml/camlp4/Camlp4Parsers/Camlp4MacroParser.o +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpander.cmi +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpander.cmo +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpander.cmx +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpander.o +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlParser.cmi +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlParser.cmo +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlParser.cmx +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlParser.o +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlParserParser.cmi +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlParserParser.cmo +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlParserParser.cmx +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlParserParser.o +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlReloadedParser.cmi +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlReloadedParser.cmo +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlReloadedParser.cmx +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlReloadedParser.o +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.cmi +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.cmo +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.cmx +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedParser.o +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedParserParser.cmi +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedParserParser.cmo +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedParserParser.cmx +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedParserParser.o +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedQuotationExpander.cmi +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedQuotationExpander.cmo +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedQuotationExpander.cmx +lib/ocaml/camlp4/Camlp4Parsers/Camlp4OCamlRevisedQuotationExpander.o +lib/ocaml/camlp4/Camlp4Parsers/Camlp4QuotationCommon.cmi +lib/ocaml/camlp4/Camlp4Parsers/Camlp4QuotationCommon.cmo +lib/ocaml/camlp4/Camlp4Parsers/Camlp4QuotationCommon.cmx +lib/ocaml/camlp4/Camlp4Parsers/Camlp4QuotationCommon.o +lib/ocaml/camlp4/Camlp4Parsers/Camlp4QuotationExpander.cmi +lib/ocaml/camlp4/Camlp4Parsers/Camlp4QuotationExpander.cmo +lib/ocaml/camlp4/Camlp4Parsers/Camlp4QuotationExpander.cmx +lib/ocaml/camlp4/Camlp4Parsers/Camlp4QuotationExpander.o +lib/ocaml/camlp4/Camlp4Printers/Camlp4AstDumper.cmi +lib/ocaml/camlp4/Camlp4Printers/Camlp4AstDumper.cmo +lib/ocaml/camlp4/Camlp4Printers/Camlp4AstDumper.cmx +lib/ocaml/camlp4/Camlp4Printers/Camlp4AstDumper.o +lib/ocaml/camlp4/Camlp4Printers/Camlp4AutoPrinter.cmi +lib/ocaml/camlp4/Camlp4Printers/Camlp4AutoPrinter.cmo +lib/ocaml/camlp4/Camlp4Printers/Camlp4AutoPrinter.cmx +lib/ocaml/camlp4/Camlp4Printers/Camlp4AutoPrinter.o +lib/ocaml/camlp4/Camlp4Printers/Camlp4NullDumper.cmi +lib/ocaml/camlp4/Camlp4Printers/Camlp4NullDumper.cmo +lib/ocaml/camlp4/Camlp4Printers/Camlp4NullDumper.cmx +lib/ocaml/camlp4/Camlp4Printers/Camlp4NullDumper.o +lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlAstDumper.cmi +lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlAstDumper.cmo +lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlAstDumper.cmx +lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlAstDumper.o +lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlPrinter.cmi +lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlPrinter.cmo +lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlPrinter.cmx +lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlPrinter.o +lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlRevisedPrinter.cmi +lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlRevisedPrinter.cmo +lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlRevisedPrinter.cmx +lib/ocaml/camlp4/Camlp4Printers/Camlp4OCamlRevisedPrinter.o +lib/ocaml/camlp4/Camlp4Top.cmi +lib/ocaml/camlp4/Camlp4Top.cmo +lib/ocaml/camlp4/Camlp4Top/Rprint.cmi +lib/ocaml/camlp4/Camlp4Top/Rprint.cmo +lib/ocaml/camlp4/Camlp4Top/Rprint.cmx +lib/ocaml/camlp4/Camlp4Top/Rprint.o +lib/ocaml/camlp4/Camlp4Top/Top.cmi +lib/ocaml/camlp4/Camlp4Top/Top.cmo +lib/ocaml/camlp4/Camlp4Top/Top.cmx +lib/ocaml/camlp4/Camlp4Top/Top.o +lib/ocaml/camlp4/Camlp4_config.cmi +lib/ocaml/camlp4/camlp4fulllib.a +lib/ocaml/camlp4/camlp4fulllib.cma +lib/ocaml/camlp4/camlp4fulllib.cmxa +lib/ocaml/camlp4/camlp4lib.a +lib/ocaml/camlp4/camlp4lib.cma +lib/ocaml/camlp4/camlp4lib.cmxa +lib/ocaml/camlp4/camlp4o.cma +lib/ocaml/camlp4/camlp4of.cma +lib/ocaml/camlp4/camlp4oof.cma +lib/ocaml/camlp4/camlp4orf.cma +lib/ocaml/camlp4/camlp4prof.cmi +lib/ocaml/camlp4/camlp4prof.cmo +lib/ocaml/camlp4/camlp4prof.cmx +lib/ocaml/camlp4/camlp4prof.o +lib/ocaml/camlp4/camlp4r.cma +lib/ocaml/camlp4/camlp4rf.cma +${OCAML_SITELIB}/camlp4/META diff --git a/lang/camlp4/buildlink3.mk b/lang/camlp4/buildlink3.mk new file mode 100644 index 00000000000..4a37528b54f --- /dev/null +++ b/lang/camlp4/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/10/09 20:39:27 jaapb Exp $ + +BUILDLINK_TREE+= camlp4 + +.if !defined(CAMLP4_BUILDLINK3_MK) +CAMLP4_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.camlp4+= camlp4>=4.02.0 +BUILDLINK_PKGSRCDIR.camlp4?= ../../lang/camlp4 +.endif # CAMLP4_BUILDLINK3_MK + +BUILDLINK_TREE+= -camlp4 diff --git a/lang/camlp4/distinfo b/lang/camlp4/distinfo new file mode 100644 index 00000000000..55c582c34f4 --- /dev/null +++ b/lang/camlp4/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.5 2014/10/09 20:39:27 jaapb Exp $ + +SHA1 (ocaml-camlp4/4.02.0+1.tar.gz) = 10d500d1262492ccd821c8c46c1b169784b25a53 +RMD160 (ocaml-camlp4/4.02.0+1.tar.gz) = 5f7a2c34ac7e147c1b44cb24791c2ac8464bcb74 +Size (ocaml-camlp4/4.02.0+1.tar.gz) = 645250 bytes |