summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-03-24 22:40:22 +0000
committerjoerg <joerg@pkgsrc.org>2007-03-24 22:40:22 +0000
commit7d9d8c8fa31ab7962a11ea47049aa93358ab1b55 (patch)
tree169b7bc5855f6d1dc3a93c7e22f96de750035e68 /fonts
parentf2e058ca365f1bdcedf6ff14ade398aa4bae7a8a (diff)
downloadpkgsrc-7d9d8c8fa31ab7962a11ea47049aa93358ab1b55.tar.gz
As vera was shipped with monolithic Xorg and should be part of the
modular xorg fonts meta-package, make it DESTDIR-ready.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/vera-ttf/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/fonts/vera-ttf/Makefile b/fonts/vera-ttf/Makefile
index 68f7a2cf53d..ee44bfc0156 100644
--- a/fonts/vera-ttf/Makefile
+++ b/fonts/vera-ttf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/07/22 19:49:11 abs Exp $
+# $NetBSD: Makefile,v 1.12 2007/03/24 22:40:22 joerg Exp $
#
DISTNAME= ttf-bitstream-vera-1.10
@@ -12,18 +12,19 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnome.org/fonts/
COMMENT= Bitstream Vera TrueType fonts
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_X11BASE= YES
NO_CONFIGURE= YES
NO_BUILD= YES
+INSTALLATION_DIRS= lib/X11/fonts/TTF \
+ share/doc/vera-ttf share/examples/vera-ttf
FONTS_DIRS.ttf= ${PREFIX}/lib/X11/fonts/TTF
do-install:
- ${INSTALL_DATA_DIR} ${FONTS_DIRS.ttf}
- cd ${WRKSRC} && ${PAX} -rw -pm *.ttf ${FONTS_DIRS.ttf}
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vera-ttf
- ${INSTALL_DATA} ${WRKSRC}/local.conf ${PREFIX}/share/examples/vera-ttf
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vera-ttf
- cd ${WRKSRC} && ${INSTALL_DATA} *.TXT ${PREFIX}/share/doc/vera-ttf
+ cd ${WRKSRC} && ${PAX} -rw -pm *.ttf ${DESTDIR}${FONTS_DIRS.ttf}
+ ${INSTALL_DATA} ${WRKSRC}/local.conf ${DESTDIR}${PREFIX}/share/examples/vera-ttf
+ cd ${WRKSRC} && ${INSTALL_DATA} *.TXT ${DESTDIR}${PREFIX}/share/doc/vera-ttf
.include "../../mk/bsd.pkg.mk"