diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
commit | 39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 (patch) | |
tree | 49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/figlet-fonts | |
parent | 0523c1825d9b781d6f10c2ef70daf0a164e0f142 (diff) | |
download | pkgsrc-39843c2c61acd3e8f1b7d0fa6eb0f76884067d10.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'misc/figlet-fonts')
-rw-r--r-- | misc/figlet-fonts/Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/misc/figlet-fonts/Makefile b/misc/figlet-fonts/Makefile index caad1223e20..6edc90b4b78 100644 --- a/misc/figlet-fonts/Makefile +++ b/misc/figlet-fonts/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2007/02/22 19:26:49 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/04 19:21:11 jlam Exp $ # DISTNAME= figlet-fonts-20021023 @@ -13,6 +13,8 @@ COMMENT= Additional fonts for figlet DEPENDS+= figlet-[0-9]*:../../misc/figlet +PKG_DESTDIR_SUPPORT= user-destdir + DIST_SUBDIR= ${DISTNAME} NO_CONFIGURE= yes NO_BUILD= yes @@ -29,14 +31,16 @@ post-extract: do-install: cd ${WRKDIR}/contributed && \ - ${INSTALL_DATA} *.fl* *.txt ${PREFIX}/share/figlet + ${INSTALL_DATA} *.fl* *.txt ${DESTDIR}${PREFIX}/share/figlet cd ${WRKDIR}/contributed/bdffonts && \ - ${INSTALL_DATA} *.* ${PREFIX}/share/figlet + ${INSTALL_DATA} *.* ${DESTDIR}${PREFIX}/share/figlet cd ${WRKDIR}/contributed/C64-fonts && \ - ${INSTALL_DATA} *.* ${PREFIX}/share/figlet + ${INSTALL_DATA} *.* ${DESTDIR}${PREFIX}/share/figlet cd ${WRKDIR}/international && \ - ${INSTALL_DATA} *.* ${PREFIX}/share/figlet - ${INSTALL_SCRIPT} ${WRKDIR}/international/febrew ${PREFIX}/bin - ${INSTALL_DATA} ${WRKDIR}/ms-dos/dosrebel.flf ${PREFIX}/share/figlet + ${INSTALL_DATA} *.* ${DESTDIR}${PREFIX}/share/figlet + ${INSTALL_SCRIPT} ${WRKDIR}/international/febrew \ + ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKDIR}/ms-dos/dosrebel.flf \ + ${DESTDIR}${PREFIX}/share/figlet .include "../../mk/bsd.pkg.mk" |