aboutsummaryrefslogtreecommitdiffstats
path: root/science/libsvm/Makefile
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-11-18 20:52:04 +0800
committerrafan <rafan@FreeBSD.org>2006-11-18 20:52:04 +0800
commitda00d95bb7fd3bbaff7a6334c536a22e1a732921 (patch)
tree25971a3268dfb7b1d5655c659ef12a3fff2fc69a /science/libsvm/Makefile
parentc13819faf3a91e6a4aa53ac2ea482fb05b1deb91 (diff)
downloadfreebsd-ports-gnome-da00d95bb7fd3bbaff7a6334c536a22e1a732921.tar.gz
freebsd-ports-gnome-da00d95bb7fd3bbaff7a6334c536a22e1a732921.tar.zst
freebsd-ports-gnome-da00d95bb7fd3bbaff7a6334c536a22e1a732921.zip
- Update to 2.83
- Use SUB_FILES - Use ECHO_CMD where I mean echo command
Diffstat (limited to 'science/libsvm/Makefile')
-rw-r--r--science/libsvm/Makefile15
1 files changed, 7 insertions, 8 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>