-
Notifications
You must be signed in to change notification settings - Fork 160
/
Makefile
33 lines (25 loc) · 1.02 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $NetBSD: Makefile,v 1.7 2023/06/18 14:39:31 mef Exp $
R_PKGNAME= IRkernel
R_PKGVER= 1.3.2
CATEGORIES= devel
MAINTAINER= [email protected]
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"