From owner-svn-ports-head@FreeBSD.ORG Tue May 6 04:47:04 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03385A68; Tue, 6 May 2014 04:47:04 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D9B94F51; Tue, 6 May 2014 04:47:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s464l3BH075157; Tue, 6 May 2014 04:47:03 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s464l2on075149; Tue, 6 May 2014 04:47:02 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201405060447.s464l2on075149@svn.freebsd.org> From: Jung-uk Kim Date: Tue, 6 May 2014 04:47:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353060 - in head/x11-fonts: . crosextrafonts-carlito-ttf crosextrafonts-carlito-ttf/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2014 04:47:04 -0000 Author: jkim Date: Tue May 6 04:47:02 2014 New Revision: 353060 URL: http://svnweb.freebsd.org/changeset/ports/353060 QAT: https://qat.redports.org/buildarchive/r353060/ Log: Carlito is metric-compatible with Calibri font. Carlito comes in regular, bold, italic, and bold italic. WWW: https://code.google.com/p/chromium/issues/detail?id=280557 Added: head/x11-fonts/crosextrafonts-carlito-ttf/ head/x11-fonts/crosextrafonts-carlito-ttf/Makefile (contents, props changed) head/x11-fonts/crosextrafonts-carlito-ttf/distinfo (contents, props changed) head/x11-fonts/crosextrafonts-carlito-ttf/files/ head/x11-fonts/crosextrafonts-carlito-ttf/files/pkg-message.in (contents, props changed) head/x11-fonts/crosextrafonts-carlito-ttf/pkg-descr (contents, props changed) head/x11-fonts/crosextrafonts-carlito-ttf/pkg-plist (contents, props changed) Modified: head/x11-fonts/Makefile Modified: head/x11-fonts/Makefile ============================================================================== --- head/x11-fonts/Makefile Tue May 6 04:44:22 2014 (r353059) +++ head/x11-fonts/Makefile Tue May 6 04:47:02 2014 (r353060) @@ -27,6 +27,7 @@ SUBDIR += consolamono-ttf SUBDIR += croscorefonts-fonts-ttf SUBDIR += crosextrafonts-caladea-ttf + SUBDIR += crosextrafonts-carlito-ttf SUBDIR += cyberbit-ttfonts SUBDIR += cyr-rfx SUBDIR += dejavu Added: head/x11-fonts/crosextrafonts-carlito-ttf/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/crosextrafonts-carlito-ttf/Makefile Tue May 6 04:47:02 2014 (r353060) @@ -0,0 +1,41 @@ +# $FreeBSD$ + +PORTNAME= crosextrafonts-carlito +PORTVERSION= 20130920 +CATEGORIES= x11-fonts +MASTER_SITES= http://gsdview.appspot.com/chromeos-localmirror/distfiles/ + +MAINTAINER= office@FreeBSD.org +COMMENT= Font created by Google for ChromeOS to replace MS Calibri + +LICENSE= OFL11 + +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= Carlito +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 Added: head/x11-fonts/crosextrafonts-carlito-ttf/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/crosextrafonts-carlito-ttf/distinfo Tue May 6 04:47:02 2014 (r353060) @@ -0,0 +1,2 @@ +SHA256 (crosextrafonts-carlito-20130920.tar.gz) = 4bd12b6cbc321c1cf16da76e2c585c925ce956a08067ae6f6c64eff6ccfdaf5a +SIZE (crosextrafonts-carlito-20130920.tar.gz) = 1169488 Added: head/x11-fonts/crosextrafonts-carlito-ttf/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/crosextrafonts-carlito-ttf/files/pkg-message.in Tue May 6 04:47:02 2014 (r353060) @@ -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-carlito-ttf/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/crosextrafonts-carlito-ttf/pkg-descr Tue May 6 04:47:02 2014 (r353060) @@ -0,0 +1,4 @@ +Carlito is metric-compatible with Calibri font. +Carlito comes in regular, bold, italic, and bold italic. + +WWW: https://code.google.com/p/chromium/issues/detail?id=280557 Added: head/x11-fonts/crosextrafonts-carlito-ttf/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11-fonts/crosextrafonts-carlito-ttf/pkg-plist Tue May 6 04:47:02 2014 (r353060) @@ -0,0 +1,8 @@ +%%FONTDIR%%/Carlito-Bold.ttf +%%FONTDIR%%/Carlito-BoldItalic.ttf +%%FONTDIR%%/Carlito-Italic.ttf +%%FONTDIR%%/Carlito-Regular.ttf +%%FONTDIR%%/fonts.dir +%%FONTDIR%%/fonts.scale +@unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true +@dirrm %%FONTDIR%%