summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2015-04-11 03:25:43 +0000
committerrodent <rodent@pkgsrc.org>2015-04-11 03:25:43 +0000
commit95a09ac051ee5cc6530ecf9e76d4151e2ca224a0 (patch)
tree4ad220d7955df2dab27877252bdc0c8691a9f268 /math
parent71f62979a8d5a2f78f54aa6435d11e682f75c08c (diff)
downloadpkgsrc-95a09ac051ee5cc6530ecf9e76d4151e2ca224a0.tar.gz
Needs gmake to process Makefile correctly. Likely fixes build on Darwin.
Light cleanup of pkgsrc Makefile. From website: Version 3.20 released on November 15, 2014. It conducts some minor fixes.
Diffstat (limited to 'math')
-rw-r--r--math/libsvm/Makefile22
-rw-r--r--math/libsvm/distinfo8
2 files changed, 15 insertions, 15 deletions
diff --git a/math/libsvm/Makefile b/math/libsvm/Makefile
index 098a1481e93..e0fc57f9be9 100644
--- a/math/libsvm/Makefile
+++ b/math/libsvm/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2014/10/19 22:11:22 cheusov Exp $
+# $NetBSD: Makefile,v 1.4 2015/04/11 03:25:43 rodent Exp $
#
-DISTNAME= libsvm-3.18
-PKGREVISION= 2
+DISTNAME= libsvm-3.20
CATEGORIES= math
MASTER_SITES= http://www.csie.ntu.edu.tw/~cjlin/libsvm/
@@ -12,6 +11,7 @@ COMMENT= Library for Support Vector Machines
LICENSE= modified-bsd
USE_LANGUAGES= c c++
+USE_TOOLS+= gmake
BUILD_TARGET= all lib
AUTO_MKDIRS= yes
@@ -19,14 +19,14 @@ AUTO_MKDIRS= yes
REPLACE_PYTHON= tools/*.py
SUBST_CLASSES+= paths
-SUBST_SED.paths= -e 's,[.][.]/svm-train,${PREFIX}/bin/svm-train,' \
- -e 's,[.][.]/svm-scale,${PREFIX}/bin/svm-scale,' \
- -e 's,[.][.]/svm-predict,${PREFIX}/bin/svm-predict,' \
- -e 's,"[.]/grid[.]py,"${PREFIX}/bin/svm-grid,' \
- -e 's,/usr/bin/gnuplot,${PREFIX}/bin/gnuplot,'
-SUBST_FILES.paths= tools/grid.py tools/easy.py
-SUBST_STAGE.paths= pre-build
-SUBST_MESSAGE.paths= Fixing hardcoded paths.
+SUBST_SED.paths= -e 's,[.][.]/svm-train,${PREFIX}/bin/svm-train,'
+SUBST_SED.paths+= -e 's,[.][.]/svm-scale,${PREFIX}/bin/svm-scale,'
+SUBST_SED.paths+= -e 's,[.][.]/svm-predict,${PREFIX}/bin/svm-predict,'
+SUBST_SED.paths+= -e 's,"[.]/grid[.]py,"${PREFIX}/bin/svm-grid,'
+SUBST_SED.paths+= -e 's,/usr/bin/gnuplot,${PREFIX}/bin/gnuplot,'
+SUBST_FILES.paths= tools/grid.py tools/easy.py
+SUBST_STAGE.paths= pre-build
+SUBST_MESSAGE.paths= Fixing hardcoded paths.
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/svm-predict ${DESTDIR}${PREFIX}/bin
diff --git a/math/libsvm/distinfo b/math/libsvm/distinfo
index 2128664ff50..76a6da515c0 100644
--- a/math/libsvm/distinfo
+++ b/math/libsvm/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2014/04/02 07:31:43 rodent Exp $
+$NetBSD: distinfo,v 1.2 2015/04/11 03:25:43 rodent Exp $
-SHA1 (libsvm-3.18.tar.gz) = 20bd3e2d21d79c3714007043475b92dfeed29135
-RMD160 (libsvm-3.18.tar.gz) = 755ff7736fbb066f81c8650408d6ee2f35cd63b4
-Size (libsvm-3.18.tar.gz) = 610100 bytes
+SHA1 (libsvm-3.20.tar.gz) = 6902c22afadc70034c0d1c0e25455df10fb01eaf
+RMD160 (libsvm-3.20.tar.gz) = 857fc1fed153e72c894e3579e3b6cb92309e82fb
+Size (libsvm-3.20.tar.gz) = 609951 bytes