View | Details | Raw Unified | Return to bug 74973
Collapse All | Expand All

(-)/home/rafan/tmp/ports/science/libsvm/Makefile (-2 / +4 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	libsvm
8
PORTNAME=	libsvm
9
PORTVERSION=	2.71
9
PORTVERSION=	2.71
10
PORTREVISION=	1
10
CATEGORIES=	science math
11
CATEGORIES=	science math
11
MASTER_SITES=	http://www.csie.ntu.edu.tw/~cjlin/libsvm/ \
12
MASTER_SITES=	http://www.csie.ntu.edu.tw/~cjlin/libsvm/ \
12
		http://www.csie.ntu.edu.tw/~cjlin/libsvm/oldfiles/
13
		http://www.csie.ntu.edu.tw/~cjlin/libsvm/oldfiles/
Lines 16-21 Link Here
16
17
17
USE_ZIP=	yes
18
USE_ZIP=	yes
18
.if defined(WITH_PYTHON)
19
.if defined(WITH_PYTHON)
20
CATEGORIES+=	python
19
USE_PYTHON=	yes
21
USE_PYTHON=	yes
20
USE_REINPLACE=	yes
22
USE_REINPLACE=	yes
21
PLIST_SUB+=	LIBSVM_PYTHON=""
23
PLIST_SUB+=	LIBSVM_PYTHON=""
Lines 26-32 Link Here
26
		python/test_cross_validation.py
28
		python/test_cross_validation.py
27
.endif
29
.endif
28
30
29
TXT_DOCS=	COPYRIGHT README FAQ.html python/README.python
31
TXT_DOCS=	COPYRIGHT README FAQ.html README.python
30
.if !defined(NOPORTDOCS)
32
.if !defined(NOPORTDOCS)
31
PORTDOCS=	${TXT_DOCS}
33
PORTDOCS=	${TXT_DOCS}
32
.endif
34
.endif
Lines 71-77 Link Here
71
	done
73
	done
72
.if !defined(NOPORTDOCS)
74
.if !defined(NOPORTDOCS)
73
	${MKDIR} ${DOCSDIR}
75
	${MKDIR} ${DOCSDIR}
74
	${CP} ${WRKSRC}/python/README ${WRKSRC}/python/README.python
76
	${CP} ${WRKSRC}/python/README ${WRKSRC}/README.python
75
	for f in ${TXT_DOCS}; do \
77
	for f in ${TXT_DOCS}; do \
76
	  ${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}; \
78
	  ${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}; \
77
	done
79
	done

Return to bug 74973