pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/libsvm Needs gmake to process Makefile correctly....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef212c9e2b2f
branches:  trunk
changeset: 649836:ef212c9e2b2f
user:      rodent <rodent%pkgsrc.org@localhost>
date:      Sat Apr 11 03:25:43 2015 +0000

description:
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:

 math/libsvm/Makefile |  22 +++++++++++-----------
 math/libsvm/distinfo |   8 ++++----
 2 files changed, 15 insertions(+), 15 deletions(-)

diffs (58 lines):

diff -r c8e49473909a -r ef212c9e2b2f math/libsvm/Makefile
--- a/math/libsvm/Makefile      Sat Apr 11 03:12:51 2015 +0000
+++ b/math/libsvm/Makefile      Sat Apr 11 03:25:43 2015 +0000
@@ -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 @@
 LICENSE=       modified-bsd
 
 USE_LANGUAGES= c c++
+USE_TOOLS+=    gmake
 
 BUILD_TARGET=  all lib
 AUTO_MKDIRS=   yes
@@ -19,14 +19,14 @@
 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 -r c8e49473909a -r ef212c9e2b2f math/libsvm/distinfo
--- a/math/libsvm/distinfo      Sat Apr 11 03:12:51 2015 +0000
+++ b/math/libsvm/distinfo      Sat Apr 11 03:25:43 2015 +0000
@@ -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



Home | Main Index | Thread Index | Old Index