From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 12 20:40:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5E77106566B for ; Sun, 12 Aug 2012 20:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9EB478FC0C for ; Sun, 12 Aug 2012 20:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7CKe1u0068230 for ; Sun, 12 Aug 2012 20:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7CKe1PP068229; Sun, 12 Aug 2012 20:40:01 GMT (envelope-from gnats) Resent-Date: Sun, 12 Aug 2012 20:40:01 GMT Resent-Message-Id: <201208122040.q7CKe1PP068229@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pedro Giffuni Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF14E106564A for ; Sun, 12 Aug 2012 20:31:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 8F6788FC16 for ; Sun, 12 Aug 2012 20:31:00 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q7CKV0lT013500 for ; Sun, 12 Aug 2012 20:31:00 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q7CKUxf9013499; Sun, 12 Aug 2012 20:30:59 GMT (envelope-from nobody) Message-Id: <201208122030.q7CKUxf9013499@red.freebsd.org> Date: Sun, 12 Aug 2012 20:30:59 GMT From: Pedro Giffuni To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/170568: New port x11-fonts/sourcesanspro-ttf X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 20:40:01 -0000 >Number: 170568 >Category: ports >Synopsis: New port x11-fonts/sourcesanspro-ttf >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Aug 12 20:40:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Pedro Giffuni >Release: 9.1-PRERELEASE >Organization: >Environment: FreeBSD pcbsd-8555 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Sat Jul 21 13:36:10 COT 2012 Pedro@pcbsd-8555:/sys/amd64/compile/GENERIC amd64 >Description: Adobe has made available an Open source font that is specifically designed for UI and is also very useful for Office suites like Apache OpenOffice. http://blogs.adobe.com/typblography/2012/08/source-sans-pro.html I have created an initial port of the TTF versions based on the Chrome cross-core fonts port. >How-To-Repeat: >Fix: shar file attached Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # sourcesanspro-ttf # sourcesanspro-ttf/files # sourcesanspro-ttf/files/pkg-message.in # sourcesanspro-ttf/Makefile # sourcesanspro-ttf/distinfo # sourcesanspro-ttf/pkg-descr # sourcesanspro-ttf/pkg-plist # echo c - sourcesanspro-ttf mkdir -p sourcesanspro-ttf > /dev/null 2>&1 echo c - sourcesanspro-ttf/files mkdir -p sourcesanspro-ttf/files > /dev/null 2>&1 echo x - sourcesanspro-ttf/files/pkg-message.in sed 's/^X//' >sourcesanspro-ttf/files/pkg-message.in << '86b07dba0aa2b54f626fc74a4db3559c' XYou can start using the fonts by following these instructions: X XAdd the following line to the "Files" section of your x.org configuration file: X X FontPath "%%FONTDIR%%/" 86b07dba0aa2b54f626fc74a4db3559c echo x - sourcesanspro-ttf/Makefile sed 's/^X//' >sourcesanspro-ttf/Makefile << 'ab07ebf6b9854452fa748cbc4ee1bede' X# New ports collection makefile for: SourceSansPro-ttf X# Date created: 11 Aug 2012 X# Whom: Pedro Giffuni X# X# $FreeBSD$ X# X XPORTNAME= sourcesanspro-ttf XPORTVERSION= 1.033 XCATEGORIES= x11-fonts XMASTER_SITES= SF/sourcesans.adobe XDISTNAME= SourceSansPro_FontsOnly-${PORTVERSION} X XMAINTAINER= office@FreeBSD.org XCOMMENT= A set of fonts by Adobe designed for user interfaces X XLICENSE= OFL XLICENSE_NAME= SIL OPEN FONT LICENSE Version 1.1 XLICENSE_FILE= ${WRKSRC}/LICENSE.txt XLICENSE_PERMS= auto-accept X XBUILD_DEPENDS= mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \ X mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir X XUSE_ZIP= yes XUSE_XORG= x11 X XPLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}" X XSUB_FILES= pkg-message XPKGMESSAGE= ${WRKDIR}/pkg-message XSUB_LIST= FONTDIR=${FONTDIR} X XFONTNAME= SourceSansPro XFONTDIR= ${PREFIX}/lib/X11/fonts/${FONTNAME} XINSTDAT= fonts.dir fonts.scale X XMKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale XMKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir X Xdo-build: X cd ${WRKSRC}/TTF && ${MKFONTSCL_CMD} X cd ${WRKSRC}/TTF && ${MKFONTDIR_CMD} X Xdo-install: X ${MKDIR} ${FONTDIR} X cd ${WRKSRC}/TTF && \ X ${INSTALL_DATA} ${INSTDAT} *.ttf ${FONTDIR} X Xpost-install: X @${ECHO_MSG} X @${CAT} ${PKGMESSAGE} X @${ECHO_MSG} X X.include ab07ebf6b9854452fa748cbc4ee1bede echo x - sourcesanspro-ttf/distinfo sed 's/^X//' >sourcesanspro-ttf/distinfo << '2b3e46f1cd7a4d561275f751c2cec5b3' XSHA256 (SourceSansPro_FontsOnly-1.033.zip) = 6d47d19f9e8e0211af24cad254e6fd69af16f2dde8c902516039607c0f213c8d XSIZE (SourceSansPro_FontsOnly-1.033.zip) = 1372793 2b3e46f1cd7a4d561275f751c2cec5b3 echo x - sourcesanspro-ttf/pkg-descr sed 's/^X//' >sourcesanspro-ttf/pkg-descr << '2b2e4d568e1578975fe279133b4364b3' XSource Sans Pro: Adobe’s first open source type family X XSource Sans Pro was designed by Paul D. Hunt as Adobe's first open source Xtypeface family, conceived primarily as a typeface for user interfaces. XSource Sans Pro draws inspiration from the clarity and legibility of Xtwentieth-century American gothic typeface designs. X XSource Sans Pro currently supports a wide range of languages using Latin Xscript, and includes all the characters in the Adobe Latin 4 glyph set. As Xan open source project, it is expected that incremental updates will be Xmade over time to extend glyph set coverage and functionality. X XWWW: http://sourceforge.net/projects/sourcesans.adobe/ 2b2e4d568e1578975fe279133b4364b3 echo x - sourcesanspro-ttf/pkg-plist sed 's/^X//' >sourcesanspro-ttf/pkg-plist << '877dc81533841a2e482d9c9e08dd7272' X%%FONTDIR%%/SourceSansPro-Black.ttf X%%FONTDIR%%/SourceSansPro-BlackIt.ttf X%%FONTDIR%%/SourceSansPro-Bold.ttf X%%FONTDIR%%/SourceSansPro-BoldIt.ttf X%%FONTDIR%%/SourceSansPro-ExtraLight.ttf X%%FONTDIR%%/SourceSansPro-ExtraLightIt.ttf X%%FONTDIR%%/SourceSansPro-It.ttf X%%FONTDIR%%/SourceSansPro-Light.ttf X%%FONTDIR%%/SourceSansPro-LightIt.ttf X%%FONTDIR%%/SourceSansPro-Regular.ttf X%%FONTDIR%%/SourceSansPro-Semibold.ttf X%%FONTDIR%%/SourceSansPro-SemiboldIt.ttf X%%FONTDIR%%/fonts.dir X%%FONTDIR%%/fonts.scale X@unexec rm %D/%%FONTDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true X@dirrm %%FONTDIR%% 877dc81533841a2e482d9c9e08dd7272 exit >Release-Note: >Audit-Trail: >Unformatted: