diff options
Diffstat (limited to 'math/libffm/Makefile')
-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" |