summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorBrendan Fabeny <bf@FreeBSD.org>2014-07-07 18:54:17 +0000
committerBrendan Fabeny <bf@FreeBSD.org>2014-07-07 18:54:17 +0000
commit975e6d3af400ae3a4da9df9299882bb137cd536d (patch)
tree535785597281c710f8f63cc65a7087f20b2cfe09 /math
parent- Add staging support (diff)
Use staging; use gcc for spblas
Notes
Notes: svn path=/head/; revision=361117
Diffstat (limited to 'math')
-rw-r--r--math/cblas/Makefile13
-rw-r--r--math/cblas/pkg-descr2
-rw-r--r--math/spblas/Makefile14
3 files changed, 14 insertions, 15 deletions
diff --git a/math/cblas/Makefile b/math/cblas/Makefile
index 8b4a250f5e32..a8607a8c4c6a 100644
--- a/math/cblas/Makefile
+++ b/math/cblas/Makefile
@@ -33,7 +33,6 @@ WRKSRC_PROFILE = ${WRKSRC}_PROFILE
WRKSRC_SHARED= ${WRKSRC}_SHARED
WRKSRC_STATIC= ${WRKSRC}
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if make(makesum) || ${PORT_OPTIONS:MDOCS}
@@ -119,17 +118,17 @@ test-${o:tl}: build-${o:tl}
.endif
do-install:
- @${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include
+ @${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/include
.if ${PORT_OPTIONS:MSTATIC}
- @${INSTALL_DATA} ${WRKSRC}/lib/libcblas.a ${PREFIX}/lib
+ @${INSTALL_LIB} ${WRKSRC}/lib/libcblas.a ${STAGEDIR}${PREFIX}/lib
.endif
.if ${PORT_OPTIONS:MSHARED}
- @${INSTALL_DATA} ${WRKSRC_SHARED}/lib/libcblas.a ${PREFIX}/lib/libcblas_pic.a
- @${INSTALL_DATA} ${WRKSRC_SHARED}/lib/libcblas.so.${SVERSION} ${PREFIX}/lib
- @${LN} -sf libcblas.so.${SVERSION} ${PREFIX}/lib/libcblas.so
+ @${INSTALL_LIB} ${WRKSRC_SHARED}/lib/libcblas.a ${STAGEDIR}${PREFIX}/lib/libcblas_pic.a
+ @${INSTALL_LIB} ${WRKSRC_SHARED}/lib/libcblas.so.${SVERSION} ${STAGEDIR}${PREFIX}/lib
+ @${LN} -sf libcblas.so.${SVERSION} ${STAGEDIR}${PREFIX}/lib/libcblas.so
.endif
.if ${PORT_OPTIONS:MPROFILE}
- @${INSTALL_DATA} ${WRKSRC_PROFILE}/lib/libcblas.a ${PREFIX}/lib/libcblas_p.a
+ @${INSTALL_LIB} ${WRKSRC_PROFILE}/lib/libcblas.a ${STAGEDIR}${PREFIX}/lib/libcblas_p.a
.endif
.include <bsd.port.mk>
diff --git a/math/cblas/pkg-descr b/math/cblas/pkg-descr
index 7de8895f50ff..54347091074c 100644
--- a/math/cblas/pkg-descr
+++ b/math/cblas/pkg-descr
@@ -2,4 +2,4 @@ This is a reference implementation of the C interface to the legacy
Fortran Basic Linear Algebra Subprograms (BLAS), as described in
Annex B of the BLAS Technical Forum (BLAST) Standard.
-WWW: http://www.netlib.org/blas/blast-forum/
+WWW: http://www.netlib.org/blas/blast-forum/
diff --git a/math/spblas/Makefile b/math/spblas/Makefile
index 44b48625e60a..40bf1eb9179d 100644
--- a/math/spblas/Makefile
+++ b/math/spblas/Makefile
@@ -11,6 +11,7 @@ MAINTAINER= bf@FreeBSD.org
COMMENT= NIST Sparse Basic Linear Algebra Subprograms (BLAS)
USES= dos2unix zip
+USE_GCC= yes
USE_LDCONFIG= yes
HEADERS= blas_enum.h blas_sparse.h blas_sparse_proto.h
@@ -28,7 +29,6 @@ PLIST_FILES= ${HEADERS:S|^|${HDIR}/|} lib/libspblas.a lib/libspblas.so \
SHLIB_MAJOR= 1
SRCS= nist_spblas.cc
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPROFILE}
@@ -62,15 +62,15 @@ post-extract:
${WRKSRC}/Makefile
post-install:
- @${MKDIR} ${PREFIX}/${HDIR}
- @cd ${WRKSRC}; ${INSTALL_DATA} ${HEADERS} ${PREFIX}/${HDIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${HDIR}
+ @cd ${WRKSRC}; ${INSTALL_DATA} ${HEADERS} ${STAGEDIR}${PREFIX}/${HDIR}
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${_DISTDIR}/${PORTDOCS} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- @cd ${WRKSRC}; ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @cd ${WRKSRC}; ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>