1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Import comic-neue 1.1.

Comic Neue is a set of free fonts providing an alternative to Microsoft’s
popular Comic Sans font.
This commit is contained in:
Kevin Lo 2014-04-25 15:25:16 +00:00
parent e2c126c70f
commit e0878cc099
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352135
6 changed files with 62 additions and 0 deletions

View File

@ -23,6 +23,7 @@
SUBDIR += code2000
SUBDIR += code2001
SUBDIR += comfortaa-ttf
SUBDIR += comic-neue
SUBDIR += consolamono-ttf
SUBDIR += croscorefonts-fonts-ttf
SUBDIR += cyberbit-ttfonts

View File

@ -0,0 +1,32 @@
# $FreeBSD$
PORTNAME= comic-neue
PORTVERSION= 1.1
CATEGORIES= x11-fonts
MASTER_SITES= http://comicneue.com/
MAINTAINER= kevlo@FreeBSD.org
COMMENT= Free Comic Sans alternative
LICENSE= CC0
LICENSE_NAME= CC0 1.0 Universal
LICENSE_TEXT= See http://creativecommons.org/publicdomain/zero/1.0/
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= zip
NO_BUILD= yes
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
SUB_FILES= pkg-message
SUB_LIST= FONTSDIR=${FONTSDIR}
WRKSRC= ${WRKDIR}/${DISTNAME}
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (comic-neue-1.1.zip) = f9442fc42252db62ea788bd0247ae0e74571678d1dbd3e3edc229389050d6923
SIZE (comic-neue-1.1.zip) = 760818

View File

@ -0,0 +1,8 @@
Make sure that the freetype module is loaded. If it is not, add the following
line to the "Modules" section of your X Windows configuration file:
Load "freetype"
Add the following line to the "Files" section of X Windows configuration file:
FontPath "%%FONTSDIR%%/"

View File

@ -0,0 +1,4 @@
Comic Neue is a set of free fonts providing an alternative to
Microsoft's popular Comic Sans font.
WWW: http://comicneue.com/

View File

@ -0,0 +1,15 @@
%%FONTSDIR%%/ComicNeue-Angular-Bold-Oblique.ttf
%%FONTSDIR%%/ComicNeue-Angular-Bold.ttf
%%FONTSDIR%%/ComicNeue-Angular-Light-Oblique.ttf
%%FONTSDIR%%/ComicNeue-Angular-Light.ttf
%%FONTSDIR%%/ComicNeue-Angular-Regular-Oblique.ttf
%%FONTSDIR%%/ComicNeue-Angular-Regular.ttf
%%FONTSDIR%%/ComicNeue-Bold-Oblique.ttf
%%FONTSDIR%%/ComicNeue-Bold.ttf
%%FONTSDIR%%/ComicNeue-Light-Oblique.ttf
%%FONTSDIR%%/ComicNeue-Light.ttf
%%FONTSDIR%%/ComicNeue-Regular-Oblique.ttf
%%FONTSDIR%%/ComicNeue-Regular.ttf
@unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
@dirrm %%FONTSDIR%%
@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || /usr/bin/true