aboutsummaryrefslogtreecommitdiff
path: root/science/libsvm
diff options
context:
space:
mode:
Diffstat (limited to 'science/libsvm')
-rw-r--r--science/libsvm/Makefile8
-rw-r--r--science/libsvm/distinfo2
-rw-r--r--science/libsvm/pkg-plist6
3 files changed, 8 insertions, 8 deletions
diff --git a/science/libsvm/Makefile b/science/libsvm/Makefile
index a53624c20162..3c126ad6b7c8 100644
--- a/science/libsvm/Makefile
+++ b/science/libsvm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libsvm
-PORTVERSION= 2.4
+PORTVERSION= 2.5
CATEGORIES= science math
MASTER_SITES= http://www.csie.ntu.edu.tw/~cjlin/libsvm/
@@ -22,7 +22,7 @@ MAKE_ARGS+= PYTHON_INCLUDEDIR=${PYTHON_INCLUDEDIR}
.if defined(WITH_PYTHON)
pre-install:
- @cat ${PKGDIR}/pkg-plist.python ${PKGDIR}/pkg-plist > ${PLIST}
+ @${CAT} ${PKGDIR}/pkg-plist.python ${PKGDIR}/pkg-plist > ${PLIST}
.endif
pre-everything::
@@ -40,8 +40,8 @@ do-install:
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libsvm
- ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/libsvm
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/science/libsvm/distinfo b/science/libsvm/distinfo
index df91188e814b..6ab902b8e1a8 100644
--- a/science/libsvm/distinfo
+++ b/science/libsvm/distinfo
@@ -1 +1 @@
-MD5 (libsvm-2.4.tar.gz) = 816ea579ad4f49e38654d682ea66eda6
+MD5 (libsvm-2.5.tar.gz) = 5973401a9b5d9fdd65fc46bdc61a5f9e
diff --git a/science/libsvm/pkg-plist b/science/libsvm/pkg-plist
index 0e12818f1da0..9988e2bb4a98 100644
--- a/science/libsvm/pkg-plist
+++ b/science/libsvm/pkg-plist
@@ -1,6 +1,6 @@
bin/svm-predict
bin/svm-scale
bin/svm-train
-%%PORTDOCS%%share/doc/libsvm/README
-%%PORTDOCS%%share/doc/libsvm/COPYRIGHT
-%%PORTDOCS%%@dirrm share/doc/libsvm
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
+%%PORTDOCS%%@dirrm %%DOCSDIR%%