Cache the results of a function so that when you call it again with the same arguments it returns the pre-computed value.
19 lines
433 B
Makefile
19 lines
433 B
Makefile
# $NetBSD: Makefile,v 1.1 2018/04/07 20:51:59 minskim Exp $
|
|
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/}
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= https://github.com/hadley/memoise
|
|
COMMENT= Memoisation of Functions
|
|
LICENSE= mit
|
|
|
|
R_PKGNAME= memoise
|
|
R_PKGVER= 1.1.0
|
|
|
|
DEPENDS+= R-digest>=0.6.3:../../security/R-digest
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
.include "../../math/R/Makefile.extension"
|
|
.include "../../mk/bsd.pkg.mk"
|