svn commit: r310975 - in head/x11-fonts: . consolamono-ttf consolamono-ttf/files
Raphael Kubo da Costa
rakuco at FreeBSD.org
Fri Jan 25 11:36:46 UTC 2013
Author: rakuco
Date: Fri Jan 25 11:36:43 2013
New Revision: 310975
URL: http://svnweb.freebsd.org/changeset/ports/310975
Log:
Consola Mono is a monospaced font created for programming, text editors and
terminal-use.
It is licensed under the SIL Open Font License v1.1.
Added:
head/x11-fonts/consolamono-ttf/
head/x11-fonts/consolamono-ttf/Makefile (contents, props changed)
head/x11-fonts/consolamono-ttf/distinfo (contents, props changed)
head/x11-fonts/consolamono-ttf/files/
head/x11-fonts/consolamono-ttf/files/pkg-message.in (contents, props changed)
head/x11-fonts/consolamono-ttf/pkg-descr (contents, props changed)
head/x11-fonts/consolamono-ttf/pkg-plist (contents, props changed)
Modified:
head/x11-fonts/Makefile
Modified: head/x11-fonts/Makefile
==============================================================================
--- head/x11-fonts/Makefile Fri Jan 25 10:36:02 2013 (r310974)
+++ head/x11-fonts/Makefile Fri Jan 25 11:36:43 2013 (r310975)
@@ -17,6 +17,7 @@
SUBDIR += charis-compact
SUBDIR += code2000
SUBDIR += code2001
+ SUBDIR += consolamono-ttf
SUBDIR += croscorefonts-fonts-ttf
SUBDIR += cyberbit-ttfonts
SUBDIR += cyr-rfx
Added: head/x11-fonts/consolamono-ttf/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-fonts/consolamono-ttf/Makefile Fri Jan 25 11:36:43 2013 (r310975)
@@ -0,0 +1,41 @@
+# $FreeBSD$
+
+PORTNAME= consolamono-ttf
+PORTVERSION= 20121116
+CATEGORIES= x11-fonts
+MASTER_SITES= http://openfontlibrary.org/assets/downloads/consolamono/7c6fa601cdc82be054fb2b8fd7e3c8cc/
+DISTNAME= consolamono
+
+MAINTAINER= rakuco at FreeBSD.org
+COMMENT= Monospace font created for programming, text editors and terminal-use
+
+LICENSE= OFL
+LICENSE_NAME= SIL OPEN FONT LICENSE Version 1.1
+LICENSE_FILE= ${WRKSRC}/SIL\ -\ Open\ Font\ License.txt
+LICENSE_PERMS= auto-accept
+
+BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
+ mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
+
+USE_ZIP= yes
+
+FONTDIR= lib/X11/fonts/ConsolaMono
+PKGMESSAGE= ${WRKDIR}/pkg-message
+PLIST_SUB= FONTDIR=${FONTDIR}
+SUB_FILES= pkg-message
+SUB_LIST= FONTDIR=${FONTDIR}
+WRKSRC= ${WRKDIR}/Consola\ Mono
+
+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>
Added: head/x11-fonts/consolamono-ttf/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-fonts/consolamono-ttf/distinfo Fri Jan 25 11:36:43 2013 (r310975)
@@ -0,0 +1,2 @@
+SHA256 (consolamono.zip) = 7792d34cf5fc46a58fdc630828b854228e9e0b51fc914639f777456dac375086
+SIZE (consolamono.zip) = 1114416
Added: head/x11-fonts/consolamono-ttf/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-fonts/consolamono-ttf/files/pkg-message.in Fri Jan 25 11:36:43 2013 (r310975)
@@ -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%%/"
+
Added: head/x11-fonts/consolamono-ttf/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-fonts/consolamono-ttf/pkg-descr Fri Jan 25 11:36:43 2013 (r310975)
@@ -0,0 +1,8 @@
+'Consola Mono' is the monospace font especially created for programming, text
+editors and for terminal-use.
+
+'Consola Mono' is a Unicode typeface font that supports all languages that use
+the Latin, Greek, Cyrillic script and its variants, and could be expanded to
+support other scripts.
+
+WWW: http://openfontlibrary.org/en/font/consolamono
Added: head/x11-fonts/consolamono-ttf/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11-fonts/consolamono-ttf/pkg-plist Fri Jan 25 11:36:43 2013 (r310975)
@@ -0,0 +1,6 @@
+%%FONTDIR%%/ConsolaMono.ttf
+%%FONTDIR%%/ConsolaMono-Bold.ttf
+%%FONTDIR%%/fonts.dir
+%%FONTDIR%%/fonts.scale
+ at unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || true
+ at dirrm %%FONTDIR%%
More information about the svn-ports-head
mailing list