Date: Sat, 10 Apr 2010 05:49:45 GMT From: "Joseph S. Atkinson" <jsa@wickedmachine.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/145597: NEWPORT: x11-fonts/ecofont Message-ID: <201004100549.o3A5njMW058749@www.freebsd.org> Resent-Message-ID: <201004100550.o3A5o3Q7021373@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 145597 >Category: ports >Synopsis: NEWPORT: x11-fonts/ecofont >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: Sat Apr 10 05:50:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Joseph S. Atkinson >Release: >Organization: >Environment: >Description: Introducing Ecofont! Since this has made rounds in the media twice now, I figure it's time that FreeBSD does its part to help with any potential global ink shortages. Ecofont is a Bistream Vera Sans variant with tiny "swiss cheese" holes throughout the individual letters for the purposes of saving printer ink. Ecofont claims to save you up to 25% in ink and toner used. See http://www.ecofont.com/en/products/green/font/download-the-ink-saving-font.html >How-To-Repeat: >Fix: 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: # # ecofont/Makefile # ecofont/distinfo # ecofont/files/pkg-message.in # ecofont/pkg-descr # echo x - ecofont/Makefile sed 's/^X//' >ecofont/Makefile << '2999d33973e7ba9dc727af54140ac698' X# New ports collection makefile for: ecofont X# Date created: 2010-04-09 X# Whom: Joseph S. Atkinson <jsa@wickedmachine.net> X# X# $FreeBSD$ X# X XPORTNAME= ecofont XPORTVERSION= 2.05 XCATEGORIES= x11-fonts XMASTER_SITES= http://www.ecofont.com/assets/files/ XDISTNAME= ecofont_vera_sans_regular X XMAINTAINER= jsa@wickedmachine.net XCOMMENT= Environmentally friendly, ink saving typeface X XBUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig XRUN_DEPENDS= ${BUILD_DEPENDS} X XUSE_ZIP= yes XNO_BUILD= yes X XPLIST_FILES= ${ECOFONTDIR}/${ECOFONT} XPLIST_DIRS= ${ECOFONTDIR} X XSUB_LIST= ECOFONTDIR="${PREFIX}/${ECOFONTDIR}" XSUB_FILES= pkg-message X XECOFONT= ${DISTNAME}.ttf XECOFONTDIR= lib/X11/fonts/${PORTNAME} X X.include <bsd.port.pre.mk> X Xdo-install: X @${MKDIR} ${PREFIX}/${ECOFONTDIR} X @${INSTALL_DATA} ${WRKDIR}/${ECOFONT} ${PREFIX}/${ECOFONTDIR} X Xpost-install: X @${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${ECOFONTDIR} > /dev/null X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> 2999d33973e7ba9dc727af54140ac698 echo x - ecofont/distinfo sed 's/^X//' >ecofont/distinfo << 'f49fdd92e0d2ba6f008e8676c3412c59' XMD5 (ecofont_vera_sans_regular.zip) = 23b965283c7eb413cfbdafddc760eea0 XSHA256 (ecofont_vera_sans_regular.zip) = 7524332297fd6f228772a74fa7b2213c72a7ebf6c0e45b0e49084f70e4ac647b XSIZE (ecofont_vera_sans_regular.zip) = 54787 f49fdd92e0d2ba6f008e8676c3412c59 echo x - ecofont/files/pkg-message.in sed 's/^X//' >ecofont/files/pkg-message.in << 'deac31d0948c7e6f013fc41038b1d647' XYou need to have enabled X.org's freetype module to use TrueType fonts. Ensure Xthe following line is in the "Modules" section of xorg.conf: X X Load "freetype" X XThen append the following to xorg.conf's "Files" section: X X FontPath "%%ECOFONTDIR%%/" deac31d0948c7e6f013fc41038b1d647 echo x - ecofont/pkg-descr sed 's/^X//' >ecofont/pkg-descr << 'b88e6e41a6c209acea3a84a15217776e' XEcofont is designed to conserve ink and toner by placing minute holes in the Xindividual letters of the typeface. Ecofont claims to use up to 25% less ink, Xpotentially saving larger institutions thousands of dollars every year without Xsacrificing legibility. X XWWW: http://www.ecofont.com/ b88e6e41a6c209acea3a84a15217776e exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004100549.o3A5njMW058749>