summaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-12-13 10:33:51 +0000
committerkrion <krion@FreeBSD.org>2004-12-13 10:33:51 +0000
commita5f2410188f802392b210398f339630ebeb08b46 (patch)
tree1d1f4df1f19f53f67d996f4a05c3ac5ceac612eb /science
parent363454d3b9e4b62a196345e6bc26186c5c550d9d (diff)
downloadFreeBSD-ports-a5f2410188f802392b210398f339630ebeb08b46.zip
FreeBSD-ports-a5f2410188f802392b210398f339630ebeb08b46.tar.gz
Fix pkg-plist and add python category for libsvm-python (slave port)
PR: ports/74973 Submitted by: maintainer
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 75a5e52..9152bc1 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 f5eb107..43cfad3 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%%
OpenPOWER on IntegriCloud