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/mkfontalias | |
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/mkfontalias')
-rw-r--r-- | fonts/mkfontalias/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fonts/mkfontalias/Makefile b/fonts/mkfontalias/Makefile index 8a93b08cee2..ceb54c5c7ac 100644 --- a/fonts/mkfontalias/Makefile +++ b/fonts/mkfontalias/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2006/02/05 23:09:10 joerg Exp $ +# $NetBSD: Makefile,v 1.9 2008/03/03 20:17:12 jlam Exp $ # DISTNAME= mkfontalias.py @@ -12,6 +12,8 @@ MAINTAINER= rxg@NetBSD.org HOMEPAGE= http://home.c2i.net/dark/linux.html#fuzzy COMMENT= Creates a fonts.alias from the fonts.dir for TrueType fonts +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} EXTRACT_ONLY= # empty NO_BUILD= yes @@ -23,7 +25,8 @@ do-extract: ${CP} ${_DISTDIR}/${DISTNAME} ${WRKSRC} do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/mkfontalias.py ${PREFIX}/bin/mkfontalias + ${INSTALL_SCRIPT} ${WRKSRC}/mkfontalias.py \ + ${DESTDIR}${PREFIX}/bin/mkfontalias .include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" |