diff options
author | jaapb <jaapb@pkgsrc.org> | 2017-07-11 10:34:30 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2017-07-11 10:34:30 +0000 |
commit | 74aeee549cee368312b218e35baf554d091c29b8 (patch) | |
tree | 53fdfc9bc16030f61f6a21203767949b026d4a04 /misc/ocaml-opam-file-format | |
parent | ad6d90f3fefba06d202ad83083d06633a61ebd0c (diff) | |
download | pkgsrc-74aeee549cee368312b218e35baf554d091c29b8.tar.gz |
New package misc/ocaml-opam-file-format, a parser and printer for the opam
file syntax. This package was split off from the main misc/ocaml-opam
package as part of the 2.0.0 release.
Diffstat (limited to 'misc/ocaml-opam-file-format')
-rw-r--r-- | misc/ocaml-opam-file-format/DESCR | 1 | ||||
-rw-r--r-- | misc/ocaml-opam-file-format/Makefile | 30 | ||||
-rw-r--r-- | misc/ocaml-opam-file-format/PLIST | 18 | ||||
-rw-r--r-- | misc/ocaml-opam-file-format/buildlink3.mk | 13 | ||||
-rw-r--r-- | misc/ocaml-opam-file-format/distinfo | 6 |
5 files changed, 68 insertions, 0 deletions
diff --git a/misc/ocaml-opam-file-format/DESCR b/misc/ocaml-opam-file-format/DESCR new file mode 100644 index 00000000000..683c09f54de --- /dev/null +++ b/misc/ocaml-opam-file-format/DESCR @@ -0,0 +1 @@ +This is a parser and printer for opam files. diff --git a/misc/ocaml-opam-file-format/Makefile b/misc/ocaml-opam-file-format/Makefile new file mode 100644 index 00000000000..19aba8a3811 --- /dev/null +++ b/misc/ocaml-opam-file-format/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1 2017/07/11 10:34:30 jaapb Exp $ + +VERSION= 2.0.0_beta3 +GITHUB_PROJECT= opam-file-format +GITHUB_TAG= ${VERSION:S/_/-/} +DISTNAME= ${GITHUB_PROJECT}-${VERSION} +PKGNAME= ocaml-${DISTNAME} +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_GITHUB:=ocaml/} +MAKE_JOBS_SAFE= no + +MAINTAINER= jaapb@NetBSD.org +HOMEPAGE= http://opam.ocaml.org/ +COMMENT= Parser and printer for the opam file syntax +LICENSE= gnu-lgpl-v3 + +USE_TOOLS+= gmake +OCAML_USE_FINDLIB= yes + +INSTALL_ENV+= LIBDIR=${PREFIX}/${OCAML_SITELIBDIR} + +.include "../../mk/ocaml.mk" + +.if ${OCAML_USE_OPT_COMPILER} == "yes" +BUILD_TARGET= all +.else +BUILD_TARGET= byte +.endif + +.include "../../mk/bsd.pkg.mk" diff --git a/misc/ocaml-opam-file-format/PLIST b/misc/ocaml-opam-file-format/PLIST new file mode 100644 index 00000000000..edc2cab8ac0 --- /dev/null +++ b/misc/ocaml-opam-file-format/PLIST @@ -0,0 +1,18 @@ +@comment $NetBSD: PLIST,v 1.1 2017/07/11 10:34:30 jaapb Exp $ +${OCAML_SITELIB}/opam-file-format/META +${PLIST.ocaml-opt}${OCAML_SITELIB}/opam-file-format/opam-file-format.a +${OCAML_SITELIB}/opam-file-format/opam-file-format.cma +${PLIST.ocaml-opt}${OCAML_SITELIB}/opam-file-format/opam-file-format.cmxa +${OCAML_SITELIB}/opam-file-format/opamBaseParser.cmi +${OCAML_SITELIB}/opam-file-format/opamBaseParser.cmo +${PLIST.ocaml-opt}${OCAML_SITELIB}/opam-file-format/opamBaseParser.cmx +${OCAML_SITELIB}/opam-file-format/opamLexer.cmi +${OCAML_SITELIB}/opam-file-format/opamLexer.cmo +${PLIST.ocaml-opt}${OCAML_SITELIB}/opam-file-format/opamLexer.cmx +${OCAML_SITELIB}/opam-file-format/opamParser.cmi +${OCAML_SITELIB}/opam-file-format/opamParser.cmo +${PLIST.ocaml-opt}${OCAML_SITELIB}/opam-file-format/opamParser.cmx +${OCAML_SITELIB}/opam-file-format/opamParserTypes.cmi +${OCAML_SITELIB}/opam-file-format/opamPrinter.cmi +${OCAML_SITELIB}/opam-file-format/opamPrinter.cmo +${PLIST.ocaml-opt}${OCAML_SITELIB}/opam-file-format/opamPrinter.cmx diff --git a/misc/ocaml-opam-file-format/buildlink3.mk b/misc/ocaml-opam-file-format/buildlink3.mk new file mode 100644 index 00000000000..6d775a6a992 --- /dev/null +++ b/misc/ocaml-opam-file-format/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2017/07/11 10:34:30 jaapb Exp $ + +BUILDLINK_TREE+= ocaml-opam-file-format + +.if !defined(OCAML_OPAM_FILE_FORMAT_BUILDLINK3_MK) +OCAML_OPAM_FILE_FORMAT_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.ocaml-opam-file-format+= ocaml-opam-file-format>=2.0.0beta +BUILDLINK_ABI_DEPENDS.ocaml-opam-file-format+= ocaml-opam-file-format>=2.0.0beta3 +BUILDLINK_PKGSRCDIR.ocaml-opam-file-format?= ../../misc/ocaml-opam-file-format +.endif # OCAML_OPAM_FILE_FORMAT_BUILDLINK3_MK + +BUILDLINK_TREE+= -ocaml-opam-file-format diff --git a/misc/ocaml-opam-file-format/distinfo b/misc/ocaml-opam-file-format/distinfo new file mode 100644 index 00000000000..c60877b0862 --- /dev/null +++ b/misc/ocaml-opam-file-format/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/07/11 10:34:30 jaapb Exp $ + +SHA1 (opam-file-format-2.0.0_beta3.tar.gz) = 24a5f7a535c35565e8460641221bee5ce042b652 +RMD160 (opam-file-format-2.0.0_beta3.tar.gz) = 3aa781cfc475619dbeb73250ae35502e126b3d82 +SHA512 (opam-file-format-2.0.0_beta3.tar.gz) = 7f4989711e4dc183086b6dccc512ecfe78bfbbd98af954560d5a2c945b8b32416f3a01902203ef78932451cd99a5c1b1571edf70581bd14a2a94e32f5d4dd818 +Size (opam-file-format-2.0.0_beta3.tar.gz) = 7654 bytes |