summaryrefslogtreecommitdiff
path: root/fonts/jisx0213fonts
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 20:17:11 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 20:17:11 +0000
commitd6ccf8cf664251c9f27f0424467fbf2bd95a5cc6 (patch)
treef10a20ae369c1bb45808b6fa246faf206d89f420 /fonts/jisx0213fonts
parent68013bbef21c9e93e6c34c2bbde20ba8a3d086e5 (diff)
downloadpkgsrc-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/jisx0213fonts')
-rw-r--r--fonts/jisx0213fonts/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/fonts/jisx0213fonts/Makefile b/fonts/jisx0213fonts/Makefile
index 8d6eee5d050..c311618218f 100644
--- a/fonts/jisx0213fonts/Makefile
+++ b/fonts/jisx0213fonts/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2007/11/12 00:10:09 uebayasi Exp $
+# $NetBSD: Makefile,v 1.14 2008/03/03 20:17:12 jlam Exp $
#
DISTNAME= jisx0213fonts-0.0
@@ -11,6 +11,8 @@ MAINTAINER= uebayasi@NetBSD.org
HOMEPAGE= ftp://ftp.m17n.org/pub/character/fonts/imamura/jisx0213/
COMMENT= X11 bitmap fonts for JIS X 0213
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_X11BASE= yes
USE_TOOLS+= gzip
@@ -33,9 +35,9 @@ do-build:
done
do-install:
- @${INSTALL_DATA_DIR} ${FONTDIR}
+ @${INSTALL_DATA_DIR} ${DESTDIR}${FONTDIR}
@for f in ${FONTS}; do \
- ${INSTALL_DATA} ${WRKSRC}/$${f}.pcf.gz ${FONTDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/$${f}.pcf.gz ${DESTDIR}${FONTDIR}; \
done
.include "../../mk/bsd.pkg.mk"