pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/eispack Support staged installation.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f32bfddbc85b
branches:  trunk
changeset: 568357:f32bfddbc85b
user:      asau <asau%pkgsrc.org@localhost>
date:      Fri Dec 11 17:36:50 2009 +0000

description:
Support staged installation.

diffstat:

 math/eispack/Makefile       |  4 +++-
 math/eispack/files/Makefile |  2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (30 lines):

diff -r d13c947c8968 -r f32bfddbc85b math/eispack/Makefile
--- a/math/eispack/Makefile     Fri Dec 11 17:36:36 2009 +0000
+++ b/math/eispack/Makefile     Fri Dec 11 17:36:50 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2009/12/03 13:06:54 asau Exp $
+# $NetBSD: Makefile,v 1.15 2009/12/11 17:36:50 asau Exp $
 
 DISTNAME=              eispack-20001130
 PKGREVISION=           2
@@ -8,6 +8,8 @@
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 COMMENT=               Fortran routines for the solution of eigenvalue problems
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 NO_SRC_ON_FTP=         Already in MASTER_SITE_LOCAL
 USE_LANGUAGES=         fortran
 WRKSRC=                        ${WRKDIR}/eispack
diff -r d13c947c8968 -r f32bfddbc85b math/eispack/files/Makefile
--- a/math/eispack/files/Makefile       Fri Dec 11 17:36:36 2009 +0000
+++ b/math/eispack/files/Makefile       Fri Dec 11 17:36:50 2009 +0000
@@ -21,7 +21,7 @@
        $(RANLIB) $@
 
 install:       lib$(LIB).a
-       $(BSD_INSTALL_DATA) lib$(LIB).a $(LIBDIR)
+       $(BSD_INSTALL_DATA) lib$(LIB).a $(DESTDIR)$(LIBDIR)
 
 clean:
        rm -f *.o lib$(LIB).a



Home | Main Index | Thread Index | Old Index