Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2012 15:38:19 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302806 - in head/x11-fonts: . sourcesanspro-ttf sourcesanspro-ttf/files
Message-ID:  <201208201538.q7KFcJlq055012@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Aug 20 15:38:18 2012
New Revision: 302806
URL: http://svn.freebsd.org/changeset/ports/302806

Log:
  Source Sans Pro: Adobe’s first open source type family
  
  Source Sans Pro was designed by Paul D. Hunt as Adobe's first open source
  typeface family, conceived primarily as a typeface for user interfaces.
  Source Sans Pro draws inspiration from the clarity and legibility of
  twentieth-century American gothic typeface designs.
  
  Source Sans Pro currently supports a wide range of languages using Latin
  script, and includes all the characters in the Adobe Latin 4 glyph set. As
  an open source project, it is expected that incremental updates will be
  made over time to extend glyph set coverage and functionality.
  
  WWW: http://sourceforge.net/projects/sourcesans.adobe/
  
  PR:		ports/170568
  Submitted by:	pfg@

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

Modified: head/x11-fonts/Makefile
==============================================================================
--- head/x11-fonts/Makefile	Mon Aug 20 15:36:42 2012	(r302805)
+++ head/x11-fonts/Makefile	Mon Aug 20 15:38:18 2012	(r302806)
@@ -137,6 +137,7 @@
     SUBDIR += sgifonts
     SUBDIR += sharefonts
     SUBDIR += showfont
+    SUBDIR += sourcesanspro-ttf
     SUBDIR += stix-fonts
     SUBDIR += suxus
     SUBDIR += terminus-font

Added: head/x11-fonts/sourcesanspro-ttf/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/sourcesanspro-ttf/Makefile	Mon Aug 20 15:38:18 2012	(r302806)
@@ -0,0 +1,55 @@
+# New ports collection makefile for:	SourceSansPro-ttf
+# Date created:		11 Aug 2012
+# Whom:			Pedro Giffuni
+#
+# $FreeBSD$
+#
+
+PORTNAME=	sourcesanspro-ttf
+PORTVERSION=	1.033
+CATEGORIES=	x11-fonts
+MASTER_SITES=	SF/sourcesans.adobe
+DISTNAME=	SourceSansPro_FontsOnly-${PORTVERSION}
+
+MAINTAINER=	office@FreeBSD.org
+COMMENT=	A set of fonts by Adobe designed for user interfaces
+
+LICENSE=	OFL
+LICENSE_NAME=	SIL OPEN FONT LICENSE Version 1.1
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+LICENSE_PERMS=	auto-accept
+
+BUILD_DEPENDS=	mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale	\
+		mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir
+
+USE_ZIP=	yes
+USE_XORG=	x11
+
+PLIST_SUB=	FONTDIR="${FONTDIR:S|${PREFIX}/||}"
+
+SUB_FILES=	pkg-message
+PKGMESSAGE=	${WRKDIR}/pkg-message
+SUB_LIST=	FONTDIR=${FONTDIR}
+
+FONTNAME=	SourceSansPro
+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}/TTF && ${MKFONTSCL_CMD}
+	cd ${WRKSRC}/TTF && ${MKFONTDIR_CMD}
+
+do-install:
+	${MKDIR} ${FONTDIR}
+	cd ${WRKSRC}/TTF &&	\
+	${INSTALL_DATA} ${INSTDAT} *.ttf ${FONTDIR}
+
+post-install:
+	@${ECHO_MSG}
+	@${CAT} ${PKGMESSAGE}
+	@${ECHO_MSG}
+
+.include <bsd.port.mk>

Added: head/x11-fonts/sourcesanspro-ttf/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/sourcesanspro-ttf/distinfo	Mon Aug 20 15:38:18 2012	(r302806)
@@ -0,0 +1,2 @@
+SHA256 (SourceSansPro_FontsOnly-1.033.zip) = 6d47d19f9e8e0211af24cad254e6fd69af16f2dde8c902516039607c0f213c8d
+SIZE (SourceSansPro_FontsOnly-1.033.zip) = 1372793

Added: head/x11-fonts/sourcesanspro-ttf/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/sourcesanspro-ttf/files/pkg-message.in	Mon Aug 20 15:38:18 2012	(r302806)
@@ -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/sourcesanspro-ttf/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/sourcesanspro-ttf/pkg-descr	Mon Aug 20 15:38:18 2012	(r302806)
@@ -0,0 +1,13 @@
+Source Sans Pro: Adobe’s first open source type family
+
+Source Sans Pro was designed by Paul D. Hunt as Adobe's first open source 
+typeface family, conceived primarily as a typeface for user interfaces. 
+Source Sans Pro draws inspiration from the clarity and legibility of 
+twentieth-century American gothic typeface designs.
+
+Source Sans Pro currently supports a wide range of languages using Latin 
+script, and includes all the characters in the Adobe Latin 4 glyph set. As 
+an open source project, it is expected that incremental updates will be 
+made over time to extend glyph set coverage and functionality.
+
+WWW: http://sourceforge.net/projects/sourcesans.adobe/

Added: head/x11-fonts/sourcesanspro-ttf/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-fonts/sourcesanspro-ttf/pkg-plist	Mon Aug 20 15:38:18 2012	(r302806)
@@ -0,0 +1,16 @@
+%%FONTDIR%%/SourceSansPro-Black.ttf
+%%FONTDIR%%/SourceSansPro-BlackIt.ttf
+%%FONTDIR%%/SourceSansPro-Bold.ttf
+%%FONTDIR%%/SourceSansPro-BoldIt.ttf
+%%FONTDIR%%/SourceSansPro-ExtraLight.ttf
+%%FONTDIR%%/SourceSansPro-ExtraLightIt.ttf
+%%FONTDIR%%/SourceSansPro-It.ttf
+%%FONTDIR%%/SourceSansPro-Light.ttf
+%%FONTDIR%%/SourceSansPro-LightIt.ttf
+%%FONTDIR%%/SourceSansPro-Regular.ttf
+%%FONTDIR%%/SourceSansPro-Semibold.ttf
+%%FONTDIR%%/SourceSansPro-SemiboldIt.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?201208201538.q7KFcJlq055012>