diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1998-11-14 09:43:39 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1998-11-14 09:43:39 +0000 |
commit | 96bc8048c3217bb231f2f30eadeb628134b557f5 (patch) | |
tree | c75d5bd5a6faba5d6ec73da367e4bfe5b0d4285d /math/lapack | |
parent | Checksum changed.... (diff) |
Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change
shell loops to make loops. Use EXTRA_PKG_FLAGS to add install scripts
instead of adding it to PKG_FLAGS after bsd.port.mk.
Notes
Notes:
svn path=/head/; revision=14512
Diffstat (limited to 'math/lapack')
-rw-r--r-- | math/lapack/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/math/lapack/Makefile b/math/lapack/Makefile index caa193bada9c..f7feec1fcdef 100644 --- a/math/lapack/Makefile +++ b/math/lapack/Makefile @@ -3,7 +3,7 @@ # Date created: 2 July 1994 # Whom: jmz # -# $Id: Makefile,v 1.8 1998/08/25 02:26:19 asami Exp $ +# $Id: Makefile,v 1.9 1998/09/27 20:08:00 steve Exp $ # DISTNAME= LAPACK @@ -181,18 +181,20 @@ MANL= cgbmv.l cgemm.l cgemv.l cgerc.l cgeru.l chbmv.l chemm.l chemv.l \ zungtr.l zunm2l.l zunm2r.l zunmbr.l zunmhr.l zunml2.l zunmlq.l \ zunmql.l zunmqr.l zunmr2.l zunmrq.l zunmtr.l zupgtr.l zupmtr.l \ +.include <bsd.port.pre.mk> + do-install: ${INSTALL_DATA} ${WRKSRC}/BLAS/SRC/libblas.* ${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/SRC/liblapack.* ${PREFIX}/lib - if [ "${PORTOBJFORMAT}" = "elf" ]; then \ - ${LN} -sf libblas.so.2 ${PREFIX}/lib/libblas.so; \ - ${LN} -sf liblapack.so.2 ${PREFIX}/lib/liblapack.so; \ - else \ - ${LN} -sf libblas.so.2.0 ${PREFIX}/lib/libblas.so; \ - ${LN} -sf liblapack.so.2.0 ${PREFIX}/lib/liblapack.so; \ - fi +.if ${PORTOBJFORMAT} == "elf" + ${LN} -sf libblas.so.2 ${PREFIX}/lib/libblas.so + ${LN} -sf liblapack.so.2 ${PREFIX}/lib/liblapack.so +.else + ${LN} -sf libblas.so.2.0 ${PREFIX}/lib/libblas.so + ${LN} -sf liblapack.so.2.0 ${PREFIX}/lib/liblapack.so +.endif ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib ${INSTALL_MAN} ${WRKDIR}/blas/man/manl/*.l ${PREFIX}/man/manl ${INSTALL_MAN} ${WRKDIR}/man/manl/*.l ${PREFIX}/man/manl -.include <bsd.port.mk> +.include <bsd.port.post.mk> |