summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrook <brook@pkgsrc.org>2014-09-19 20:44:28 +0000
committerbrook <brook@pkgsrc.org>2014-09-19 20:44:28 +0000
commit02c45cb806aa4e2b72fe6328b9b8e9f5d0cbb227 (patch)
tree80bf1d82a6d3a4f6f6661631074e6d98c1cae344
parent7e48129d47277f344397b189feb028a6de74b5d1 (diff)
downloadpkgsrc-02c45cb806aa4e2b72fe6328b9b8e9f5d0cbb227.tar.gz
Initial import of mime v0.1.2 as mail/R-mime.
This package guesses the MIME type from a filename extension using the data derived from /etc/mime.types in UNIX-type systems. Note: this commit is part of reorganizing some of the recently imported R packages, which are being reimported into more appropriate categories (and removed from math) as a result of a recent discussion on tech-pkg and privately with wiz@. See the thread starting with: http://mail-index.netbsd.org/tech-pkg/2014/09/05/msg013558.html
-rw-r--r--mail/R-mime/DESCR2
-rw-r--r--mail/R-mime/Makefile15
-rw-r--r--mail/R-mime/distinfo5
3 files changed, 22 insertions, 0 deletions
diff --git a/mail/R-mime/DESCR b/mail/R-mime/DESCR
new file mode 100644
index 00000000000..20cde379aa2
--- /dev/null
+++ b/mail/R-mime/DESCR
@@ -0,0 +1,2 @@
+This package guesses the MIME type from a filename extension using the
+data derived from /etc/mime.types in UNIX-type systems.
diff --git a/mail/R-mime/Makefile b/mail/R-mime/Makefile
new file mode 100644
index 00000000000..23af979bbd7
--- /dev/null
+++ b/mail/R-mime/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2014/09/19 20:44:28 brook Exp $
+
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= ${R_HOMEPAGE_BASE}/mime/
+COMMENT= Map filenames to MIME types
+# TODO: LICENSE= GPL
+
+R_PKGNAME= mime
+R_PKGVER= 0.1.2
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/R-mime/distinfo b/mail/R-mime/distinfo
new file mode 100644
index 00000000000..dfe8161e71d
--- /dev/null
+++ b/mail/R-mime/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/09/19 20:44:28 brook Exp $
+
+SHA1 (R/mime_0.1.2.tar.gz) = 517299eee60cb197e86c748a994a9b876892b74b
+RMD160 (R/mime_0.1.2.tar.gz) = 4dc1f945cbfe87038c5a0394746bd111478072e8
+Size (R/mime_0.1.2.tar.gz) = 7939 bytes