summaryrefslogtreecommitdiff
path: root/math/quadpack
diff options
context:
space:
mode:
authorasau <asau>2009-12-12 21:58:18 +0000
committerasau <asau>2009-12-12 21:58:18 +0000
commit826ac6490597d4371d214a0d72b78b4489069054 (patch)
tree29e39572745a02c964a834a2812cc321b29ae90f /math/quadpack
parent617f53cde40b2aaab17467ed5a152be87d73efca (diff)
downloadpkgsrc-826ac6490597d4371d214a0d72b78b4489069054.tar.gz
Support staged installation.
Diffstat (limited to 'math/quadpack')
-rw-r--r--math/quadpack/Makefile5
-rw-r--r--math/quadpack/files/Makefile2
2 files changed, 4 insertions, 3 deletions
diff --git a/math/quadpack/Makefile b/math/quadpack/Makefile
index 612c6fc5164..6567a19761a 100644
--- a/math/quadpack/Makefile
+++ b/math/quadpack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2009/12/03 13:06:55 asau Exp $
+# $NetBSD: Makefile,v 1.16 2009/12/12 22:52:57 asau Exp $
DISTNAME= quadpack-20001130
PKGREVISION= 2
@@ -12,12 +12,13 @@ NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
USE_LANGUAGES= fortran
WRKSRC= ${WRKDIR}/quadpack
+PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= lib share/doc/quadpack
pre-build:
${CP} ${FILESDIR}/Makefile ${WRKSRC}
post-install:
- cd ${WRKSRC} && ${INSTALL_DATA} doc readme ${PREFIX}/share/doc/quadpack
+ cd ${WRKSRC} && ${INSTALL_DATA} doc readme ${DESTDIR}${PREFIX}/share/doc/quadpack
.include "../../mk/bsd.pkg.mk"
diff --git a/math/quadpack/files/Makefile b/math/quadpack/files/Makefile
index a22ea3a0725..7613008036c 100644
--- a/math/quadpack/files/Makefile
+++ b/math/quadpack/files/Makefile
@@ -21,7 +21,7 @@ lib$(LIB).a: $(OBJS)
$(RANLIB) $@
install: lib$(LIB).a
- $(BSD_INSTALL_DATA) $? $(LIBDIR)
+ $(BSD_INSTALL_DATA) $? $(DESTDIR)$(LIBDIR)
clean:
rm -f *.o lib$(LIB).a