summaryrefslogtreecommitdiff
path: root/fonts/efont-unicode
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/efont-unicode
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/efont-unicode')
-rw-r--r--fonts/efont-unicode/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/fonts/efont-unicode/Makefile b/fonts/efont-unicode/Makefile
index 3440ba5bcb6..b2bfd66c512 100644
--- a/fonts/efont-unicode/Makefile
+++ b/fonts/efont-unicode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/02/05 23:09:09 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/03 20:17:12 jlam Exp $
DISTNAME= efont-unicode-bdf-0.4.2
PKGNAME= ${DISTNAME:S/-bdf//}
@@ -11,6 +11,8 @@ MAINTAINER= uebayasi@NetBSD.org
HOMEPAGE= http://openlab.ring.gr.jp/efont/unicode/
COMMENT= Free unicode BDF font
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_X11BASE= YES
USE_TOOLS+= bdftopcf gzip
@@ -41,11 +43,11 @@ do-build:
done
do-install:
- @${INSTALL_DATA_DIR} ${PREFIX}/${FONTDIR}
+ @${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${FONTDIR}
@for FONT in ${FONTS}; do \
${ECHO} -n "Installing font $${FONT} ... "; \
${INSTALL_DATA} ${WRKSRC}/$${FONT}.pcf.gz \
- ${PREFIX}/${FONTDIR}; \
+ ${DESTDIR}${PREFIX}/${FONTDIR}; \
${ECHO} "done"; \
done