summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorbrook <brook@pkgsrc.org>2019-08-08 19:53:36 +0000
committerbrook <brook@pkgsrc.org>2019-08-08 19:53:36 +0000
commit0ef7168b02aa8dade900b32059d41aca19d30026 (patch)
treec8264eddf96514511ce9f92bcefd5f9761e7951c /geography
parent2c96df5dafc1c0e2cb229ca554d547dc202cd120 (diff)
downloadpkgsrc-0ef7168b02aa8dade900b32059d41aca19d30026.tar.gz
Update all R packages to canonical form.
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
Diffstat (limited to 'geography')
-rw-r--r--geography/R-countrycode/Makefile10
-rw-r--r--geography/R-maptools/Makefile10
2 files changed, 8 insertions, 12 deletions
diff --git a/geography/R-countrycode/Makefile b/geography/R-countrycode/Makefile
index eb859d550bc..1ba15a3815d 100644
--- a/geography/R-countrycode/Makefile
+++ b/geography/R-countrycode/Makefile
@@ -1,15 +1,13 @@
-# $NetBSD: Makefile,v 1.4 2019/07/31 15:57:09 brook Exp $
+# $NetBSD: Makefile,v 1.5 2019/08/08 19:53:42 brook Exp $
-CATEGORIES= geography R
+R_PKGNAME= countrycode
+R_PKGVER= 1.1.0
+CATEGORIES= geography
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= ${R_HOMEPAGE_BASE}/countrycode/
COMMENT= Convert country names and country codes
LICENSE= gnu-gpl-v3
-R_PKGNAME= countrycode
-R_PKGVER= 1.1.0
-
USE_LANGUAGES= # none
.include "../../math/R/Makefile.extension"
diff --git a/geography/R-maptools/Makefile b/geography/R-maptools/Makefile
index c5462aaad68..91125d6892c 100644
--- a/geography/R-maptools/Makefile
+++ b/geography/R-maptools/Makefile
@@ -1,15 +1,13 @@
-# $NetBSD: Makefile,v 1.2 2019/07/31 15:58:35 brook Exp $
+# $NetBSD: Makefile,v 1.3 2019/08/08 19:53:42 brook Exp $
-CATEGORIES= geography R
+R_PKGNAME= maptools
+R_PKGVER= 0.9-5
+CATEGORIES= geography
MAINTAINER= wen@NetBSD.org
-HOMEPAGE= ${R_HOMEPAGE_BASE}/maptools/
COMMENT= Tools for handling spatial objects
LICENSE= gnu-gpl-v2 OR gnu-gpl-v3
-R_PKGNAME= maptools
-R_PKGVER= 0.9-5
-
DEPENDS+= R-sp>=1.0.11:../../math/R-sp
USE_LANGUAGES= c