diff options
author | asau <asau@pkgsrc.org> | 2009-12-12 21:58:18 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2009-12-12 21:58:18 +0000 |
commit | 2e045c8460d0afc39f5bf02631be8fb267713c8b (patch) | |
tree | 29e39572745a02c964a834a2812cc321b29ae90f /math/dfftpack | |
parent | 53d3bcc5574c0956f1cc00a49ada5540c1937c09 (diff) | |
download | pkgsrc-2e045c8460d0afc39f5bf02631be8fb267713c8b.tar.gz |
Support staged installation.
Diffstat (limited to 'math/dfftpack')
-rw-r--r-- | math/dfftpack/Makefile | 7 | ||||
-rw-r--r-- | math/dfftpack/files/Makefile | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/math/dfftpack/Makefile b/math/dfftpack/Makefile index 3e1d3bc91e5..05ebae387ea 100644 --- a/math/dfftpack/Makefile +++ b/math/dfftpack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2009/12/03 13:06:54 asau Exp $ +# $NetBSD: Makefile,v 1.15 2009/12/12 22:14:34 asau Exp $ DISTNAME= dfftpack-20001209 PKGREVISION= 2 @@ -12,6 +12,7 @@ NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL USE_LANGUAGES= fortran WRKSRC= ${WRKDIR}/dfftpack +PKG_DESTDIR_SUPPORT= user-destdir INSTALLATION_DIRS= lib share/doc/dfftpack share/examples/dfftpack post-extract: @@ -19,7 +20,7 @@ post-extract: post-install: @for f in README doc doc.double ; do \ - ${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/dfftpack ; done - ${INSTALL_DATA} ${WRKSRC}/test.f ${PREFIX}/share/examples/dfftpack + ${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/share/doc/dfftpack ; done + ${INSTALL_DATA} ${WRKSRC}/test.f ${DESTDIR}${PREFIX}/share/examples/dfftpack .include "../../mk/bsd.pkg.mk" diff --git a/math/dfftpack/files/Makefile b/math/dfftpack/files/Makefile index 849b4f5a253..19e2c873d2b 100644 --- a/math/dfftpack/files/Makefile +++ b/math/dfftpack/files/Makefile @@ -17,7 +17,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 |