Anonymous Pro (2009) is a family of four fixed-width fonts designed

especially with coding in mind. Characters that could be mistaken for
one another (O, 0, I, l, 1, etc.) have distinct shapes to make them
easier to tell apart in the context of source code.

Author:	Mark Simonson <mark@marksimonson.com>
WWW: http://www.ms-studio.com/FontSales/anonymouspro.html

PR:		ports/162614
Submitted by:	Norberto Lopes <nlopes.ml@gmail.com>

Feature safe:	yes
This commit is contained in:
Pawel Pekala 2011-11-29 22:32:18 +00:00
parent 9c50a8bbec
commit dc8e5213e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286644
6 changed files with 73 additions and 0 deletions

View File

@ -3,6 +3,7 @@
COMMENT = X11 fonts and font utilities
SUBDIR += anonymousPro
SUBDIR += arkpandora
SUBDIR += artwiz-aleczapka
SUBDIR += artwiz-aleczapka-de

View File

@ -0,0 +1,47 @@
# New ports collection makefile for: anonymousPro
# Date Created: 14 Nov 2011
# Whom: Norberto Lopes <nlopes.ml@gmail.com>
#
# $FreeBSD$
#
PORTNAME= anonymousPro
PORTVERSION= 1.002
CATEGORIES= x11-fonts
MASTER_SITES= http://www.ms-studio.com/FontSales/
DISTNAME= AnonymousPro-${PORTVERSION}
MAINTAINER= nlopes.ml@gmail.com
COMMENT= A fixed width sans designed especially for coders
LICENSE= OFL
LICENSE_NAME= Open Font License (OFL)
LICENSE_FILE= ${WRKSRC}/OFL.txt
LICENSE_PERMS= auto-accept
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
USE_ZIP= yes
NO_BUILD= yes
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
FONTSDIR= ${PREFIX}/lib/X11/fonts/${PORTNAME}
SUB_LIST= FONTSDIR=${FONTSDIR}
SUB_FILES= pkg-message
WRKSRC= ${WRKDIR}/${DISTNAME}.001
do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
.endif
@${MKDIR} ${FONTSDIR}
@${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
post-install:
@${ECHO_MSG} "===> Running fc-cache"
-${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (AnonymousPro-1.002.zip) = 86665847a51cdfb58a1e1dfd8b1ba33f183485affe50b53e3304f63d3d3552ab
SIZE (AnonymousPro-1.002.zip) = 284289

View File

@ -0,0 +1,4 @@
Add the following line to the "Files" section of xorg.conf or XF86Config:
FontPath "%%FONTSDIR%%/"

View File

@ -0,0 +1,7 @@
Anonymous Pro (2009) is a family of four fixed-width fonts designed
especially with coding in mind. Characters that could be mistaken for
one another (O, 0, I, l, 1, etc.) have distinct shapes to make them
easier to tell apart in the context of source code.
Author: Mark Simonson <mark@marksimonson.com>
WWW: http://www.ms-studio.com/FontSales/anonymouspro.html

View File

@ -0,0 +1,12 @@
%%FONTSDIR%%/Anonymous Pro.ttf
%%FONTSDIR%%/Anonymous Pro I.ttf
%%FONTSDIR%%/Anonymous Pro B.ttf
%%FONTSDIR%%/Anonymous Pro BI.ttf
%%PORTDOCS%%%%DOCSDIR%%/FONTLOG.txt
%%PORTDOCS%%%%DOCSDIR%%/OFL-FAQ.txt
%%PORTDOCS%%%%DOCSDIR%%/OFL.txt
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@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