pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/misc/ocaml-magic-mime
Module Name: pkgsrc
Committed By: jaapb
Date: Mon Jul 1 15:53:30 UTC 2019
Added Files:
pkgsrc/misc/ocaml-magic-mime: DESCR Makefile PLIST buildlink3.mk
distinfo
Log Message:
Added new package misc/ocaml-magic-mime
It's a MIME type library for OCaml. needed as a dependency for
www/ocaml-cohttp.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/ocaml-magic-mime/DESCR \
pkgsrc/misc/ocaml-magic-mime/Makefile pkgsrc/misc/ocaml-magic-mime/PLIST \
pkgsrc/misc/ocaml-magic-mime/buildlink3.mk \
pkgsrc/misc/ocaml-magic-mime/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/misc/ocaml-magic-mime/DESCR
diff -u /dev/null pkgsrc/misc/ocaml-magic-mime/DESCR:1.1
--- /dev/null Mon Jul 1 15:53:30 2019
+++ pkgsrc/misc/ocaml-magic-mime/DESCR Mon Jul 1 15:53:30 2019
@@ -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.
Index: pkgsrc/misc/ocaml-magic-mime/Makefile
diff -u /dev/null pkgsrc/misc/ocaml-magic-mime/Makefile:1.1
--- /dev/null Mon Jul 1 15:53:30 2019
+++ pkgsrc/misc/ocaml-magic-mime/Makefile Mon Jul 1 15:53:30 2019
@@ -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"
Index: pkgsrc/misc/ocaml-magic-mime/PLIST
diff -u /dev/null pkgsrc/misc/ocaml-magic-mime/PLIST:1.1
--- /dev/null Mon Jul 1 15:53:30 2019
+++ pkgsrc/misc/ocaml-magic-mime/PLIST Mon Jul 1 15:53:30 2019
@@ -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
Index: pkgsrc/misc/ocaml-magic-mime/buildlink3.mk
diff -u /dev/null pkgsrc/misc/ocaml-magic-mime/buildlink3.mk:1.1
--- /dev/null Mon Jul 1 15:53:30 2019
+++ pkgsrc/misc/ocaml-magic-mime/buildlink3.mk Mon Jul 1 15:53:30 2019
@@ -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
Index: pkgsrc/misc/ocaml-magic-mime/distinfo
diff -u /dev/null pkgsrc/misc/ocaml-magic-mime/distinfo:1.1
--- /dev/null Mon Jul 1 15:53:30 2019
+++ pkgsrc/misc/ocaml-magic-mime/distinfo Mon Jul 1 15:53:30 2019
@@ -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