pkgsrc/devel/R-IRkernel/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

33 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2019/08/08 19:53:37 brook Exp $
R_PKGNAME= IRkernel
R_PKGVER= 1.0.2
CATEGORIES= devel
MAINTAINER= minskim@NetBSD.org
COMMENT= Native R kernel for the Jupyter notebook
DEPENDS+= R-IRdisplay>=0.3.0.9999:../../devel/R-IRdisplay
DEPENDS+= R-crayon>=1.3.4:../../devel/R-crayon
DEPENDS+= R-evaluate>=0.10:../../devel/R-evaluate
DEPENDS+= R-repr>=0.4.99:../../devel/R-repr
DEPENDS+= R-uuid>=0.1.2:../../devel/R-uuid
DEPENDS+= R-pbdZMQ>=0.2.1:../../net/R-pbdZMQ
DEPENDS+= R-digest>=0.6.15:../../security/R-digest
DEPENDS+= R-jsonlite>=0.9.6:../../textproc/R-jsonlite
USE_LANGUAGES= # none
.include "../../math/R/Makefile.extension"
INSTALLATION_DIRS+= share/jupyter/kernels/ir
post-install:
.for f in kernel.js logo-64x64.png
${LN} -s ${DESTDIR}${PREFIX}/lib/R/library/${R_PKGNAME}/kernelspec/${f} \
${DESTDIR}${PREFIX}/share/jupyter/kernels/ir/
.endfor
${INSTALL_DATA} ${DESTDIR}${PREFIX}/lib/R/library/${R_PKGNAME}/kernelspec/kernel.json \
${DESTDIR}${PREFIX}/share/jupyter/kernels/ir/
.include "../../mk/bsd.pkg.mk"