1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

Add x11-fonts/comfortaa-ttf.

Comfortaa is a stylish and modern sans-serif true type font.
This commit is contained in:
Raphael Kubo da Costa 2013-06-29 18:10:30 +00:00
parent 002c4a122e
commit be89455a03
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322051
6 changed files with 66 additions and 0 deletions

View File

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

View File

@ -0,0 +1,41 @@
# $FreeBSD$
PORTNAME= comfortaa-ttf
PORTVERSION= 2.004
CATEGORIES= x11-fonts
MASTER_SITES= http://openfontlibrary.org/assets/downloads/comfortaa/38318a69b56162733bf82bc0170b7521/
DISTNAME= comfortaa
MAINTAINER= rakuco@FreeBSD.org
COMMENT= Stylish, modern and free sans-serif true type font
LICENSE= OFL
LICENSE_NAME= SIL OPEN FONT LICENSE Version 1.1
LICENSE_FILE= ${WRKSRC}/OFL.txt
LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT}
BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
USE_ZIP= yes
FONTDIR= lib/X11/fonts/Comfortaa
PKGMESSAGE= ${WRKDIR}/pkg-message
PLIST_SUB= FONTDIR=${FONTDIR}
SUB_FILES= pkg-message
SUB_LIST= FONTDIR=${FONTDIR}
WRKSRC= ${WRKDIR}/Comfortaa
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 (comfortaa.zip) = 3f51cb29b5630e4ef7c7cebe65b78261c77563f90f992512cefd2cf3ca9c404b
SIZE (comfortaa.zip) = 499419

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,6 @@
A stylish, modern and free true type font.
Comfortaa is a simple, good looking, true type font with an amazingly large
number of 596 different characters and symbols.
WWW: http://openfontlibrary.org/en/font/comfortaa

View File

@ -0,0 +1,8 @@
%%FONTDIR%%/Comfortaa-Bold.ttf
%%FONTDIR%%/Comfortaa-Light.ttf
%%FONTDIR%%/Comfortaa-Regular.ttf
%%FONTDIR%%/fonts.dir
%%FONTDIR%%/fonts.scale
@unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || true
@dirrm %%FONTDIR%%
@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || /usr/bin/true