1
0
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:
Raphael Kubo da Costa 2013-01-25 11:36:43 +00:00
parent cfab8b1bf9
commit c76205f1c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310975
6 changed files with 66 additions and 0 deletions

View File

@ -17,6 +17,7 @@
SUBDIR += charis-compact
SUBDIR += code2000
SUBDIR += code2001
SUBDIR += consolamono-ttf
SUBDIR += croscorefonts-fonts-ttf
SUBDIR += cyberbit-ttfonts
SUBDIR += cyr-rfx

View 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>

View File

@ -0,0 +1,2 @@
SHA256 (consolamono.zip) = 7792d34cf5fc46a58fdc630828b854228e9e0b51fc914639f777456dac375086
SIZE (consolamono.zip) = 1114416

View 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%%/"

View 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

View 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%%