1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Ecofont is designed to conserve ink and toner by placing minute holes in the

individual letters of the typeface. Ecofont claims to use up to 25% less ink,
potentially saving larger institutions thousands of dollars every year without
sacrificing legibility.

PR:		ports/145597
Submitted by:	Joseph S. Atkinson <jsa@wickedmachine.net>
This commit is contained in:
Wesley Shields 2010-04-11 14:07:30 +00:00
parent ce44402a96
commit c516925f51
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252560
4 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,40 @@
# New ports collection makefile for: ecofont
# Date created: 2010-04-09
# Whom: Joseph S. Atkinson <jsa@wickedmachine.net>
#
# $FreeBSD$
#
PORTNAME= ecofont
PORTVERSION= 2.05
CATEGORIES= x11-fonts
MASTER_SITES= http://www.ecofont.com/assets/files/
DISTNAME= ecofont_vera_sans_regular
MAINTAINER= jsa@wickedmachine.net
COMMENT= Environmentally friendly, ink saving typeface
BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_ZIP= yes
NO_BUILD= yes
PLIST_FILES= ${ECOFONTDIR}/${ECOFONT}
PLIST_DIRS= ${ECOFONTDIR}
SUB_LIST= ECOFONTDIR="${PREFIX}/${ECOFONTDIR}"
SUB_FILES= pkg-message
ECOFONT= ${DISTNAME}.ttf
ECOFONTDIR= lib/X11/fonts/${PORTNAME}
do-install:
@${MKDIR} ${PREFIX}/${ECOFONTDIR}
@${INSTALL_DATA} ${WRKDIR}/${ECOFONT} ${PREFIX}/${ECOFONTDIR}
post-install:
@${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${ECOFONTDIR} > /dev/null
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (ecofont_vera_sans_regular.zip) = 23b965283c7eb413cfbdafddc760eea0
SHA256 (ecofont_vera_sans_regular.zip) = 7524332297fd6f228772a74fa7b2213c72a7ebf6c0e45b0e49084f70e4ac647b
SIZE (ecofont_vera_sans_regular.zip) = 54787

View File

@ -0,0 +1,8 @@
You need to have enabled X.org's freetype module to use TrueType fonts. Ensure
the following line is in the "Modules" section of xorg.conf:
Load "freetype"
Then append the following to xorg.conf's "Files" section:
FontPath "%%ECOFONTDIR%%/"

View File

@ -0,0 +1,6 @@
Ecofont is designed to conserve ink and toner by placing minute holes in the
individual letters of the typeface. Ecofont claims to use up to 25% less ink,
potentially saving larger institutions thousands of dollars every year without
sacrificing legibility.
WWW: http://www.ecofont.com/