diff options
Diffstat (limited to 'fonts/efont-unicode/Makefile')
-rw-r--r-- | fonts/efont-unicode/Makefile | 8 |
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 |