svn commit: r355991 - head/science/libsvm
Antoine Brodin
antoine at FreeBSD.org
Sat May 31 15:21:37 UTC 2014
Author: antoine
Date: Sat May 31 15:21:36 2014
New Revision: 355991
URL: http://svnweb.freebsd.org/changeset/ports/355991
QAT: https://qat.redports.org/buildarchive/r355991/
Log:
Unbreak
While here, remove ${CAT} ${PKGMESSAGE} unneeded for staged ports
Modified:
head/science/libsvm/Makefile
Modified: head/science/libsvm/Makefile
==============================================================================
--- head/science/libsvm/Makefile Sat May 31 15:15:31 2014 (r355990)
+++ head/science/libsvm/Makefile Sat May 31 15:21:36 2014 (r355991)
@@ -63,8 +63,9 @@ post-patch:
.if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} == "-python"
do-install:
- ${INSTALL_DATA} ${WRKSRC}/python/svm.py ${PYTHON_SITELIBDIR}/
- ${INSTALL_DATA} ${WRKSRC}/python/svmutil.py ${PYTHON_SITELIBDIR}/
+ ${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/python/svm.py ${STAGEDIR}${PYTHON_SITELIBDIR}
+ ${INSTALL_DATA} ${WRKSRC}/python/svmutil.py ${STAGEDIR}${PYTHON_SITELIBDIR}
.else
do-install:
@@ -74,7 +75,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/svm.h ${STAGEDIR}${PREFIX}/include/
${INSTALL_LIB} ${WRKSRC}/libsvm.so.2 ${STAGEDIR}${PREFIX}/lib/
${LN} -sf libsvm.so.2 ${STAGEDIR}${PREFIX}/lib/libsvm.so
- ${MKDIR} ${DATADIR}
+ ${MKDIR} ${STAGEDIR}${DATADIR}
for f in ${TOOLS}; do \
${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DATADIR}; \
done
@@ -83,15 +84,10 @@ do-install:
post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
for f in ${TXT_DOCS}; do \
${INSTALL_DATA} ${WRKSRC}/$$f ${STAGEDIR}${DOCSDIR}; \
done
.endif
-.if defined(PKGNAMESUFFIX) && ${PKGNAMESUFFIX} != "-python"
- @${ECHO_MSG} ""
- @${CAT} ${PKGMESSAGE}
- @${ECHO_MSG} ""
-.endif
.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list