diff options
author | jaapb <jaapb@pkgsrc.org> | 2019-07-01 15:53:30 +0000 |
---|---|---|
committer | jaapb <jaapb@pkgsrc.org> | 2019-07-01 15:53:30 +0000 |
commit | d611f8d83cd4279b0b3c6ed2253a8158a9d83d6e (patch) | |
tree | 4640e1d8a35c33f1d4805dc70a071359ac9fcdd3 /misc/ocaml-magic-mime | |
parent | be5b9776efbf40f2b214f21424aa160be855d95d (diff) | |
download | pkgsrc-d611f8d83cd4279b0b3c6ed2253a8158a9d83d6e.tar.gz |
Added new package misc/ocaml-magic-mime
It's a MIME type library for OCaml. needed as a dependency for
www/ocaml-cohttp.
Diffstat (limited to 'misc/ocaml-magic-mime')
-rw-r--r-- | misc/ocaml-magic-mime/DESCR | 5 | ||||
-rw-r--r-- | misc/ocaml-magic-mime/Makefile | 19 | ||||
-rw-r--r-- | misc/ocaml-magic-mime/PLIST | 23 | ||||
-rw-r--r-- | misc/ocaml-magic-mime/buildlink3.mk | 13 | ||||
-rw-r--r-- | misc/ocaml-magic-mime/distinfo | 6 |
5 files changed, 66 insertions, 0 deletions
diff --git a/misc/ocaml-magic-mime/DESCR b/misc/ocaml-magic-mime/DESCR new file mode 100644 index 00000000000..ac507c22a30 --- /dev/null +++ b/misc/ocaml-magic-mime/DESCR @@ -0,0 +1,5 @@ +This library contains a database of MIME types that maps filename extensions +into MIME types suitable for use in many Internet protocols such as HTTP or +e-mail. It is generated from the mime.types file found in Unix systems, but has +no dependency on a filesystem since it includes the contents of the database as +an ML datastructure. diff --git a/misc/ocaml-magic-mime/Makefile b/misc/ocaml-magic-mime/Makefile new file mode 100644 index 00000000000..f24097731b5 --- /dev/null +++ b/misc/ocaml-magic-mime/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1 2019/07/01 15:53:30 jaapb Exp $ + +GITHUB_PROJECT= ocaml-magic-mime +GITHUB_TAG= v${PKGVERSION_NOREV} +DISTNAME= ${GITHUB_PROJECT}-1.1.1 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_GITHUB:=mirage/} + +MAINTAINER= jaapb@NetBSD.org +HOMEPAGE= https://github.com/mirage/ocaml-magic-mime/ +COMMENT= Convert file extensions to MIME types +LICENSE= isc + +USE_LANGUAGES= # none + +OCAML_USE_DUNE= yes + +.include "../../mk/ocaml.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/misc/ocaml-magic-mime/PLIST b/misc/ocaml-magic-mime/PLIST new file mode 100644 index 00000000000..6eb87f4b1ff --- /dev/null +++ b/misc/ocaml-magic-mime/PLIST @@ -0,0 +1,23 @@ +@comment $NetBSD: PLIST,v 1.1 2019/07/01 15:53:30 jaapb Exp $ +${OCAML_SITELIB}/magic-mime/META +${OCAML_SITELIB}/magic-mime/dune-package +${OCAML_SITELIB}/magic-mime/magic_mime.cmi +${OCAML_SITELIB}/magic-mime/magic_mime.cmt +${OCAML_SITELIB}/magic-mime/magic_mime.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/magic-mime/magic_mime.cmx +${OCAML_SITELIB}/magic-mime/magic_mime.ml +${OCAML_SITELIB}/magic-mime/magic_mime.mli +${PLIST.ocaml-opt}${OCAML_SITELIB}/magic-mime/magic_mime_library.a +${OCAML_SITELIB}/magic-mime/magic_mime_library.cma +${PLIST.ocaml-opt}${OCAML_SITELIB}/magic-mime/magic_mime_library.cmxa +${PLIST.ocaml-opt}${OCAML_SITELIB}/magic-mime/magic_mime_library.cmxs +${OCAML_SITELIB}/magic-mime/mime_types.cmi +${OCAML_SITELIB}/magic-mime/mime_types.cmt +${OCAML_SITELIB}/magic-mime/mime_types.cmti +${PLIST.ocaml-opt}${OCAML_SITELIB}/magic-mime/mime_types.cmx +${OCAML_SITELIB}/magic-mime/mime_types.ml +${OCAML_SITELIB}/magic-mime/mime_types.mli +${OCAML_SITELIB}/magic-mime/opam +share/doc/magic-mime/CHANGES.md +share/doc/magic-mime/LICENSE.md +share/doc/magic-mime/README.md diff --git a/misc/ocaml-magic-mime/buildlink3.mk b/misc/ocaml-magic-mime/buildlink3.mk new file mode 100644 index 00000000000..df2e4bc5981 --- /dev/null +++ b/misc/ocaml-magic-mime/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2019/07/01 15:53:30 jaapb Exp $ + +BUILDLINK_TREE+= ocaml-magic-mime + +.if !defined(OCAML_MAGIC_MIME_BUILDLINK3_MK) +OCAML_MAGIC_MIME_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.ocaml-magic-mime+= ocaml-magic-mime>=1.1.1 +BUILDLINK_ABI_DEPENDS.ocaml-magic-mime+= ocaml-magic-mime>=1.1.1 +BUILDLINK_PKGSRCDIR.ocaml-magic-mime?= ../../misc/ocaml-magic-mime +.endif # OCAML_MAGIC_MIME_BUILDLINK3_MK + +BUILDLINK_TREE+= -ocaml-magic-mime diff --git a/misc/ocaml-magic-mime/distinfo b/misc/ocaml-magic-mime/distinfo new file mode 100644 index 00000000000..df93138c834 --- /dev/null +++ b/misc/ocaml-magic-mime/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2019/07/01 15:53:30 jaapb Exp $ + +SHA1 (ocaml-magic-mime-1.1.1.tar.gz) = 8ff1bd5995aaf7564738f9f7e46aaa167fbca3e8 +RMD160 (ocaml-magic-mime-1.1.1.tar.gz) = df87aca1d7ab9474668e792d244670c5107a76a1 +SHA512 (ocaml-magic-mime-1.1.1.tar.gz) = cb1476d84cd8fdf95b772644df2c91c642bcab466dae0b79f6f320d34efe5da09129837b628c5393160a46907d020637b7d0d0a956f0055b381afe0f507ffa28 +Size (ocaml-magic-mime-1.1.1.tar.gz) = 13175 bytes |