pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/sourcecodepro-fonts Install these fonts into the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a46b492fd58b
branches:  trunk
changeset: 379394:a46b492fd58b
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Apr 29 21:07:38 2018 +0000

description:
Install these fonts into the standard location. Bump PKGREVISION

diffstat:

 fonts/sourcecodepro-fonts/Makefile |  10 ++++++----
 fonts/sourcecodepro-fonts/PLIST    |  30 +++++++++++++++---------------
 2 files changed, 21 insertions(+), 19 deletions(-)

diffs (61 lines):

diff -r 8b23d82a4cc7 -r a46b492fd58b fonts/sourcecodepro-fonts/Makefile
--- a/fonts/sourcecodepro-fonts/Makefile        Sun Apr 29 21:07:07 2018 +0000
+++ b/fonts/sourcecodepro-fonts/Makefile        Sun Apr 29 21:07:38 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2016/12/03 02:26:54 khorben Exp $
+# $NetBSD: Makefile,v 1.8 2018/04/29 21:07:38 ryoon Exp $
 
 DISTNAME=      sourcecodepro-fonts-1.050
+PKGREVISION=   1
 CATEGORIES=    fonts
 MASTER_SITES=  https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/
 DISTFILES=     1.050R-it.tar.gz
@@ -15,10 +16,11 @@
 
 USE_LANGUAGES= # none
 NO_BUILD=      yes
-FONTS_DIR=     ${PREFIX}/share/fonts/sourcecodepro
-INSTALLATION_DIRS=     share/fonts/sourcecodepro
+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 8b23d82a4cc7 -r a46b492fd58b fonts/sourcecodepro-fonts/PLIST
--- a/fonts/sourcecodepro-fonts/PLIST   Sun Apr 29 21:07:07 2018 +0000
+++ b/fonts/sourcecodepro-fonts/PLIST   Sun Apr 29 21:07:38 2018 +0000
@@ -1,15 +1,15 @@
-@comment $NetBSD: PLIST,v 1.3 2016/06/11 18:55:07 wiz Exp $
-share/fonts/sourcecodepro/SourceCodePro-Black.otf
-share/fonts/sourcecodepro/SourceCodePro-BlackIt.otf
-share/fonts/sourcecodepro/SourceCodePro-Bold.otf
-share/fonts/sourcecodepro/SourceCodePro-BoldIt.otf
-share/fonts/sourcecodepro/SourceCodePro-ExtraLight.otf
-share/fonts/sourcecodepro/SourceCodePro-ExtraLightIt.otf
-share/fonts/sourcecodepro/SourceCodePro-It.otf
-share/fonts/sourcecodepro/SourceCodePro-Light.otf
-share/fonts/sourcecodepro/SourceCodePro-LightIt.otf
-share/fonts/sourcecodepro/SourceCodePro-Medium.otf
-share/fonts/sourcecodepro/SourceCodePro-MediumIt.otf
-share/fonts/sourcecodepro/SourceCodePro-Regular.otf
-share/fonts/sourcecodepro/SourceCodePro-Semibold.otf
-share/fonts/sourcecodepro/SourceCodePro-SemiboldIt.otf
+@comment $NetBSD: PLIST,v 1.4 2018/04/29 21:07:38 ryoon Exp $
+share/fonts/X11/TTF/SourceCodePro-Black.otf
+share/fonts/X11/TTF/SourceCodePro-BlackIt.otf
+share/fonts/X11/TTF/SourceCodePro-Bold.otf
+share/fonts/X11/TTF/SourceCodePro-BoldIt.otf
+share/fonts/X11/TTF/SourceCodePro-ExtraLight.otf
+share/fonts/X11/TTF/SourceCodePro-ExtraLightIt.otf
+share/fonts/X11/TTF/SourceCodePro-It.otf
+share/fonts/X11/TTF/SourceCodePro-Light.otf
+share/fonts/X11/TTF/SourceCodePro-LightIt.otf
+share/fonts/X11/TTF/SourceCodePro-Medium.otf
+share/fonts/X11/TTF/SourceCodePro-MediumIt.otf
+share/fonts/X11/TTF/SourceCodePro-Regular.otf
+share/fonts/X11/TTF/SourceCodePro-Semibold.otf
+share/fonts/X11/TTF/SourceCodePro-SemiboldIt.otf



Home | Main Index | Thread Index | Old Index