diff options
author | asau <asau@pkgsrc.org> | 2009-12-12 19:43:41 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2009-12-12 19:43:41 +0000 |
commit | dd783075dd5bb55a43405fab65c9044e61100333 (patch) | |
tree | 015e8a26f8f33a1244dad49e817a4a0c41b1971e /math/fftpack | |
parent | 96b3d92969f0f0a77433b8a16cc38553187c35d1 (diff) | |
download | pkgsrc-dd783075dd5bb55a43405fab65c9044e61100333.tar.gz |
Support staged installation.
Diffstat (limited to 'math/fftpack')
-rw-r--r-- | math/fftpack/Makefile | 5 | ||||
-rw-r--r-- | math/fftpack/files/Makefile | 2 |
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 |