Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc misc: Add mime-types



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a987692d8026
branches:  trunk
changeset: 433952:a987692d8026
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jun 09 10:10:37 2020 +0000

description:
misc: Add mime-types

A database of common mappings of file extensions to MIME types.

The purpose of this package is to provide a reasonably complete
default database of MIME types for packages that expect a mime.types
file to be installed in the system configuration directory.

diffstat:

 misc/Makefile            |   3 ++-
 misc/mime-types/DESCR    |   5 +++++
 misc/mime-types/Makefile |  26 ++++++++++++++++++++++++++
 misc/mime-types/PLIST    |   2 ++
 misc/mime-types/distinfo |   6 ++++++
 5 files changed, 41 insertions(+), 1 deletions(-)

diffs (72 lines):

diff -r 10a9d5bb0ec7 -r a987692d8026 misc/Makefile
--- a/misc/Makefile     Tue Jun 09 09:56:13 2020 +0000
+++ b/misc/Makefile     Tue Jun 09 10:10:37 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.538 2020/03/04 20:30:50 nia Exp $
+# $NetBSD: Makefile,v 1.539 2020/06/09 10:10:37 nia Exp $
 #
 
 COMMENT=       Miscellaneous utilities
@@ -190,6 +190,7 @@
 SUBDIR+=       mbuffer
 SUBDIR+=       mdp
 SUBDIR+=       mic-paren
+SUBDIR+=       mime-types
 SUBDIR+=       mirmon
 SUBDIR+=       mkcue
 SUBDIR+=       mmv
diff -r 10a9d5bb0ec7 -r a987692d8026 misc/mime-types/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/mime-types/DESCR     Tue Jun 09 10:10:37 2020 +0000
@@ -0,0 +1,5 @@
+A database of common mappings of file extensions to MIME types.
+
+The purpose of this package is to provide a reasonably complete
+default database of MIME types for packages that expect a mime.types
+file to be installed in the system configuration directory.
diff -r 10a9d5bb0ec7 -r a987692d8026 misc/mime-types/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/mime-types/Makefile  Tue Jun 09 10:10:37 2020 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2020/06/09 10:10:37 nia Exp $
+
+DISTNAME=      mime-types-9
+CATEGORIES=    misc
+MASTER_SITES=  https://mirrors.kernel.org/gentoo/distfiles/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://packages.gentoo.org/package/app-misc/mime-types
+COMMENT=       Database of common mappings of file extensions to MIME types
+LICENSE=       gnu-gpl-v2
+
+NO_BUILD=      yes
+USE_LANGUAGES= # none
+
+EGDIR=         ${PREFIX}/share/examples/mime-types
+
+CONF_FILES+=   ${EGDIR}/mime.types ${PKG_SYSCONFDIR}/mime.types
+
+INSTALLATION_DIRS+=    share/examples/mime-types
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/mime.types \
+               ${DESTDIR}${PREFIX}/share/examples/mime-types/mime.types
+
+.include "../../mk/bsd.pkg.mk"
diff -r 10a9d5bb0ec7 -r a987692d8026 misc/mime-types/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/mime-types/PLIST     Tue Jun 09 10:10:37 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/06/09 10:10:37 nia Exp $
+share/examples/mime-types/mime.types
diff -r 10a9d5bb0ec7 -r a987692d8026 misc/mime-types/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/mime-types/distinfo  Tue Jun 09 10:10:37 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/06/09 10:10:37 nia Exp $
+
+SHA1 (mime-types-9.tar.bz2) = b21b7775a006b60113a6648e20beb1decdac8899
+RMD160 (mime-types-9.tar.bz2) = f9918e3be7883c119a8678b69c72fed660a1fc51
+SHA512 (mime-types-9.tar.bz2) = 066cea30c02a326e64680422b31aff0849c0a8c7486738f2edf339b88426c6ac5a365d4fa4c80c84df0fa4c39b5e13d45db314a1bf47ce369c132dd1c46130d6
+Size (mime-types-9.tar.bz2) = 15524 bytes



Home | Main Index | Thread Index | Old Index