aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-12-13 10:33:51 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-12-13 10:33:51 +0000
commitf49c53ef084ed6ea5734ccc29cd9fa8dce2b10fc (patch)
treed7878307c1919f2c94489acb6268867094d40d63 /science
parent61a480b7fe3a32d5755048fe647c686b0876cd0b (diff)
downloadports-f49c53ef084ed6ea5734ccc29cd9fa8dce2b10fc.tar.gz
ports-f49c53ef084ed6ea5734ccc29cd9fa8dce2b10fc.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/libsvm/Makefile6
-rw-r--r--science/libsvm/pkg-plist1
2 files changed, 5 insertions, 2 deletions
diff --git a/science/libsvm/Makefile b/science/libsvm/Makefile
index 75a5e52f6d3f..9152bc144fc6 100644
--- a/science/libsvm/Makefile
+++ b/science/libsvm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libsvm
PORTVERSION= 2.71
+PORTREVISION= 1
CATEGORIES= science math
MASTER_SITES= http://www.csie.ntu.edu.tw/~cjlin/libsvm/ \
http://www.csie.ntu.edu.tw/~cjlin/libsvm/oldfiles/
@@ -16,6 +17,7 @@ COMMENT= A library for Support Vector Machines
USE_ZIP= yes
.if defined(WITH_PYTHON)
+CATEGORIES+= python
USE_PYTHON= yes
USE_REINPLACE= yes
PLIST_SUB+= LIBSVM_PYTHON=""
@@ -26,7 +28,7 @@ PYEXAMPLES= python/cross_validation.py \
python/test_cross_validation.py
.endif
-TXT_DOCS= COPYRIGHT README FAQ.html python/README.python
+TXT_DOCS= COPYRIGHT README FAQ.html README.python
.if !defined(NOPORTDOCS)
PORTDOCS= ${TXT_DOCS}
.endif
@@ -71,7 +73,7 @@ do-install:
done
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- ${CP} ${WRKSRC}/python/README ${WRKSRC}/python/README.python
+ ${CP} ${WRKSRC}/python/README ${WRKSRC}/README.python
for f in ${TXT_DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}; \
done
diff --git a/science/libsvm/pkg-plist b/science/libsvm/pkg-plist
index f5eb10746088..43cfad3c77ad 100644
--- a/science/libsvm/pkg-plist
+++ b/science/libsvm/pkg-plist
@@ -5,3 +5,4 @@ bin/svm-train
%%DATADIR%%/easy.py
%%LIBSVM_PYTHON%%%%PYTHON_SITELIBDIR%%/svm.py
%%LIBSVM_PYTHON%%%%PYTHON_SITELIBDIR%%/svmc.so
+@dirrm %%DATADIR%%