diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 17:57:17 +0000 |
commit | a80fd13efc426f96e55870df48a2030daea0f14b (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /math/libffm | |
parent | 31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff) | |
download | pkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'math/libffm')
-rw-r--r-- | math/libffm/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/math/libffm/Makefile b/math/libffm/Makefile index c5878d16fcf..8d8b76ffd1d 100644 --- a/math/libffm/Makefile +++ b/math/libffm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2008/01/19 09:16:25 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/04 18:12:59 jlam Exp $ DISTNAME= libffm.0.28 PKGNAME= libffm-0.28 @@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Fast alpha-optimized replacement for some libm routines PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir USE_TOOLS+= gmake @@ -18,9 +19,9 @@ ONLY_FOR_PLATFORM= NetBSD-*-alpha INSTALLATION_DIRS= lib include do-install: - ${INSTALL_DATA} ${WRKSRC}/libffm.a ${PREFIX}/lib/libffm.a - ${INSTALL_DATA} ${WRKSRC}/libffm.h ${PREFIX}/include/libffm.h - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libffm - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libffm + ${INSTALL_DATA} ${WRKSRC}/libffm.a ${DESTDIR}${PREFIX}/lib/libffm.a + ${INSTALL_DATA} ${WRKSRC}/libffm.h ${DESTDIR}${PREFIX}/include/libffm.h + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/libffm + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/libffm .include "../../mk/bsd.pkg.mk" |