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/dejavu-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/dejavu-ttf')
-rw-r--r-- | fonts/dejavu-ttf/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fonts/dejavu-ttf/Makefile b/fonts/dejavu-ttf/Makefile index bda3d20c065..31cb3469f1e 100644 --- a/fonts/dejavu-ttf/Makefile +++ b/fonts/dejavu-ttf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/11/29 22:51:06 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2008/03/03 20:17:12 jlam Exp $ # DISTNAME= dejavu-ttf-2.21 @@ -10,6 +10,8 @@ MAINTAINER= jakllsch@kollasch.net HOMEPAGE= http://dejavu.sourceforge.net/ COMMENT= DejaVu family of TrueType fonts +PKG_DESTDIR_SUPPORT= user-destdir + USE_X11BASE= yes NO_CONFIGURE= yes NO_BUILD= yes @@ -19,8 +21,9 @@ FONTS_DIRS.ttf+= ${PREFIX}/lib/X11/fonts/TTF INSTALLATION_DIRS= lib/X11/fonts/TTF share/doc/dejavu-ttf do-install: - cd ${WRKSRC} && ${PAX} -rw -pm *.ttf ${PREFIX}/lib/X11/fonts/TTF/ + cd ${WRKSRC} && ${PAX} -rw -pm *.ttf \ + ${DESTDIR}${PREFIX}/lib/X11/fonts/TTF/ cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS BUGS LICENSE NEWS README \ - ${PREFIX}/share/doc/dejavu-ttf + ${DESTDIR}${PREFIX}/share/doc/dejavu-ttf .include "../../mk/bsd.pkg.mk" |