diff options
author | jlam <jlam> | 2008-03-04 19:21:10 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-04 19:21:10 +0000 |
commit | 476429c9f7b93362ea027fafcaa1bb835868c0d1 (patch) | |
tree | 49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/figlet-fonts | |
parent | df44780831cf4dadccea821bb560fbdd11bda60b (diff) | |
download | pkgsrc-476429c9f7b93362ea027fafcaa1bb835868c0d1.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" |