aboutsummaryrefslogtreecommitdiff
path: root/science/libsvm
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-11-18 12:52:04 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-11-18 12:52:04 +0000
commit857d0ec9bd8c108bcb10c2837276d30846151875 (patch)
tree6abde6e43c66ff3d1735d7db198744c6e8c5be1e /science/libsvm
parent2d49f5960a99684192b11614c8bc613408a9bceb (diff)
downloadports-857d0ec9bd8c108bcb10c2837276d30846151875.tar.gz
ports-857d0ec9bd8c108bcb10c2837276d30846151875.zip
Notes
Diffstat (limited to 'science/libsvm')
-rw-r--r--science/libsvm/Makefile15
-rw-r--r--science/libsvm/distinfo6
-rw-r--r--science/libsvm/files/pkg-message.in (renamed from science/libsvm/pkg-message)0
3 files changed, 10 insertions, 11 deletions
diff --git a/science/libsvm/Makefile b/science/libsvm/Makefile
index 46fa70fec47c..6e265098d60e 100644
--- a/science/libsvm/Makefile
+++ b/science/libsvm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libsvm
-PORTVERSION= 2.82
+PORTVERSION= 2.83
PORTREVISION= 0
PORTEPOCH= 1
CATEGORIES= science math
@@ -35,23 +35,22 @@ PORTDOCS= ${TXT_DOCS}
.endif
TOOLS= tools/grid.py tools/easy.py tools/subset.py
-MSG_FILE= ${PKGDIR}/pkg-message
-PKGMESSAGE= ${WRKSRC}/pkg-message
+SUB_FILES= pkg-message
+SUB_LIST= DATADIR=${DATADIR}
.include <bsd.port.pre.mk>
pre-everything::
.if defined(WITH_PYTHON)
- @${ECHO_MSG} "Build with Python interface."
+ @${ECHO_CMD} "Build with Python interface."
.else
- @${ECHO_MSG} "You can enable Python interface by defining WITH_PYTHON."
+ @${ECHO_CMD} "You can enable Python interface by defining WITH_PYTHON."
.endif
post-patch:
.if defined(WITH_PYTHON)
@${REINPLACE_CMD} -e "s,%%PYTHON_INCLUDEDIR%%,${PYTHON_INCLUDEDIR}," ${WRKSRC}/python/Makefile
.endif
- @${SED} 's|%%DATADIR%%|${DATADIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
post-build:
.if defined(WITH_PYTHON)
@@ -81,8 +80,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/$$f ${DOCSDIR}; \
done
.endif
- @${ECHO} ""
+ @${ECHO_CMD} ""
@${CAT} ${PKGMESSAGE}
- @${ECHO} ""
+ @${ECHO_CMD} ""
.include <bsd.port.post.mk>
diff --git a/science/libsvm/distinfo b/science/libsvm/distinfo
index ea18c2df31d0..0cadc2d6953a 100644
--- a/science/libsvm/distinfo
+++ b/science/libsvm/distinfo
@@ -1,3 +1,3 @@
-MD5 (libsvm-2.82.zip) = 35d3fc45aeef507f133b4e8d82b3fabd
-SHA256 (libsvm-2.82.zip) = 43656e7c55c8e58c22228a1a2f7cf5a62f780e657619a52c15a47ec58645ffda
-SIZE (libsvm-2.82.zip) = 419821
+MD5 (libsvm-2.83.zip) = fcd7a994906706f669e36ecf5e7c1ef1
+SHA256 (libsvm-2.83.zip) = 4ff5690224a2f1f511c91f222585af5873bef41645bb5b287c0a340e6d88cb73
+SIZE (libsvm-2.83.zip) = 434438
diff --git a/science/libsvm/pkg-message b/science/libsvm/files/pkg-message.in
index 66242c832d50..66242c832d50 100644
--- a/science/libsvm/pkg-message
+++ b/science/libsvm/files/pkg-message.in