Date: Tue, 25 Sep 2012 11:36:56 +0900 (JST) From: Masaki TAGAWA <masaki@club.kyutech.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/171935: New port: x11-fonts/sourcecodepro-ttf Message-ID: <201209250236.q8P2auaK033402@rosetta.club.kyutech.ac.jp> Resent-Message-ID: <201209250240.q8P2e1jt050351@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171935 >Category: ports >Synopsis: New port: x11-fonts/sourcecodepro-ttf >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 25 02:40:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Masaki TAGAWA >Release: FreeBSD 9.0-STABLE amd64 >Organization: Kyushu Institute of Technology >Environment: System: FreeBSD rosetta.club.kyutech.ac.jp 9.0-STABLE FreeBSD 9.0-STABLE #8: Mon Jul 2 11:36:08 JST 2012 root@rosetta.club.kyutech.ac.jp:/usr/obj/usr/src/sys/CLUBVMKERNEL amd64 >Description: Adobe has made available an Open source font that is specifically designed for Coders. I have created an initial port of the TTF versions based on x11-fonts/sourcesanspro-ttf. http://blogs.adobe.com/typblography/2012/09/source-code-pro.html >How-To-Repeat: * shar file Attached - checked on Redports.org [1] [1] https://redports.org/buildarchive/20120925014332-88806 >Fix: --- sourcecodepro-ttf.shar begins here --- # 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: # # sourcecodepro-ttf # sourcecodepro-ttf/pkg-descr # sourcecodepro-ttf/Makefile # sourcecodepro-ttf/distinfo # sourcecodepro-ttf/pkg-plist # sourcecodepro-ttf/files # sourcecodepro-ttf/files/pkg-message.in # echo c - sourcecodepro-ttf mkdir -p sourcecodepro-ttf > /dev/null 2>&1 echo x - sourcecodepro-ttf/pkg-descr sed 's/^X//' >sourcecodepro-ttf/pkg-descr << '4ae125b61d19f0aa9b0357d49b6e03db' XSource Code Pro was designed by Paul D. Hunt as a companion to Source Sans. XThis complementary family was adapted from the Source design due to a Xrequest to create a monospaced version for coding applications. X XSource Code 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/sourcecodepro.adobe/ 4ae125b61d19f0aa9b0357d49b6e03db echo x - sourcecodepro-ttf/Makefile sed 's/^X//' >sourcecodepro-ttf/Makefile << 'ca8d71b53c717341144360353a17d810' X# New ports collection makefile for: SourceCodePro-ttf X# Date created: 25 Sep 2012 X# Whom: Masaki TAGAWA X# X# $FreeBSD$ X# X XPORTNAME= sourcecodepro-ttf XPORTVERSION= 1.009 XCATEGORIES= x11-fonts XMASTER_SITES= SF/sourcecodepro.adobe XDISTNAME= SourceCodePro_FontsOnly-${PORTVERSION} X XMAINTAINER= masaki@club.kyutech.ac.jp XCOMMENT= A set of fonts by Adobe designed for coders 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= SourceCodePro 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}/ && ${MKFONTSCL_CMD} X cd ${WRKSRC}/ && ${MKFONTDIR_CMD} X Xdo-install: X ${MKDIR} ${FONTDIR} X cd ${WRKSRC}/ && \ X ${INSTALL_DATA} ${INSTDAT} *.ttf ${FONTDIR} X Xpost-install: X @${ECHO_MSG} X @${CAT} ${PKGMESSAGE} X @${ECHO_MSG} X X.include <bsd.port.mk> ca8d71b53c717341144360353a17d810 echo x - sourcecodepro-ttf/distinfo sed 's/^X//' >sourcecodepro-ttf/distinfo << 'ae027bdeaed32958d1ffed27a4f3a74d' XSHA256 (SourceCodePro_FontsOnly-1.009.zip) = 8681e3a1b0c32e7c32b03d883a429cd460f4bded8953d67d6e32f499ba3c135c XSIZE (SourceCodePro_FontsOnly-1.009.zip) = 613755 ae027bdeaed32958d1ffed27a4f3a74d echo x - sourcecodepro-ttf/pkg-plist sed 's/^X//' >sourcecodepro-ttf/pkg-plist << 'ca266f0d75597972e4cbe822ed0e5336' X%%FONTDIR%%/SourceCodePro-Black.ttf X%%FONTDIR%%/SourceCodePro-Bold.ttf X%%FONTDIR%%/SourceCodePro-ExtraLight.ttf X%%FONTDIR%%/SourceCodePro-Light.ttf X%%FONTDIR%%/SourceCodePro-Regular.ttf X%%FONTDIR%%/SourceCodePro-Semibold.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%% ca266f0d75597972e4cbe822ed0e5336 echo c - sourcecodepro-ttf/files mkdir -p sourcecodepro-ttf/files > /dev/null 2>&1 echo x - sourcecodepro-ttf/files/pkg-message.in sed 's/^X//' >sourcecodepro-ttf/files/pkg-message.in << '3a3ff52b9056b2cecc21fce60cd6bed1' 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%%/" 3a3ff52b9056b2cecc21fce60cd6bed1 exit --- sourcecodepro-ttf.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209250236.q8P2auaK033402>