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 | 411a468ce44836ba0dce72243b549d700f29037a (patch) | |
tree | ea772f1017a149bdf8c86107c24d16246695614e /math/fgmp | |
parent | a8d05d72830e3030fc1f7f00f4b39671102c05e6 (diff) | |
download | pkgsrc-411a468ce44836ba0dce72243b549d700f29037a.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'math/fgmp')
-rw-r--r-- | math/fgmp/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/math/fgmp/Makefile b/math/fgmp/Makefile index 79ae4f292df..77707648b85 100644 --- a/math/fgmp/Makefile +++ b/math/fgmp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/03/24 19:21:28 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/04 18:12:59 jlam Exp $ DISTNAME= fgmp-1.0b5-src-10.10 PKGNAME= fgmp-1.0b5 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-user@NetBSD.org HOMEPAGE= http://hpux.cs.utah.edu/hppd/hpux/Maths/Misc/fgmp-1.0b5/ COMMENT= Minimalist free re-implementation of GNU multi-precision routines +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} USE_LIBTOOL= yes NO_CONFIGURE= yes @@ -23,7 +25,8 @@ do-build: ) do-install: - cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_LIB} libfgmp.la ${PREFIX}/lib - ${INSTALL_DATA} ${WRKSRC}/gmp.h ${PREFIX}/include/fgmp.h + cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_LIB} libfgmp.la \ + ${DESTDIR}${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/gmp.h ${DESTDIR}${PREFIX}/include/fgmp.h .include "../../mk/bsd.pkg.mk" |