summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorasau <asau>2009-12-12 19:43:41 +0000
committerasau <asau>2009-12-12 19:43:41 +0000
commitee385221f5234732d6ebed610ae6ee332345599e (patch)
tree015e8a26f8f33a1244dad49e817a4a0c41b1971e /math
parent94a8e95d311cfdd83b216d909ae2b7eaeb6d33b4 (diff)
downloadpkgsrc-ee385221f5234732d6ebed610ae6ee332345599e.tar.gz
Support staged installation.
Diffstat (limited to 'math')
-rw-r--r--math/fftpack/Makefile5
-rw-r--r--math/fftpack/files/Makefile2
2 files changed, 4 insertions, 3 deletions
diff --git a/math/fftpack/Makefile b/math/fftpack/Makefile
index 807b2d62579..48c4c7997e0 100644
--- a/math/fftpack/Makefile
+++ b/math/fftpack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2009/12/03 13:06:54 asau Exp $
+# $NetBSD: Makefile,v 1.17 2009/12/12 19:43:41 asau Exp $
DISTNAME= fftpack-20001130
PKGREVISION= 2
@@ -12,11 +12,12 @@ NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
USE_LANGUAGES= fortran
WRKSRC= ${WRKDIR}/fftpack
INSTALLATION_DIRS= lib share/doc/fftpack
+PKG_DESTDIR_SUPPORT= user-destdir
post-extract:
${CP} ${FILESDIR}/Makefile ${WRKSRC}
post-install:
- ${INSTALL_DATA} ${WRKSRC}/doc ${PREFIX}/share/doc/fftpack
+ ${INSTALL_DATA} ${WRKSRC}/doc ${DESTDIR}${PREFIX}/share/doc/fftpack
.include "../../mk/bsd.pkg.mk"
diff --git a/math/fftpack/files/Makefile b/math/fftpack/files/Makefile
index fd444e41daa..4584c8e4e01 100644
--- a/math/fftpack/files/Makefile
+++ b/math/fftpack/files/Makefile
@@ -19,7 +19,7 @@ lib$(LIB).a: $(OBJS)
$(RANLIB) $@
install: lib$(LIB).a
- $(BSD_INSTALL_DATA) $? $(LIBDIR)
+ $(BSD_INSTALL_LIB) $? $(DESTDIR)$(LIBDIR)
clean:
rm -f *.o lib$(LIB).a