pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Jun  9 10:10:37 UTC 2020

Modified Files:
        pkgsrc/misc: Makefile
Added Files:
        pkgsrc/misc/mime-types: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.538 -r1.539 pkgsrc/misc/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/mime-types/DESCR \
    pkgsrc/misc/mime-types/Makefile pkgsrc/misc/mime-types/PLIST \
    pkgsrc/misc/mime-types/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/Makefile
diff -u pkgsrc/misc/Makefile:1.538 pkgsrc/misc/Makefile:1.539
--- pkgsrc/misc/Makefile:1.538  Wed Mar  4 20:30:50 2020
+++ pkgsrc/misc/Makefile        Tue Jun  9 10:10:37 2020
@@ -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+=    mate-utils
 SUBDIR+=       mbuffer
 SUBDIR+=       mdp
 SUBDIR+=       mic-paren
+SUBDIR+=       mime-types
 SUBDIR+=       mirmon
 SUBDIR+=       mkcue
 SUBDIR+=       mmv

Added files:

Index: pkgsrc/misc/mime-types/DESCR
diff -u /dev/null pkgsrc/misc/mime-types/DESCR:1.1
--- /dev/null   Tue Jun  9 10:10:37 2020
+++ pkgsrc/misc/mime-types/DESCR        Tue Jun  9 10:10:37 2020
@@ -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.
Index: pkgsrc/misc/mime-types/Makefile
diff -u /dev/null pkgsrc/misc/mime-types/Makefile:1.1
--- /dev/null   Tue Jun  9 10:10:37 2020
+++ pkgsrc/misc/mime-types/Makefile     Tue Jun  9 10:10:37 2020
@@ -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"
Index: pkgsrc/misc/mime-types/PLIST
diff -u /dev/null pkgsrc/misc/mime-types/PLIST:1.1
--- /dev/null   Tue Jun  9 10:10:37 2020
+++ pkgsrc/misc/mime-types/PLIST        Tue Jun  9 10:10:37 2020
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/06/09 10:10:37 nia Exp $
+share/examples/mime-types/mime.types
Index: pkgsrc/misc/mime-types/distinfo
diff -u /dev/null pkgsrc/misc/mime-types/distinfo:1.1
--- /dev/null   Tue Jun  9 10:10:37 2020
+++ pkgsrc/misc/mime-types/distinfo     Tue Jun  9 10:10:37 2020
@@ -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