summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-03 07:12:24 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-03 07:12:24 +0000
commit166e92758f40d243e8461dc9e51a7950a6d9c6fc (patch)
treeadad21a6f3ffd99ae142f3aee6e93d9a8d019025 /fonts
parentf0f238c0cfb529be13cde836f311f7c2a437f652 (diff)
downloadpkgsrc-166e92758f40d243e8461dc9e51a7950a6d9c6fc.tar.gz
DESTDIR support.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/fontconfig/Makefile3
-rw-r--r--fonts/gentium-ttf/Makefile15
2 files changed, 11 insertions, 7 deletions
diff --git a/fonts/fontconfig/Makefile b/fonts/fontconfig/Makefile
index 89a8da1bc13..c61a4af1a60 100644
--- a/fonts/fontconfig/Makefile
+++ b/fonts/fontconfig/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2006/10/03 18:16:13 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2006/11/03 07:13:31 joerg Exp $
DISTNAME= fontconfig-2.4.1
CATEGORIES= fonts
@@ -9,6 +9,7 @@ HOMEPAGE= http://www.fontconfig.org/
COMMENT= Library for configuring and customizing font access
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
diff --git a/fonts/gentium-ttf/Makefile b/fonts/gentium-ttf/Makefile
index c7ff360be80..d8aa589ca19 100644
--- a/fonts/gentium-ttf/Makefile
+++ b/fonts/gentium-ttf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/05/26 21:12:59 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2006/11/03 07:13:31 joerg Exp $
#
DISTNAME= Gentium_102_W
@@ -12,6 +12,8 @@ MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://scripts.sil.org/
COMMENT= Free TrueType fonts from Bitstream, useful for web viewing
+PKG_DESTDIR_SUPPORT= user-destdir
+
MASTER_SITES= ${MASTER_SITE_LOCAL}
NO_CONFIGURE= YES
@@ -19,11 +21,12 @@ NO_BUILD= YES
FONTS_DIRS.ttf+= ${PREFIX}/lib/X11/fonts/TTF
+INSTALLATION_DIRS= lib/X11/fonts/TTF
+
do-install:
- ${INSTALL_DATA_DIR} ${FONTS_DIRS.ttf}
- ${INSTALL_DATA} ${WRKSRC}/GenAI102.TTF ${FONTS_DIRS.ttf}/genai102.ttf
- ${INSTALL_DATA} ${WRKSRC}/GenAR102.TTF ${FONTS_DIRS.ttf}/genar102.ttf
- ${INSTALL_DATA} ${WRKSRC}/GenI102.TTF ${FONTS_DIRS.ttf}/geni102.ttf
- ${INSTALL_DATA} ${WRKSRC}/GenR102.TTF ${FONTS_DIRS.ttf}/genr102.ttf
+ ${INSTALL_DATA} ${WRKSRC}/GenAI102.TTF ${DESTDIR}${FONTS_DIRS.ttf}/genai102.ttf
+ ${INSTALL_DATA} ${WRKSRC}/GenAR102.TTF ${DESTDIR}${FONTS_DIRS.ttf}/genar102.ttf
+ ${INSTALL_DATA} ${WRKSRC}/GenI102.TTF ${DESTDIR}${FONTS_DIRS.ttf}/geni102.ttf
+ ${INSTALL_DATA} ${WRKSRC}/GenR102.TTF ${DESTDIR}${FONTS_DIRS.ttf}/genr102.ttf
.include "../../mk/bsd.pkg.mk"