Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2014 04:44:23 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353059 - in head/x11-fonts: . crosextrafonts-caladea-ttf crosextrafonts-caladea-ttf/files
Message-ID:  <201405060444.s464iNmd074590@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Tue May  6 04:44:22 2014
New Revision: 353059
URL: http://svnweb.freebsd.org/changeset/ports/353059
QAT: https://qat.redports.org/buildarchive/r353059/

Log:
  Caladea is metric-compatible with Cambria font.
  This font is sans-serif typeface family based on Lato.
  
  WWW: https://code.google.com/p/chromium/issues/detail?id=168879

Added:
  head/x11-fonts/crosextrafonts-caladea-ttf/
  head/x11-fonts/crosextrafonts-caladea-ttf/Makefile   (contents, props changed)
  head/x11-fonts/crosextrafonts-caladea-ttf/distinfo   (contents, props changed)
  head/x11-fonts/crosextrafonts-caladea-ttf/files/
  head/x11-fonts/crosextrafonts-caladea-ttf/files/pkg-message.in   (contents, props changed)
  head/x11-fonts/crosextrafonts-caladea-ttf/pkg-descr   (contents, props changed)
  head/x11-fonts/crosextrafonts-caladea-ttf/pkg-plist   (contents, props changed)
Modified:
  head/x11-fonts/Makefile

Modified: head/x11-fonts/Makefile
==============================================================================
--- head/x11-fonts/Makefile	Tue May  6 04:37:46 2014	(r353058)
+++ head/x11-fonts/Makefile	Tue May  6 04:44:22 2014	(r353059)
@@ -26,6 +26,7 @@
     SUBDIR += comic-neue
     SUBDIR += consolamono-ttf
     SUBDIR += croscorefonts-fonts-ttf
+    SUBDIR += crosextrafonts-caladea-ttf
     SUBDIR += cyberbit-ttfonts
     SUBDIR += cyr-rfx
     SUBDIR += dejavu

Added: head/x11-fonts/crosextrafonts-caladea-ttf/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/crosextrafonts-caladea-ttf/Makefile	Tue May  6 04:44:22 2014	(r353059)
@@ -0,0 +1,42 @@
+# $FreeBSD$
+
+PORTNAME=	crosextrafonts
+PORTVERSION=	20130214
+CATEGORIES=	x11-fonts
+MASTER_SITES=	http://gsdview.appspot.com/chromeos-localmirror/distfiles/
+PKGNAMESUFFIX=	-caladea
+
+MAINTAINER=	office@FreeBSD.org
+COMMENT=	Font created by Google for ChromeOS to replace MS Cambria
+
+LICENSE=	APACHE20
+
+BUILD_DEPENDS=	mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \
+		mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale
+
+USE_XORG=	x11
+
+PLIST_SUB=	FONTDIR="${FONTDIR:S|${PREFIX}/||}"
+
+SUB_FILES=	pkg-message
+PKGMESSAGE=	${WRKDIR}/pkg-message
+SUB_LIST=	FONTDIR=${FONTDIR}
+
+FONTNAME=	Caladea
+FONTDIR=	${PREFIX}/lib/X11/fonts/${FONTNAME}
+INSTDAT=	fonts.dir fonts.scale
+
+MKFONTSCL_CMD=	${LOCALBASE}/bin/mkfontscale
+MKFONTDIR_CMD=	${LOCALBASE}/bin/mkfontdir
+
+do-build:
+	cd ${WRKSRC} && ${MKFONTSCL_CMD}
+	${REINPLACE_CMD} -e 's|-misc-|-google-|' ${WRKSRC}/fonts.scale
+	cd ${WRKSRC} && ${MKFONTDIR_CMD}
+
+do-install:
+	${MKDIR} ${STAGEDIR}${FONTDIR}
+	cd ${WRKSRC} &&	\
+	${INSTALL_DATA} ${INSTDAT} *.ttf ${STAGEDIR}${FONTDIR}
+
+.include <bsd.port.mk>

Added: head/x11-fonts/crosextrafonts-caladea-ttf/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/crosextrafonts-caladea-ttf/distinfo	Tue May  6 04:44:22 2014	(r353059)
@@ -0,0 +1,2 @@
+SHA256 (crosextrafonts-20130214.tar.gz) = c48d1c2fd613c9c06c959c34da7b8388059e2408d2bb19845dc3ed35f76e4d09
+SIZE (crosextrafonts-20130214.tar.gz) = 112756

Added: head/x11-fonts/crosextrafonts-caladea-ttf/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/crosextrafonts-caladea-ttf/files/pkg-message.in	Tue May  6 04:44:22 2014	(r353059)
@@ -0,0 +1,5 @@
+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 "%%FONTDIR%%/"

Added: head/x11-fonts/crosextrafonts-caladea-ttf/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/crosextrafonts-caladea-ttf/pkg-descr	Tue May  6 04:44:22 2014	(r353059)
@@ -0,0 +1,4 @@
+Caladea is metric-compatible with Cambria font.
+This font is sans-serif typeface family based on Lato.
+
+WWW: https://code.google.com/p/chromium/issues/detail?id=168879

Added: head/x11-fonts/crosextrafonts-caladea-ttf/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/crosextrafonts-caladea-ttf/pkg-plist	Tue May  6 04:44:22 2014	(r353059)
@@ -0,0 +1,8 @@
+%%FONTDIR%%/Caladea-Bold.ttf
+%%FONTDIR%%/Caladea-BoldItalic.ttf
+%%FONTDIR%%/Caladea-Italic.ttf
+%%FONTDIR%%/Caladea-Regular.ttf
+%%FONTDIR%%/fonts.dir
+%%FONTDIR%%/fonts.scale
+@unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
+@dirrm %%FONTDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405060444.s464iNmd074590>