pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/sourcesans-fonts Install these font...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f900f4bb72bf
branches:  trunk
changeset: 306959:f900f4bb72bf
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Apr 29 21:09:08 2018 +0000
description:
Install these fonts into the standard location and generates fonts.dir.
Bump PKGREVISION.

diffstat:

 fonts/sourcesans-fonts/Makefile |  10 ++++++----
 fonts/sourcesans-fonts/PLIST    |  26 +++++++++++++-------------
 2 files changed, 19 insertions(+), 17 deletions(-)

diffs (58 lines):

diff -r 0d80d4a23f3d -r f900f4bb72bf fonts/sourcesans-fonts/Makefile
--- a/fonts/sourcesans-fonts/Makefile   Sun Apr 29 21:07:38 2018 +0000
+++ b/fonts/sourcesans-fonts/Makefile   Sun Apr 29 21:09:08 2018 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2017/01/14 11:47:11 ryoon Exp $
+# $NetBSD: Makefile,v 1.8 2018/04/29 21:09:08 ryoon Exp $
 
 DISTNAME=      source-sans-pro-2.020R-ro-1.075R-it
 PKGNAME=       sourcesans-fonts-2.020
+PKGREVISION=   1
 CATEGORIES=    fonts
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=adobe-fonts/}
 GITHUB_PROJECT=        source-sans-pro
@@ -17,10 +18,11 @@
 
 USE_LANGUAGES= # none
 NO_BUILD=      yes
-FONTS_DIR=     ${PREFIX}/share/fonts/sourcesans
-INSTALLATION_DIRS=     share/fonts/sourcesans
+FONTSDIR=      ${PREFIX}/share/fonts/X11/TTF
+FONTS_DIRS.ttf=        ${FONTSDIR}
+INSTALLATION_DIRS=     share/fonts/X11/TTF
 
 do-install:
-       ${INSTALL_DATA} ${WRKSRC}/OTF/*.otf  ${DESTDIR}${FONTS_DIR}
+       ${INSTALL_DATA} ${WRKSRC}/OTF/*.otf  ${DESTDIR}${FONTSDIR}
 
 .include "../../mk/bsd.pkg.mk"
diff -r 0d80d4a23f3d -r f900f4bb72bf fonts/sourcesans-fonts/PLIST
--- a/fonts/sourcesans-fonts/PLIST      Sun Apr 29 21:07:38 2018 +0000
+++ b/fonts/sourcesans-fonts/PLIST      Sun Apr 29 21:09:08 2018 +0000
@@ -1,13 +1,13 @@
-@comment $NetBSD: PLIST,v 1.1 2012/08/06 14:27:49 ryoon Exp $
-share/fonts/sourcesans/SourceSansPro-Black.otf
-share/fonts/sourcesans/SourceSansPro-BlackIt.otf
-share/fonts/sourcesans/SourceSansPro-Bold.otf
-share/fonts/sourcesans/SourceSansPro-BoldIt.otf
-share/fonts/sourcesans/SourceSansPro-ExtraLight.otf
-share/fonts/sourcesans/SourceSansPro-ExtraLightIt.otf
-share/fonts/sourcesans/SourceSansPro-It.otf
-share/fonts/sourcesans/SourceSansPro-Light.otf
-share/fonts/sourcesans/SourceSansPro-LightIt.otf
-share/fonts/sourcesans/SourceSansPro-Regular.otf
-share/fonts/sourcesans/SourceSansPro-Semibold.otf
-share/fonts/sourcesans/SourceSansPro-SemiboldIt.otf
+@comment $NetBSD: PLIST,v 1.2 2018/04/29 21:09:08 ryoon Exp $
+share/fonts/X11/TTF/SourceSansPro-Black.otf
+share/fonts/X11/TTF/SourceSansPro-BlackIt.otf
+share/fonts/X11/TTF/SourceSansPro-Bold.otf
+share/fonts/X11/TTF/SourceSansPro-BoldIt.otf
+share/fonts/X11/TTF/SourceSansPro-ExtraLight.otf
+share/fonts/X11/TTF/SourceSansPro-ExtraLightIt.otf
+share/fonts/X11/TTF/SourceSansPro-It.otf
+share/fonts/X11/TTF/SourceSansPro-Light.otf
+share/fonts/X11/TTF/SourceSansPro-LightIt.otf
+share/fonts/X11/TTF/SourceSansPro-Regular.otf
+share/fonts/X11/TTF/SourceSansPro-Semibold.otf
+share/fonts/X11/TTF/SourceSansPro-SemiboldIt.otf



Home | Main Index | Thread Index | Old Index