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/ja-sazanami-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/ja-sazanami-ttf')
-rw-r--r-- | fonts/ja-sazanami-ttf/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/fonts/ja-sazanami-ttf/Makefile b/fonts/ja-sazanami-ttf/Makefile index be240080194..83e22d4d146 100644 --- a/fonts/ja-sazanami-ttf/Makefile +++ b/fonts/ja-sazanami-ttf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2006/02/05 23:09:09 joerg Exp $ +# $NetBSD: Makefile,v 1.6 2008/03/03 20:17:12 jlam Exp $ DISTNAME= sazanami-${SAZANAMI_VERS} PKGNAME= ja-sazanami-ttf-${SAZANAMI_VERS} @@ -11,6 +11,8 @@ MAINTAINER= yamajun@ofug.net HOMEPAGE= http://wiki.fdiary.net/font/?sazanami COMMENT= Truly free Japanese TrueType font +PKG_DESTDIR_SUPPORT= user-destdir + SAZANAMI_VERS= 20040629 FONTS_DIRS.ttf= ${PREFIX}/lib/X11/fonts/TTF @@ -18,8 +20,10 @@ NO_BUILD= YES NO_CONFIGURE= YES do-install: - ${INSTALL_DATA_DIR} ${FONTS_DIRS.ttf} - ${INSTALL_DATA} ${WRKSRC}/sazanami-gothic.ttf ${FONTS_DIRS.ttf} - ${INSTALL_DATA} ${WRKSRC}/sazanami-mincho.ttf ${FONTS_DIRS.ttf} + ${INSTALL_DATA_DIR} ${DESTDIR}${FONTS_DIRS.ttf} + ${INSTALL_DATA} ${WRKSRC}/sazanami-gothic.ttf \ + ${DESTDIR}${FONTS_DIRS.ttf} + ${INSTALL_DATA} ${WRKSRC}/sazanami-mincho.ttf \ + ${DESTDIR}${FONTS_DIRS.ttf} .include "../../mk/bsd.pkg.mk" |