pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/vera-ttf As vera was shipped with monolithic Xor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7db9ca684e71
branches:  trunk
changeset: 527131:7db9ca684e71
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Mar 24 22:40:22 2007 +0000

description:
As vera was shipped with monolithic Xorg and should be part of the
modular xorg fonts meta-package, make it DESTDIR-ready.

diffstat:

 fonts/vera-ttf/Makefile |  15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r 90343de58ea9 -r 7db9ca684e71 fonts/vera-ttf/Makefile
--- a/fonts/vera-ttf/Makefile   Sat Mar 24 21:52:51 2007 +0000
+++ b/fonts/vera-ttf/Makefile   Sat Mar 24 22:40:22 2007 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index