pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/vera-ttf vera-ttf: use fonts.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1091eff8b2a1
branches:  trunk
changeset: 394131:1091eff8b2a1
user:      maya <maya%pkgsrc.org@localhost>
date:      Thu Apr 04 07:35:18 2019 +0000

description:
vera-ttf: use fonts.mk

bump PKGREVISION for paranoia.

diffstat:

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

diffs (39 lines):

diff -r 2f47c6058d5c -r 1091eff8b2a1 fonts/vera-ttf/Makefile
--- a/fonts/vera-ttf/Makefile   Thu Apr 04 07:34:59 2019 +0000
+++ b/fonts/vera-ttf/Makefile   Thu Apr 04 07:35:18 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2017/07/30 22:47:50 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2019/04/04 07:35:18 maya Exp $
 #
 
 # The "vera-ttf" package must always contain unmodified TTF files according
@@ -8,7 +8,7 @@
 
 DISTNAME=      ttf-bitstream-vera-1.10
 PKGNAME=       vera-ttf-1.10
-PKGREVISION=   5
+PKGREVISION=   6
 CATEGORIES=    fonts
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/ttf-bitstream-vera/1.10/}
 EXTRACT_SUFX=  .tar.bz2
@@ -18,18 +18,11 @@
 COMMENT=       Bitstream Vera TrueType fonts
 LICENSE=       vera-ttf-license
 
-NO_CONFIGURE=  YES
-NO_BUILD=      YES
-
-USE_TOOLS+=    pax
-
-INSTALLATION_DIRS=     share/fonts/X11/TTF \
-                       share/doc/vera-ttf share/examples/vera-ttf
-FONTS_DIRS.ttf=        ${PREFIX}/share/fonts/X11/TTF
+INSTALLATION_DIRS+=    share/doc/vera-ttf share/examples/vera-ttf
 
 do-install:
-       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/fonts.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index