Skip to content

Commit

Permalink
uw-ttyp0: install to its own fonts directory
Browse files Browse the repository at this point in the history
this allows the directory to be easily added to the x11 serverside fonts
path with xset while not conflicting with misc-fixed terminus etc

still works as expected with fontconfig/xft
  • Loading branch information
alarixnia committed Sep 23, 2020
1 parent 584180d commit 9c7980b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
8 changes: 3 additions & 5 deletions fonts/uw-ttyp0/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.3 2020/08/31 18:09:33 wiz Exp $
# $NetBSD: Makefile,v 1.4 2020/09/23 11:59:18 nia Exp $

DISTNAME= uw-ttyp0-1.3
PKGREVISION= 2
PKGREVISION= 3
CATEGORIES= fonts
MASTER_SITES= https://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0/

Expand All @@ -18,11 +18,9 @@ USE_LANGUAGES= # none
HAS_CONFIGURE= yes

MAKE_FLAGS+= PREFIX=${PREFIX}
MAKE_FLAGS+= PCFDIR=${PREFIX}/share/fonts/X11/uw-ttyp0

# Otherwise fontconfig picks fonts with less character support...
MAKE_FLAGS+= ENCODINGS=uni

post-install:
${RM} -f ${DESTDIR}${PREFIX}/share/fonts/X11/misc/fonts.*

.include "../../mk/bsd.pkg.mk"
48 changes: 25 additions & 23 deletions fonts/uw-ttyp0/PLIST
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
@comment $NetBSD: PLIST,v 1.2 2020/06/20 16:13:30 nia Exp $
share/fonts/X11/misc/t0-11-uni.pcf.gz
share/fonts/X11/misc/t0-11b-uni.pcf.gz
share/fonts/X11/misc/t0-12-uni.pcf.gz
share/fonts/X11/misc/t0-12b-uni.pcf.gz
share/fonts/X11/misc/t0-13-uni.pcf.gz
share/fonts/X11/misc/t0-13b-uni.pcf.gz
share/fonts/X11/misc/t0-14-uni.pcf.gz
share/fonts/X11/misc/t0-14b-uni.pcf.gz
share/fonts/X11/misc/t0-15-uni.pcf.gz
share/fonts/X11/misc/t0-15b-uni.pcf.gz
share/fonts/X11/misc/t0-15i-uni.pcf.gz
share/fonts/X11/misc/t0-16-uni.pcf.gz
share/fonts/X11/misc/t0-16b-uni.pcf.gz
share/fonts/X11/misc/t0-16i-uni.pcf.gz
share/fonts/X11/misc/t0-17-uni.pcf.gz
share/fonts/X11/misc/t0-17b-uni.pcf.gz
share/fonts/X11/misc/t0-17i-uni.pcf.gz
share/fonts/X11/misc/t0-18-uni.pcf.gz
share/fonts/X11/misc/t0-18b-uni.pcf.gz
share/fonts/X11/misc/t0-18i-uni.pcf.gz
share/fonts/X11/misc/t0-22-uni.pcf.gz
share/fonts/X11/misc/t0-22b-uni.pcf.gz
@comment $NetBSD: PLIST,v 1.3 2020/09/23 11:59:18 nia Exp $
share/fonts/X11/uw-ttyp0/fonts.dir
share/fonts/X11/uw-ttyp0/fonts.scale
share/fonts/X11/uw-ttyp0/t0-11-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-11b-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-12-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-12b-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-13-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-13b-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-14-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-14b-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-15-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-15b-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-15i-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-16-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-16b-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-16i-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-17-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-17b-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-17i-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-18-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-18b-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-18i-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-22-uni.pcf.gz
share/fonts/X11/uw-ttyp0/t0-22b-uni.pcf.gz

0 comments on commit 9c7980b

Please sign in to comment.