pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/fftpack Support staged installation.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ac1ad2ddc31f
branches: trunk
changeset: 568409:ac1ad2ddc31f
user: asau <asau%pkgsrc.org@localhost>
date: Sat Dec 12 19:43:41 2009 +0000
description:
Support staged installation.
diffstat:
math/fftpack/Makefile | 5 +++--
math/fftpack/files/Makefile | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 36ee5696da53 -r ac1ad2ddc31f math/fftpack/Makefile
--- a/math/fftpack/Makefile Sat Dec 12 19:39:24 2009 +0000
+++ b/math/fftpack/Makefile Sat Dec 12 19:43:41 2009 +0000
@@ -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 @@
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 -r 36ee5696da53 -r ac1ad2ddc31f math/fftpack/files/Makefile
--- a/math/fftpack/files/Makefile Sat Dec 12 19:39:24 2009 +0000
+++ b/math/fftpack/files/Makefile Sat Dec 12 19:43:41 2009 +0000
@@ -19,7 +19,7 @@
$(RANLIB) $@
install: lib$(LIB).a
- $(BSD_INSTALL_DATA) $? $(LIBDIR)
+ $(BSD_INSTALL_LIB) $? $(DESTDIR)$(LIBDIR)
clean:
rm -f *.o lib$(LIB).a
Home |
Main Index |
Thread Index |
Old Index