diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 20:17:11 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 20:17:11 +0000 |
commit | d6ccf8cf664251c9f27f0424467fbf2bd95a5cc6 (patch) | |
tree | f10a20ae369c1bb45808b6fa246faf206d89f420 /fonts/liberation-ttf | |
parent | 68013bbef21c9e93e6c34c2bbde20ba8a3d086e5 (diff) | |
download | pkgsrc-d6ccf8cf664251c9f27f0424467fbf2bd95a5cc6.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'fonts/liberation-ttf')
-rw-r--r-- | fonts/liberation-ttf/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fonts/liberation-ttf/Makefile b/fonts/liberation-ttf/Makefile index 1387fc22f63..ac80a529d69 100644 --- a/fonts/liberation-ttf/Makefile +++ b/fonts/liberation-ttf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/09/16 15:40:05 wiz Exp $ +# $NetBSD: Makefile,v 1.2 2008/03/03 20:17:12 jlam Exp $ # DISTNAME= liberation-fonts-ttf-3 @@ -10,6 +10,8 @@ MAINTAINER= bartosz.kuzma@gmail.com HOMEPAGE= http://www.redhat.com/promo/fonts/ COMMENT= TrueType fonts from RedHat +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= yes NO_CONFIGURE= yes @@ -23,9 +25,10 @@ INSTALLATION_DIRS= ${DOCDIR} ${FONTDIR} do-install: cd ${WRKSRC} && for f in *.ttf ; do \ - ${INSTALL_DATA} $$f ${FONTDIR}/$$f ; \ + ${INSTALL_DATA} $$f ${DESTDIR}${FONTDIR}/$$f ; \ done - ${INSTALL_DATA} ${WRKSRC}/COPYING ${WRKSRC}/License.txt ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/COPYING ${WRKSRC}/License.txt \ + ${DESTDIR}${DOCDIR} .include "../../mk/bsd.pkg.mk" |