diff options
author | joerg <joerg@pkgsrc.org> | 2008-03-15 14:18:39 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-03-15 14:18:39 +0000 |
commit | e239abca8f4ccaca9973fc8cd4570722ba730c99 (patch) | |
tree | 9fd5192e3d2cdc769d1510a2aa9b69051e599bf4 | |
parent | cf16b1edd252b9ac14eac8761be16cb5f11dfc1d (diff) | |
download | pkgsrc-e239abca8f4ccaca9973fc8cd4570722ba730c99.tar.gz |
DESTDIR support.
-rw-r--r-- | math/fftwf/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/math/fftwf/Makefile b/math/fftwf/Makefile index 7b7fed00e11..c1af6a9e64d 100644 --- a/math/fftwf/Makefile +++ b/math/fftwf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2006/11/15 01:11:13 wulf Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/15 14:18:39 joerg Exp $ .if (${MACHINE_ARCH} == "powerpc") DISTNAME= fftw-3.1.2-fma @@ -14,6 +14,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.fftw.org/ COMMENT= Collection of fast C routines to compute DFTs +PKG_DESTDIR_SUPPORT= user-destdir + USE_LIBTOOL= yes PKGCONFIG_OVERRIDE+= fftw.pc.in GNU_CONFIGURE= yes @@ -32,12 +34,14 @@ USE_TOOLS+= gmake TEST_TARGET= check INSTALLATION_DIRS= ${PKGMANDIR}/man1 +INSTALL_TARGET= install-libLTLIBRARIES install-pkgconfigDATA -do-install: - gmake -C ${WRKSRC} install-libLTLIBRARIES - gmake -C ${WRKSRC} install-pkgconfigDATA - gmake -C ${WRKSRC}/tools install-binPROGRAMS +post-install: + cd ${WRKSRC}/tools && \ + ${SETENV} ${INSTALL_ENV} ${MAKE_ENV} \ + ${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_MAKE_FLAGS} \ + install-binPROGRAMS ${INSTALL_MAN} ${WRKSRC}/tools/fftwf-wisdom.1 \ - ${PREFIX}/${PKGMANDIR}/man1 + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |