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:
parent
002c4a122e
commit
be89455a03
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322051
@ -17,6 +17,7 @@
|
||||
SUBDIR += charis-compact
|
||||
SUBDIR += code2000
|
||||
SUBDIR += code2001
|
||||
SUBDIR += comfortaa-ttf
|
||||
SUBDIR += consolamono-ttf
|
||||
SUBDIR += croscorefonts-fonts-ttf
|
||||
SUBDIR += cyberbit-ttfonts
|
||||
|
41
x11-fonts/comfortaa-ttf/Makefile
Normal file
41
x11-fonts/comfortaa-ttf/Makefile
Normal 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>
|
2
x11-fonts/comfortaa-ttf/distinfo
Normal file
2
x11-fonts/comfortaa-ttf/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (comfortaa.zip) = 3f51cb29b5630e4ef7c7cebe65b78261c77563f90f992512cefd2cf3ca9c404b
|
||||
SIZE (comfortaa.zip) = 499419
|
8
x11-fonts/comfortaa-ttf/files/pkg-message.in
Normal file
8
x11-fonts/comfortaa-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%%/"
|
||||
|
6
x11-fonts/comfortaa-ttf/pkg-descr
Normal file
6
x11-fonts/comfortaa-ttf/pkg-descr
Normal 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
|
8
x11-fonts/comfortaa-ttf/pkg-plist
Normal file
8
x11-fonts/comfortaa-ttf/pkg-plist
Normal 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
|
Loading…
Reference in New Issue
Block a user