pkgsrc/math/R-CGIwithR/Makefile
brook 93e94bec97 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
2019-08-08 19:53:36 +00:00

26 lines
726 B
Makefile

# $NetBSD: Makefile,v 1.29 2019/08/08 19:53:44 brook Exp $
R_PKGNAME= CGIwithR
R_PKGVER= 0.73-0
PKGREVISION= 20
CATEGORIES= math
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Facilities for the use of R to write CGI scripts
USE_LANGUAGES= # none
REPLACE_INTERPRETER+= r
REPLACE.r.old= .*R
REPLACE.r.new= ${PREFIX}/bin/R
REPLACE_FILES.r= inst/examples/dangerous.R inst/examples/trivial.R
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths= Fixing absolute paths.
SUBST_FILES.fix-paths= inst/cgi-bin/R.cgi
SUBST_SED.fix-paths= -e 's,/usr/local,${PREFIX},g'
.include "../../math/R/Makefile.extension"
.include "../../print/ghostscript/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"