summaryrefslogtreecommitdiff
path: root/math/quadpack
diff options
context:
space:
mode:
authorasau <asau@pkgsrc.org>2009-12-12 21:58:18 +0000
committerasau <asau@pkgsrc.org>2009-12-12 21:58:18 +0000
commit2e045c8460d0afc39f5bf02631be8fb267713c8b (patch)
tree29e39572745a02c964a834a2812cc321b29ae90f /math/quadpack
parent53d3bcc5574c0956f1cc00a49ada5540c1937c09 (diff)
downloadpkgsrc-2e045c8460d0afc39f5bf02631be8fb267713c8b.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