[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / R-IRkernel

File: [cvs.NetBSD.org] / pkgsrc / devel / R-IRkernel / Makefile (download)

Revision 1.1, Mon Feb 12 19:44:46 2018 UTC (4 years, 11 months ago) by minskim
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1

devel/R-IRkenel: Import version 0.8.11

R kernel for Jupyter.

# $NetBSD: Makefile,v 1.1 2018/02/12 19:44:46 minskim Exp $

CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=IRkernel/}
GITHUB_PROJECT=	${R_PKGNAME}

MAINTAINER=	minskim@NetBSD.org
HOMEPAGE=	https://irkernel.github.io/
COMMENT=	R kernel for Jupyter Notebook

R_PKGNAME=	IRkernel
R_PKGVER=	0.8.11

DEPENDS+=	R-crayon-[0-9]*:../../devel/R-crayon
DEPENDS+=	R-digest-[0-9]*:../../security/R-digest
DEPENDS+=	R-evaluate-[0-9]*:../../devel/R-evaluate
DEPENDS+=	R-IRdisplay-[0-9]*:../../devel/R-IRdisplay
DEPENDS+=	R-jsonlite-[0-9]*:../../textproc/R-jsonlite
DEPENDS+=	R-pbdZMQ-[0-9]*:../../net/R-pbdZMQ
DEPENDS+=	R-repr-[0-9]*:../../devel/R-repr
DEPENDS+=	R-uuid-[0-9]*:../../devel/R-uuid

USE_LANGUAGES=	# none

.include "../../math/R/Makefile.extension"

INSTALLATION_DIRS+=	share/jupyter/kernels/ir

post-extract:
	${MV} ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG} ${WRKSRC}

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"