diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2011-11-29 22:32:18 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2011-11-29 22:32:18 +0000 |
commit | dc8e5213e3b8d69fc21afb3a6b841119fe187a5d (patch) | |
tree | 33c23b2a066e9f09c796aa02443faf36713d9eac | |
parent | 9c50a8bbece0f4a610ec3f1a363107fb6bc713ae (diff) | |
download | ports-dc8e5213e3b8d69fc21afb3a6b841119fe187a5d.tar.gz ports-dc8e5213e3b8d69fc21afb3a6b841119fe187a5d.zip |
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
Notes
Notes:
svn path=/head/; revision=286644
-rw-r--r-- | x11-fonts/Makefile | 1 | ||||
-rw-r--r-- | x11-fonts/anonymousPro/Makefile | 47 | ||||
-rw-r--r-- | x11-fonts/anonymousPro/distinfo | 2 | ||||
-rw-r--r-- | x11-fonts/anonymousPro/files/pkg-message.in | 4 | ||||
-rw-r--r-- | x11-fonts/anonymousPro/pkg-descr | 7 | ||||
-rw-r--r-- | x11-fonts/anonymousPro/pkg-plist | 12 |
6 files changed, 73 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile index 3b2872c47ebe..dc748e5e0808 100644 --- a/x11-fonts/Makefile +++ b/x11-fonts/Makefile @@ -3,6 +3,7 @@ COMMENT = X11 fonts and font utilities + SUBDIR += anonymousPro SUBDIR += arkpandora SUBDIR += artwiz-aleczapka SUBDIR += artwiz-aleczapka-de diff --git a/x11-fonts/anonymousPro/Makefile b/x11-fonts/anonymousPro/Makefile new file mode 100644 index 000000000000..6351b1952467 --- /dev/null +++ b/x11-fonts/anonymousPro/Makefile @@ -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> diff --git a/x11-fonts/anonymousPro/distinfo b/x11-fonts/anonymousPro/distinfo new file mode 100644 index 000000000000..206b0ceab35b --- /dev/null +++ b/x11-fonts/anonymousPro/distinfo @@ -0,0 +1,2 @@ +SHA256 (AnonymousPro-1.002.zip) = 86665847a51cdfb58a1e1dfd8b1ba33f183485affe50b53e3304f63d3d3552ab +SIZE (AnonymousPro-1.002.zip) = 284289 diff --git a/x11-fonts/anonymousPro/files/pkg-message.in b/x11-fonts/anonymousPro/files/pkg-message.in new file mode 100644 index 000000000000..0ffb5123397e --- /dev/null +++ b/x11-fonts/anonymousPro/files/pkg-message.in @@ -0,0 +1,4 @@ +Add the following line to the "Files" section of xorg.conf or XF86Config: + + FontPath "%%FONTSDIR%%/" + diff --git a/x11-fonts/anonymousPro/pkg-descr b/x11-fonts/anonymousPro/pkg-descr new file mode 100644 index 000000000000..5edd23f52dde --- /dev/null +++ b/x11-fonts/anonymousPro/pkg-descr @@ -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 diff --git a/x11-fonts/anonymousPro/pkg-plist b/x11-fonts/anonymousPro/pkg-plist new file mode 100644 index 000000000000..1aa7d1d9cb5a --- /dev/null +++ b/x11-fonts/anonymousPro/pkg-plist @@ -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 |