summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2018-04-29 21:07:38 +0000
committerryoon <ryoon@pkgsrc.org>2018-04-29 21:07:38 +0000
commit83a447560dfc8e88f80e6401874034c337496797 (patch)
tree137f091bebc61c465ae4ef74bc07a37083553c2c /fonts
parent66ff10bbcc2ffb48f6a71b2609f5b40d8e8ca2d6 (diff)
downloadpkgsrc-83a447560dfc8e88f80e6401874034c337496797.tar.gz
Install these fonts into the standard location. Bump PKGREVISION
Diffstat (limited to 'fonts')
-rw-r--r--fonts/sourcecodepro-fonts/Makefile10
-rw-r--r--fonts/sourcecodepro-fonts/PLIST30
2 files changed, 21 insertions, 19 deletions
diff --git a/fonts/sourcecodepro-fonts/Makefile b/fonts/sourcecodepro-fonts/Makefile
index cafc0600094..d907006c2a2 100644
--- a/fonts/sourcecodepro-fonts/Makefile
+++ b/fonts/sourcecodepro-fonts/Makefile
@@ -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 @@ WRKSRC= ${WRKDIR}/source-code-pro-2.030R-ro-1.050R-it
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 --git a/fonts/sourcecodepro-fonts/PLIST b/fonts/sourcecodepro-fonts/PLIST
index 5c484494949..93f95747ada 100644
--- a/fonts/sourcecodepro-fonts/PLIST
+++ b/fonts/sourcecodepro-fonts/PLIST
@@ -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