Date: Sun, 12 Aug 2012 20:30:59 GMT From: Pedro Giffuni <giffunip@tutopia.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/170568: New port x11-fonts/sourcesanspro-ttf Message-ID: <201208122030.q7CKUxf9013499@red.freebsd.org> Resent-Message-ID: <201208122040.q7CKe1PP068229@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208122030.q7CKUxf9013499>