summaryrefslogtreecommitdiff
path: root/fonts/ja-naga10
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/ja-naga10
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/ja-naga10')
-rw-r--r--fonts/ja-naga10/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/fonts/ja-naga10/Makefile b/fonts/ja-naga10/Makefile
index 0bf83e45f50..2f2f2c0f1a7 100644
--- a/fonts/ja-naga10/Makefile
+++ b/fonts/ja-naga10/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/03/24 19:21:23 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2008/03/03 20:17:12 jlam Exp $
DISTNAME= knj10-1.1
PKGNAME= ja-naga10-1.1
@@ -12,6 +12,8 @@ MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://hp.vector.co.jp/authors/VA013391/fonts/#naga10
COMMENT= 10x10 dots X11 bitmap font for JIS X 0208
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_X11BASE= YES
USE_TOOLS+= bdftopcf gzip patch
DOCDIR= ${PREFIX}/share/doc
@@ -40,7 +42,7 @@ do-build:
done
do-install:
- ${INSTALL_DATA} ${WRKSRC}/README.* ${DOCDIR}; \
- ${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${FONTDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.* ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${DESTDIR}${FONTDIR}
.include "../../mk/bsd.pkg.mk"