The canonical form [1] of an R package Makefile includes the
following:
- The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as
needed), and CATEGORIES.
- HOMEPAGE is not present but defined in math/R/Makefile.extension to
refer to the CRAN web page describing the package. Other relevant
web pages are often linked from there via the URL field.
This updates all current R packages to this form, which will make
regular updates _much_ easier, especially using pkgtools/R2pkg.
[1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html
Each R package should include ../../math/R/Makefile.extension, which also
defines MASTER_SITES. Consequently, it is redundant for the individual
packages to do the same. Package-specific definitions also prevent
redefining MASTER_SITES in a single common place.
Upstream changes:
CHANGES IN mime VERSION 0.4
NEW FEATURES
o added a new content type: .geojson -> application/vnd.geo+json (thanks,
@dmpe, #3)
BUG FIXES
o guess_type() may fail on Windows when the file paths are too long (#2)
CHANGES IN mime VERSION 0.3
NEW FEATURES
o added a few more content types
CHANGES IN mime VERSION 0.2
NEW FEATURES
o added a function parse_multipart() to parse multipart form data submitted via
HTTP POST
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