diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/lapack/Makefile | 11 | ||||
-rw-r--r-- | math/lapack/pkg-plist | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/math/lapack/Makefile b/math/lapack/Makefile index 297d86c93a75..9b996e9ebd1c 100644 --- a/math/lapack/Makefile +++ b/math/lapack/Makefile @@ -17,6 +17,7 @@ MAINTAINER= jmz@FreeBSD.org DIST_SUBDIR= lapack INSTALLS_SHLIB= yes +PLIST= ${WRKDIR}/PLIST MANCOMPRESSED= maybe MANL= cbdsqr.l cgbbrd.l cgbcon.l cgbequ.l cgbmv.l cgbrfs.l cgbsv.l cgbsvx.l \ @@ -210,10 +211,20 @@ pre-fetch: .if !defined(ENABLE_TESTING) || ${ENABLE_TESTING} != "YES" @${ECHO} "Set ENABLE_TESTING to YES to enable testing and timing." .endif +pre-install: +.if !defined(NOPROFILE) + @${CAT} ${PKGDIR}/PLIST > ${PLIST} +.else + @${SED} -e /_p.a/d ${PKGDIR}/PLIST > ${PLIST} +.endif do-install: ${INSTALL_DATA} ${WRKSRC}/BLAS/SRC/libblas.* ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/SRC/liblapack.* ${PREFIX}/lib +.if !defined(NOPROFILE) + ${INSTALL_DATA} ${WRKSRC}/BLAS/SRC/libblas_p.a ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/SRC/liblapack_p.a ${PREFIX}/lib +.endif .if ${PORTOBJFORMAT} == "elf" ${LN} -sf libblas.so.2 ${PREFIX}/lib/libblas.so ${LN} -sf liblapack.so.3 ${PREFIX}/lib/liblapack.so diff --git a/math/lapack/pkg-plist b/math/lapack/pkg-plist index 144915e86cc3..053b446e064c 100644 --- a/math/lapack/pkg-plist +++ b/math/lapack/pkg-plist @@ -1,6 +1,8 @@ lib/libblas.a lib/libblas.so lib/libblas.so.2 +lib/libblas_p.a lib/liblapack.a lib/liblapack.so lib/liblapack.so.3 +lib/liblapack_p.a |