diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /math/superlu | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'math/superlu')
-rw-r--r-- | math/superlu/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/math/superlu/Makefile b/math/superlu/Makefile index ab049942be4..2d8af532771 100644 --- a/math/superlu/Makefile +++ b/math/superlu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2006/10/04 21:47:58 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2008/03/04 18:12:59 jlam Exp $ DISTNAME= superlu_3.0 PKGNAME= superlu-3.0.1 @@ -11,6 +11,8 @@ COMMENT= ANSI C routine library for the solution of sparse linear systems DEPENDS+= blas-[0-9]*:../../math/blas +PKG_DESTDIR_SUPPORT= user-destdir + BLAS_PREFIX_DEFAULT= ${LOCALBASE} EVAL_PREFIX+= BLAS_PREFIX=blas @@ -22,10 +24,10 @@ TEST_TARGET= all INSTALLATION_DIRS= lib do-install: - ${INSTALL_DATA} ${WRKSRC}/libsuperlu.a ${PREFIX}/lib - ${INSTALL_DATA_DIR} ${PREFIX}/include/superlu - ${INSTALL_DATA} ${WRKSRC}/SRC/*.h ${PREFIX}/include/superlu - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/superlu - ${INSTALL_DATA} ${WRKSRC}/INSTALL/ug.ps ${PREFIX}/share/doc/superlu + ${INSTALL_DATA} ${WRKSRC}/libsuperlu.a ${DESTDIR}${PREFIX}/lib + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/include/superlu + ${INSTALL_DATA} ${WRKSRC}/SRC/*.h ${DESTDIR}${PREFIX}/include/superlu + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/superlu + ${INSTALL_DATA} ${WRKSRC}/INSTALL/ug.ps ${DESTDIR}${PREFIX}/share/doc/superlu .include "../../mk/bsd.pkg.mk" |