summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2009-12-11 18:10:56 +0000
committerasau <asau@pkgsrc.org>2009-12-11 18:10:56 +0000
commit4b5004330ae602d5786609390da956c8fb6644da (patch)
treea2d2ce25aad0a32abf5ae4dbd936ffa974076190
parent44ea0d3c2cbff5c23d71442a9f82800ae4719e3b (diff)
downloadpkgsrc-4b5004330ae602d5786609390da956c8fb6644da.tar.gz
Support staged installation.
-rw-r--r--math/minpack/Makefile3
-rw-r--r--math/minpack/files/Makefile2
2 files changed, 3 insertions, 2 deletions
diff --git a/math/minpack/Makefile b/math/minpack/Makefile
index 6e622bad009..9b68eb331d6 100644
--- a/math/minpack/Makefile
+++ b/math/minpack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2009/12/03 13:06:55 asau Exp $
+# $NetBSD: Makefile,v 1.14 2009/12/11 18:10:56 asau Exp $
DISTNAME= minpack-20001130
PKGREVISION= 2
@@ -9,6 +9,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= FORTRAN 77 library for the solution of nonlinear equations
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
+PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= fortran
WRKSRC= ${WRKDIR}/minpack
diff --git a/math/minpack/files/Makefile b/math/minpack/files/Makefile
index 671fd46e00b..fcf5fc89130 100644
--- a/math/minpack/files/Makefile
+++ b/math/minpack/files/Makefile
@@ -16,7 +16,7 @@ lib$(LIB).a: $(OBJ)
$(RANLIB) $@
install: lib$(LIB).a
- $(BSD_INSTALL_DATA) $? $(LIBDIR)
+ $(BSD_INSTALL_DATA) $? $(DESTDIR)$(LIBDIR)
clean:
rm -f *.o lib$(LIB).a