mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
Consola Mono is a monospaced font created for programming, text editors and
terminal-use. It is licensed under the SIL Open Font License v1.1.
This commit is contained in:
parent
cfab8b1bf9
commit
c76205f1c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310975
@ -17,6 +17,7 @@
|
||||
SUBDIR += charis-compact
|
||||
SUBDIR += code2000
|
||||
SUBDIR += code2001
|
||||
SUBDIR += consolamono-ttf
|
||||
SUBDIR += croscorefonts-fonts-ttf
|
||||
SUBDIR += cyberbit-ttfonts
|
||||
SUBDIR += cyr-rfx
|
||||
|
41
x11-fonts/consolamono-ttf/Makefile
Normal file
41
x11-fonts/consolamono-ttf/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= consolamono-ttf
|
||||
PORTVERSION= 20121116
|
||||
CATEGORIES= x11-fonts
|
||||
MASTER_SITES= http://openfontlibrary.org/assets/downloads/consolamono/7c6fa601cdc82be054fb2b8fd7e3c8cc/
|
||||
DISTNAME= consolamono
|
||||
|
||||
MAINTAINER= rakuco@FreeBSD.org
|
||||
COMMENT= Monospace font created for programming, text editors and terminal-use
|
||||
|
||||
LICENSE= OFL
|
||||
LICENSE_NAME= SIL OPEN FONT LICENSE Version 1.1
|
||||
LICENSE_FILE= ${WRKSRC}/SIL\ -\ Open\ Font\ License.txt
|
||||
LICENSE_PERMS= auto-accept
|
||||
|
||||
BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
|
||||
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
|
||||
|
||||
USE_ZIP= yes
|
||||
|
||||
FONTDIR= lib/X11/fonts/ConsolaMono
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
PLIST_SUB= FONTDIR=${FONTDIR}
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= FONTDIR=${FONTDIR}
|
||||
WRKSRC= ${WRKDIR}/Consola\ Mono
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC}/ && \
|
||||
${LOCALBASE}/bin/mkfontscale && \
|
||||
${LOCALBASE}/bin/mkfontdir
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/${FONTDIR}/
|
||||
cd ${WRKSRC}/ && ${INSTALL_DATA} *.ttf fonts.* ${PREFIX}/${FONTDIR}/
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
2
x11-fonts/consolamono-ttf/distinfo
Normal file
2
x11-fonts/consolamono-ttf/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (consolamono.zip) = 7792d34cf5fc46a58fdc630828b854228e9e0b51fc914639f777456dac375086
|
||||
SIZE (consolamono.zip) = 1114416
|
8
x11-fonts/consolamono-ttf/files/pkg-message.in
Normal file
8
x11-fonts/consolamono-ttf/files/pkg-message.in
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
You can start using the fonts by following these instructions:
|
||||
|
||||
Add the following line to the "Files" section of your X.org configuration
|
||||
file:
|
||||
|
||||
FontPath "%%PREFIX%%/%%FONTDIR%%/"
|
||||
|
8
x11-fonts/consolamono-ttf/pkg-descr
Normal file
8
x11-fonts/consolamono-ttf/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
'Consola Mono' is the monospace font especially created for programming, text
|
||||
editors and for terminal-use.
|
||||
|
||||
'Consola Mono' is a Unicode typeface font that supports all languages that use
|
||||
the Latin, Greek, Cyrillic script and its variants, and could be expanded to
|
||||
support other scripts.
|
||||
|
||||
WWW: http://openfontlibrary.org/en/font/consolamono
|
6
x11-fonts/consolamono-ttf/pkg-plist
Normal file
6
x11-fonts/consolamono-ttf/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
%%FONTDIR%%/ConsolaMono.ttf
|
||||
%%FONTDIR%%/ConsolaMono-Bold.ttf
|
||||
%%FONTDIR%%/fonts.dir
|
||||
%%FONTDIR%%/fonts.scale
|
||||
@unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || true
|
||||
@dirrm %%FONTDIR%%
|
Loading…
Reference in New Issue
Block a user