Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2014 15:21:37 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355991 - head/science/libsvm
Message-ID:  <201405311521.s4VFLbJc071917@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405311521.s4VFLbJc071917>