summaryrefslogtreecommitdiff
path: root/fonts/AnonymousPro/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-09-03 18:24:47 +0000
committerwiz <wiz@pkgsrc.org>2010-09-03 18:24:47 +0000
commitc5508adabc19437c9d10675278ebe56f37111eba (patch)
tree2e0dfc79bc29bd7a6dd9c1a34162213bfcd40ecd /fonts/AnonymousPro/Makefile
parenta695f0ce2488ce09441ec30fcf73f016cf334c28 (diff)
downloadpkgsrc-c5508adabc19437c9d10675278ebe56f37111eba.tar.gz
Initial import of AnonymousPro-1.001:
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. Anonymous Pro also features an international, Unicode-based character set, with support for most Western and European Latin-based languages, Greek, and Cyrillic. It also includes special for those who need them.
Diffstat (limited to 'fonts/AnonymousPro/Makefile')
-rw-r--r--fonts/AnonymousPro/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/fonts/AnonymousPro/Makefile b/fonts/AnonymousPro/Makefile
new file mode 100644
index 00000000000..2eea10040a8
--- /dev/null
+++ b/fonts/AnonymousPro/Makefile
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/03 18:24:47 wiz Exp $
+#
+
+DISTNAME= AnonymousPro-1.001
+CATEGORIES= fonts
+MASTER_SITES= http://www.ms-studio.com/FontSales/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.ms-studio.com/FontSales/anonymouspro.html
+COMMENT= Fixed width Sans designed especially for Coders
+LICENSE= open-font-license
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+#WRKSRC= ${WRKDIR}/AnonymousPro-1.001
+USE_LANGUAGES= # none
+
+NO_CONFIGURE= YES
+NO_BUILD= YES
+
+DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
+
+INSTALLATION_DIRS= lib/X11/fonts/TTF ${DOCSDIR}
+
+FONTDIR= ${PREFIX}/lib/X11/fonts/TTF
+FONTS_DIRS.ttf= ${FONTDIR}
+
+INSTALL_FONTS= AnonymousProB.ttf \
+ AnonymousProBI.ttf \
+ AnonymousProI.ttf \
+ AnonymousPro.ttf
+INSTALL_DOCS= FONTLOG.txt OFL-FAQ.txt OFL.txt README.txt
+
+post-extract:
+ cd ${WRKSRC} && for i in *.ttf; do \
+ j=`echo $$i | sed "s/ //g"`; \
+ mv "$$i" "$$j"; done
+
+do-install:
+.for fontfile in ${INSTALL_FONTS}
+ ${INSTALL_DATA} ${WRKSRC}/${fontfile:Q} ${DESTDIR}${FONTDIR}
+.endfor
+.for docfile in ${INSTALL_DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DESTDIR}${DOCSDIR}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"