pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/roboto-fonts roboto-fonts: convert to fonts.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f39d5349686
branches:  trunk
changeset: 394206:0f39d5349686
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Apr 06 08:57:04 2019 +0000

description:
roboto-fonts: convert to fonts.mk

diffstat:

 fonts/roboto-fonts/Makefile |  36 ++----------------------------------
 1 files changed, 2 insertions(+), 34 deletions(-)

diffs (48 lines):

diff -r ef2d44017a67 -r 0f39d5349686 fonts/roboto-fonts/Makefile
--- a/fonts/roboto-fonts/Makefile       Sat Apr 06 08:56:01 2019 +0000
+++ b/fonts/roboto-fonts/Makefile       Sat Apr 06 08:57:04 2019 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2015/09/23 11:34:16 ryoon Exp $
-#
+# $NetBSD: Makefile,v 1.8 2019/04/06 08:57:04 wiz Exp $
 
 DISTNAME=      roboto-fonts-20150923
 CATEGORIES=    fonts
@@ -10,36 +9,5 @@
 COMMENT=       Roboto font family from Google's Android
 LICENSE=       apache-2.0
 
-USE_LANGUAGES= # none
-NO_BUILD=      yes
-
-FONTDIR=       ${PREFIX}/share/fonts/X11/TTF
-FONTS_DIRS.ttf=        ${FONTDIR}
-
-INSTALLATION_DIRS=     share/fonts/X11/TTF
-
-INSTALL_FONTS= Roboto-Black.ttf \
-               Roboto-BlackItalic.ttf \
-               Roboto-Bold.ttf \
-               Roboto-BoldItalic.ttf \
-               Roboto-Italic.ttf \
-               Roboto-Light.ttf \
-               Roboto-LightItalic.ttf \
-               Roboto-Medium.ttf \
-               Roboto-MediumItalic.ttf \
-               Roboto-Regular.ttf \
-               Roboto-Thin.ttf \
-               Roboto-ThinItalic.ttf \
-               RobotoCondensed-Bold.ttf \
-               RobotoCondensed-BoldItalic.ttf \
-               RobotoCondensed-Italic.ttf \
-               RobotoCondensed-Light.ttf \
-               RobotoCondensed-LightItalic.ttf \
-               RobotoCondensed-Regular.ttf
-
-do-install:
-.for i in ${INSTALL_FONTS}
-       ${INSTALL_DATA} ${WRKSRC}/${i} ${DESTDIR}${FONTDIR}
-.endfor
-
+.include "../../mk/fonts.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index