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/un-core-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/un-core-ttf')
-rw-r--r-- | fonts/un-core-ttf/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fonts/un-core-ttf/Makefile b/fonts/un-core-ttf/Makefile index 446de17f0e4..74e89c2f6ad 100644 --- a/fonts/un-core-ttf/Makefile +++ b/fonts/un-core-ttf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2006/02/05 23:09:11 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2008/03/03 20:17:12 jlam Exp $ DISTNAME= un-fonts-core-${UN_CORE_VER} PKGNAME= un-core-ttf-${UN_CORE_VER} @@ -14,6 +14,8 @@ CONFLICTS+= un-ttf-[0-9]* UN_CORE_VER= 1.0 +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/un-fonts USE_X11BASE= yes NO_CONFIGURE= yes @@ -22,7 +24,7 @@ NO_BUILD= yes FONTS_DIRS.ttf= ${PREFIX}/lib/X11/fonts/TTF do-install: - ${INSTALL_DATA_DIR} ${FONTS_DIRS.ttf} - ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTS_DIRS.ttf} + ${INSTALL_DATA_DIR} ${DESTDIR}${FONTS_DIRS.ttf} + ${INSTALL_DATA} ${WRKSRC}/*.ttf ${DESTDIR}${FONTS_DIRS.ttf} .include "../../mk/bsd.pkg.mk" |