diff options
-rw-r--r-- | misc/Makefile | 3 | ||||
-rw-r--r-- | misc/mime-types/DESCR | 5 | ||||
-rw-r--r-- | misc/mime-types/Makefile | 26 | ||||
-rw-r--r-- | misc/mime-types/PLIST | 2 | ||||
-rw-r--r-- | misc/mime-types/distinfo | 6 |
5 files changed, 41 insertions, 1 deletions
diff --git a/misc/Makefile b/misc/Makefile index e1982ca3cb5..25cbd5bf349 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -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 diff --git a/misc/mime-types/DESCR b/misc/mime-types/DESCR new file mode 100644 index 00000000000..56c0f8ae510 --- /dev/null +++ b/misc/mime-types/DESCR @@ -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 --git a/misc/mime-types/Makefile b/misc/mime-types/Makefile new file mode 100644 index 00000000000..3a2aec03a30 --- /dev/null +++ b/misc/mime-types/Makefile @@ -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 +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 --git a/misc/mime-types/PLIST b/misc/mime-types/PLIST new file mode 100644 index 00000000000..c7f89ba7c58 --- /dev/null +++ b/misc/mime-types/PLIST @@ -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 --git a/misc/mime-types/distinfo b/misc/mime-types/distinfo new file mode 100644 index 00000000000..a86fdb03d3c --- /dev/null +++ b/misc/mime-types/distinfo @@ -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 |