summaryrefslogtreecommitdiff
path: root/fonts/jisx0212fonts
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 20:17:11 +0000
committerjlam <jlam>2008-03-03 20:17:11 +0000
commit93da8714c36decac2f91167d5510d069789597e2 (patch)
treef10a20ae369c1bb45808b6fa246faf206d89f420 /fonts/jisx0212fonts
parent4c466bc0cfc7d41864f907ac04383df82c492609 (diff)
downloadpkgsrc-93da8714c36decac2f91167d5510d069789597e2.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'fonts/jisx0212fonts')
-rw-r--r--fonts/jisx0212fonts/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/fonts/jisx0212fonts/Makefile b/fonts/jisx0212fonts/Makefile
index c109bbda103..2740d34bde4 100644
--- a/fonts/jisx0212fonts/Makefile
+++ b/fonts/jisx0212fonts/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2007/11/12 00:10:09 uebayasi Exp $
+# $NetBSD: Makefile,v 1.18 2008/03/03 20:17:12 jlam Exp $
DISTNAME= jisx0212fonts-0.0
PKGREVISION= 2
@@ -11,6 +11,8 @@ DISTFILES= jisksp14.bdf.gz jisksp16-1990.bdf.Z min-1-24.bdf.gz \
MAINTAINER= uebayasi@NetBSD.org
COMMENT= X11 bitmap fonts for JIS X 0212
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_X11BASE= yes
WRKSRC= ${WRKDIR}
@@ -37,10 +39,10 @@ do-build:
done
do-install:
- ${INSTALL_DATA_DIR} ${FONTDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${FONTDIR}
set -e; \
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"