pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/ocaml-magic-mime Added new package misc/ocaml-mag...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d4c050b7f84
branches:  trunk
changeset: 397647:2d4c050b7f84
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Mon Jul 01 15:53:30 2019 +0000

description:
Added new package misc/ocaml-magic-mime

It's a MIME type library for OCaml. needed as a dependency for
www/ocaml-cohttp.

diffstat:

 misc/ocaml-magic-mime/DESCR         |   5 +++++
 misc/ocaml-magic-mime/Makefile      |  19 +++++++++++++++++++
 misc/ocaml-magic-mime/PLIST         |  23 +++++++++++++++++++++++
 misc/ocaml-magic-mime/buildlink3.mk |  13 +++++++++++++
 misc/ocaml-magic-mime/distinfo      |   6 ++++++
 5 files changed, 66 insertions(+), 0 deletions(-)

diffs (86 lines):

diff -r cc68f9c90709 -r 2d4c050b7f84 misc/ocaml-magic-mime/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ocaml-magic-mime/DESCR       Mon Jul 01 15:53:30 2019 +0000
@@ -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 -r cc68f9c90709 -r 2d4c050b7f84 misc/ocaml-magic-mime/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ocaml-magic-mime/Makefile    Mon Jul 01 15:53:30 2019 +0000
@@ -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@localhost
+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 -r cc68f9c90709 -r 2d4c050b7f84 misc/ocaml-magic-mime/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ocaml-magic-mime/PLIST       Mon Jul 01 15:53:30 2019 +0000
@@ -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 -r cc68f9c90709 -r 2d4c050b7f84 misc/ocaml-magic-mime/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ocaml-magic-mime/buildlink3.mk       Mon Jul 01 15:53:30 2019 +0000
@@ -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 -r cc68f9c90709 -r 2d4c050b7f84 misc/ocaml-magic-mime/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ocaml-magic-mime/distinfo    Mon Jul 01 15:53:30 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index