summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorwen <wen@pkgsrc.org>2016-02-25 01:09:37 +0000
committerwen <wen@pkgsrc.org>2016-02-25 01:09:37 +0000
commit8e593f11c6ef0af1e96da5ce4760060526988cbf (patch)
tree9440b8fc95e0e8e4661ac0f07c50351e8322ede4 /math
parentaa6c43d7fe8a5e11a1ca6618bb420cd65db1d1bb (diff)
downloadpkgsrc-8e593f11c6ef0af1e96da5ce4760060526988cbf.tar.gz
Import FNN-1.1 as math/R-FNN.
Cover-tree and kd-tree fast k-nearest neighbor search algorithms and related applications including KNN classification, regression and information measures are implemented.
Diffstat (limited to 'math')
-rw-r--r--math/R-FNN/DESCR3
-rw-r--r--math/R-FNN/Makefile17
-rw-r--r--math/R-FNN/distinfo7
-rw-r--r--math/R-FNN/patches/patch-src_Makevars13
4 files changed, 40 insertions, 0 deletions
diff --git a/math/R-FNN/DESCR b/math/R-FNN/DESCR
new file mode 100644
index 00000000000..601301e9afe
--- /dev/null
+++ b/math/R-FNN/DESCR
@@ -0,0 +1,3 @@
+Cover-tree and kd-tree fast k-nearest neighbor search algorithms
+and related applications including KNN classification, regression
+and information measures are implemented.
diff --git a/math/R-FNN/Makefile b/math/R-FNN/Makefile
new file mode 100644
index 00000000000..656c7f519cd
--- /dev/null
+++ b/math/R-FNN/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2016/02/25 01:09:37 wen Exp $
+
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= ${R_HOMEPAGE_BASE}/FNN/
+COMMENT= Fast Nearest Neighbor Search Algorithms and Applications
+LICENSE= gnu-gpl-v2
+
+R_PKGNAME= FNN
+R_PKGVER= 1.1
+
+USE_LANGUAGES+= c++
+
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/R-FNN/distinfo b/math/R-FNN/distinfo
new file mode 100644
index 00000000000..f27b5416f58
--- /dev/null
+++ b/math/R-FNN/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/02/25 01:09:37 wen Exp $
+
+SHA1 (R/FNN_1.1.tar.gz) = ac5c9025e3eb3b6323c7e785191b1e087801442d
+RMD160 (R/FNN_1.1.tar.gz) = 54eeb85f2b1ce0e45fc437050af3e10f4e120cf8
+SHA512 (R/FNN_1.1.tar.gz) = 8fefe3f8af38702223fcfee4947fc002d14b15de1896a540b131a2a0bf2a542ea9d0efedbf19d406ff3f9cc3dc79d7ff8ce78c940ed5f8597647c5a96466966f
+Size (R/FNN_1.1.tar.gz) = 77283 bytes
+SHA1 (patch-src_Makevars) = ea930ea74f2571f137b36893aca7cb3d9491f0c0
diff --git a/math/R-FNN/patches/patch-src_Makevars b/math/R-FNN/patches/patch-src_Makevars
new file mode 100644
index 00000000000..6f9908afd95
--- /dev/null
+++ b/math/R-FNN/patches/patch-src_Makevars
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_Makevars,v 1.1 2016/02/25 01:09:37 wen Exp $
+
+--- src/Makevars.orig 2016-02-25 08:53:40.000000000 +0000
++++ src/Makevars
+@@ -4,7 +4,7 @@ PKG_CPPFLAGS = -Iinclude -DUSING_R -DUSI
+ PKG_LIBS =
+
+ #clean after building
+-all: $(SHLIB) clean
++all: $(SHLIB)
+
+ clean: $(SHLIB)
+ $(RM) *.o core