summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorfcambus <fcambus@pkgsrc.org>2020-03-11 15:11:17 +0000
committerfcambus <fcambus@pkgsrc.org>2020-03-11 15:11:17 +0000
commit4acf64206313552b222ca3f5832046ef2724322b (patch)
tree281b69590069c070b5c3e9c1d0e82fffd2282ce1 /fonts
parentf6fb70a28fcbe7ffda5525a5e9a1980e48bb9870 (diff)
downloadpkgsrc-4acf64206313552b222ca3f5832046ef2724322b.tar.gz
spleen: also install PSF versions of the fonts, for the Linux console.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/spleen/Makefile9
-rw-r--r--fonts/spleen/PLIST7
2 files changed, 12 insertions, 4 deletions
diff --git a/fonts/spleen/Makefile b/fonts/spleen/Makefile
index 739019011bc..9eb7371ab3b 100644
--- a/fonts/spleen/Makefile
+++ b/fonts/spleen/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2020/03/04 09:09:59 fcambus Exp $
+# $NetBSD: Makefile,v 1.11 2020/03/11 15:11:17 fcambus Exp $
DISTNAME= spleen-1.7.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= fonts
MASTER_SITES= ${MASTER_SITE_GITHUB:=fcambus/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}
@@ -15,16 +15,19 @@ USE_LANGUAGES= # none
USE_TOOLS+= gzip
FONTDIR= ${PREFIX}/share/fonts/X11/spleen
+CONSOLEFONTSDIR= ${PREFIX}/share/fonts/consolefonts
FONTS_DIRS.x11+= ${FONTDIR}
-INSTALLATION_DIRS= ${FONTDIR}
+INSTALLATION_DIRS= ${FONTDIR} ${CONSOLEFONTSDIR}
do-build:
${GZIP_CMD} ${WRKSRC}/*.pcf
+ ${GZIP_CMD} ${WRKSRC}/*.psfu
do-install:
${INSTALL_DATA} ${WRKSRC}/fonts.alias-spleen \
${DESTDIR}${FONTDIR}/fonts.alias
${INSTALL_DATA} ${WRKSRC}/*.pcf.gz ${DESTDIR}${FONTDIR}
${INSTALL_DATA} ${WRKSRC}/*.otf ${DESTDIR}${FONTDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.psfu.gz ${DESTDIR}${CONSOLEFONTSDIR}
.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/spleen/PLIST b/fonts/spleen/PLIST
index ab18e0fe782..fbc22edd779 100644
--- a/fonts/spleen/PLIST
+++ b/fonts/spleen/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2020/03/04 09:09:59 fcambus Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/03/11 15:11:17 fcambus Exp $
share/fonts/X11/spleen/fonts.alias
share/fonts/X11/spleen/spleen-12x24.otf
share/fonts/X11/spleen/spleen-12x24.pcf.gz
@@ -9,3 +9,8 @@ share/fonts/X11/spleen/spleen-32x64.pcf.gz
share/fonts/X11/spleen/spleen-5x8.pcf.gz
share/fonts/X11/spleen/spleen-8x16.otf
share/fonts/X11/spleen/spleen-8x16.pcf.gz
+share/fonts/consolefonts/spleen-12x24.psfu.gz
+share/fonts/consolefonts/spleen-16x32.psfu.gz
+share/fonts/consolefonts/spleen-32x64.psfu.gz
+share/fonts/consolefonts/spleen-5x8.psfu.gz
+share/fonts/consolefonts/spleen-8x16.psfu.gz