svn commit: r354700 - head/math/suitesparse

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed May 21 01:16:54 UTC 2014


Author: amdmi3
Date: Wed May 21 01:16:53 2014
New Revision: 354700
URL: http://svnweb.freebsd.org/changeset/ports/354700
QAT: https://qat.redports.org/buildarchive/r354700/

Log:
  - Stagify
  
  Approved by:	portmgr blanket

Modified:
  head/math/suitesparse/Makefile
  head/math/suitesparse/pkg-descr

Modified: head/math/suitesparse/Makefile
==============================================================================
--- head/math/suitesparse/Makefile	Wed May 21 00:53:37 2014	(r354699)
+++ head/math/suitesparse/Makefile	Wed May 21 01:16:53 2014	(r354700)
@@ -17,14 +17,13 @@ LICENSE_COMB=	multi
 USES=		fortran gmake
 
 .if defined (WITH_METIS)
-LIB_DEPENDS=	metis.1:${PORTSDIR}/math/metis4
+LIB_DEPENDS=	libmetis.so:${PORTSDIR}/math/metis4
 
 RESTRICTED=	GPL and METIS licenses are contradictory
 .endif
 
 CONFLICTS=	umfpack-*
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if exists(${LOCALBASE}/lib/libopenblas.so)
@@ -41,21 +40,21 @@ CFLAGS+=	${PTHREAD_CFLAGS}
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 .if ${WITH_BLAS} == reference
-LIB_DEPENDS+=	blas.2:${PORTSDIR}/math/blas
-LIB_DEPENDS+=	lapack.4:${PORTSDIR}/math/lapack
+LIB_DEPENDS+=	libblas.so:${PORTSDIR}/math/blas
+LIB_DEPENDS+=	liblapack.so:${PORTSDIR}/math/lapack
 BLAS=		-lblas
 LAPACK=		-llapack
 .elif ${WITH_BLAS} == openblas
-LIB_DEPENDS+=	openblas:${PORTSDIR}/math/openblas
+LIB_DEPENDS+=	libopenblas.so:${PORTSDIR}/math/openblas
 BLAS=		-lopenblasp
 LAPACK=		-lopenblasp
 .elif ${WITH_BLAS} == gotoblas
-LIB_DEPENDS+=	goto2:${PORTSDIR}/math/gotoblas
-LIB_DEPENDS+=	lapack.4:${PORTSDIR}/math/lapack
+LIB_DEPENDS+=	libgoto2.so:${PORTSDIR}/math/gotoblas
+LIB_DEPENDS+=	liblapack.so:${PORTSDIR}/math/lapack
 BLAS =		-lgoto2p
 LAPACK =	-lgoto2p
 .elif ${WITH_BLAS} == atlas
-LIB_DEPENDS+=	atlas:${PORTSDIR}/math/atlas
+LIB_DEPENDS+=	libatlas.so:${PORTSDIR}/math/atlas
 BLAS=		-lptf77blas
 LAPACK =	-lalapack -lptcblas
 .endif
@@ -114,18 +113,18 @@ post-build:
 	done
 
 do-install:
-	@${MKDIR} ${PREFIX}/include/suitesparse
-	@${LN} -sf ${PREFIX}/include/suitesparse ${PREFIX}/include/ufsparse
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/suitesparse
+	@${LN} -sf ${PREFIX}/include/suitesparse ${STAGEDIR}${PREFIX}/include/ufsparse
 .for d in AMD BTF CAMD CCOLAMD CHOLMOD COLAMD CXSparse KLU SPQR UMFPACK
-	@${INSTALL_DATA} ${WRKSRC}/${d}/Include/*.h ${PREFIX}/include/suitesparse
+	@${INSTALL_DATA} ${WRKSRC}/${d}/Include/*.h ${STAGEDIR}${PREFIX}/include/suitesparse
 .endfor
-	@${INSTALL_DATA} ${WRKSRC}/SuiteSparse_config/SuiteSparse_config.h ${PREFIX}/include/suitesparse
-	@${INSTALL_DATA} ${WRKSRC}/UMFPACK/Source/umf_config.h ${PREFIX}/include/suitesparse
-	@${INSTALL_DATA} ${WRKSRC}/SPQR/Include/*.hpp ${PREFIX}/include/suitesparse
+	@${INSTALL_DATA} ${WRKSRC}/SuiteSparse_config/SuiteSparse_config.h ${STAGEDIR}${PREFIX}/include/suitesparse
+	@${INSTALL_DATA} ${WRKSRC}/UMFPACK/Source/umf_config.h ${STAGEDIR}${PREFIX}/include/suitesparse
+	@${INSTALL_DATA} ${WRKSRC}/SPQR/Include/*.hpp ${STAGEDIR}${PREFIX}/include/suitesparse
 	@for i in `find ${WRKSRC_SHARED} -type f -name '*.a'` ; do \
 		${INSTALL_DATA} ${WRKSRC}/$${i##${WRKSRC_SHARED}/} \
-		$${i%.a}.so.${SVERSION} ${PREFIX}/lib ; \
-		j=$${i##*/} ;  ${LN} -sf $${j%.a}.so.${SVERSION} ${PREFIX}/lib/$${j%.a}.so ; \
+		$${i%.a}.so.${SVERSION} ${STAGEDIR}${PREFIX}/lib ; \
+		j=$${i##*/} ;  ${LN} -sf $${j%.a}.so.${SVERSION} ${STAGEDIR}${PREFIX}/lib/$${j%.a}.so ; \
 	done
 
 .include <bsd.port.post.mk>

Modified: head/math/suitesparse/pkg-descr
==============================================================================
--- head/math/suitesparse/pkg-descr	Wed May 21 00:53:37 2014	(r354699)
+++ head/math/suitesparse/pkg-descr	Wed May 21 01:16:53 2014	(r354700)
@@ -12,4 +12,4 @@ It contains:
     * CSparse: a concise sparse matrix package
     * CXSparse: and extended version of CSparse 
 
-WWW:	http://www.cise.ufl.edu/research/sparse/SuiteSparse/
+WWW: http://www.cise.ufl.edu/research/sparse/SuiteSparse/


More information about the svn-ports-all mailing list