summaryrefslogtreecommitdiff
path: root/fonts/mozilla-fonts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/mozilla-fonts/Makefile')
-rw-r--r--fonts/mozilla-fonts/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/fonts/mozilla-fonts/Makefile b/fonts/mozilla-fonts/Makefile
index a161f7d9c7b..d833a7cee95 100644
--- a/fonts/mozilla-fonts/Makefile
+++ b/fonts/mozilla-fonts/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2008/01/22 17:09:55 tnn Exp $
+# $NetBSD: Makefile,v 1.9 2009/07/08 16:57:05 joerg Exp $
DISTNAME= mozilla-fonts-1.0
PKGREVISION= 3
@@ -9,12 +9,15 @@ MAINTAINER= rxg@NetBSD.org
#HOMEPAGE= http://www.myrddin.demon.co.uk/dist/
COMMENT= Optimized fonts for Netscape/Mozilla
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= bdftopcf gzip
FONTS_DIRS.x11+= ${PREFIX}/lib/X11/fonts/Mozilla
REQD_DIRS+= ${PREFIX}/lib/X11/fonts/Mozilla
+INSTALLATION_DIRS= share/doc/mozilla-fonts
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mozilla-fonts
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mozilla-fonts
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/mozilla-fonts
.include "../../mk/bsd.pkg.mk"