aboutsummaryrefslogtreecommitdiffstats
path: root/science/libsvm/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-07-12 20:05:46 +0800
committerpav <pav@FreeBSD.org>2005-07-12 20:05:46 +0800
commitc4de39199f9c477476aff40a122076009436aad8 (patch)
tree0f4f6aac80a287ccc86efae5ff584c69421a8f8b /science/libsvm/Makefile
parent41493085bc60256715cbb11554c9d8aa75b1ee32 (diff)
downloadfreebsd-ports-gnome-c4de39199f9c477476aff40a122076009436aad8.tar.gz
freebsd-ports-gnome-c4de39199f9c477476aff40a122076009436aad8.tar.zst
freebsd-ports-gnome-c4de39199f9c477476aff40a122076009436aad8.zip
- Update to 2.8
PR: ports/83276 Submitted by: Rong-En Fan <rafan@infor.org> (maintainer)
Diffstat (limited to 'science/libsvm/Makefile')
-rw-r--r--science/libsvm/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/science/libsvm/Makefile b/science/libsvm/Makefile
index 55f77fb58930..c00f732b03ea 100644
--- a/science/libsvm/Makefile
+++ b/science/libsvm/Makefile
@@ -6,8 +6,9 @@
#
PORTNAME= libsvm
-PORTVERSION= 2.71
-PORTREVISION= 2
+PORTVERSION= 2.8
+PORTREVISION= 0
+PORTEPOCH= 1
CATEGORIES= science math
MASTER_SITES= http://www.csie.ntu.edu.tw/~cjlin/libsvm/ \
http://www.csie.ntu.edu.tw/~cjlin/libsvm/oldfiles/
@@ -33,19 +34,13 @@ TXT_DOCS= COPYRIGHT README FAQ.html README.python
.if !defined(NOPORTDOCS)
PORTDOCS= ${TXT_DOCS}
.endif
-TOOLS= python/grid.py python/easy.py
+TOOLS= tools/grid.py tools/easy.py
MSG_FILE= ${PKGDIR}/pkg-message
PKGMESSAGE= ${WRKSRC}/pkg-message
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64"
-AMD64= -fPIC
-.else
-AMD64=
-.endif
-
pre-everything::
.if defined(WITH_PYTHON)
@${ECHO_MSG} "Build with Python interface."
@@ -56,9 +51,7 @@ pre-everything::
post-patch:
.if defined(WITH_PYTHON)
@${REINPLACE_CMD} -e "s,%%PYTHON_INCLUDEDIR%%,${PYTHON_INCLUDEDIR}," ${WRKSRC}/python/Makefile
- @${REINPLACE_CMD} -e "s,%%AMD64%%,${AMD64}," ${WRKSRC}/python/Makefile
.endif
- @${REINPLACE_CMD} -e "s,%%AMD64%%,${AMD64}," ${WRKSRC}/Makefile
@${SED} 's|%%DATADIR%%|${DATADIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
post-build: