aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2010-04-11 14:07:30 +0000
committerWesley Shields <wxs@FreeBSD.org>2010-04-11 14:07:30 +0000
commitc516925f515d807b82878cde7a4048af1a519891 (patch)
tree757c8d6fbc279326f44fe0575259808af2df5c76 /x11-fonts
parentce44402a96025297a5917f4ca0d813c66815ba0c (diff)
downloadports-c516925f515d807b82878cde7a4048af1a519891.tar.gz
ports-c516925f515d807b82878cde7a4048af1a519891.zip
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>
Notes
Notes: svn path=/head/; revision=252560
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/ecofont/Makefile40
-rw-r--r--x11-fonts/ecofont/distinfo3
-rw-r--r--x11-fonts/ecofont/files/pkg-message.in8
-rw-r--r--x11-fonts/ecofont/pkg-descr6
4 files changed, 57 insertions, 0 deletions
diff --git a/x11-fonts/ecofont/Makefile b/x11-fonts/ecofont/Makefile
new file mode 100644
index 000000000000..9b07b0bda1b7
--- /dev/null
+++ b/x11-fonts/ecofont/Makefile
@@ -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>
diff --git a/x11-fonts/ecofont/distinfo b/x11-fonts/ecofont/distinfo
new file mode 100644
index 000000000000..02bfad4a3412
--- /dev/null
+++ b/x11-fonts/ecofont/distinfo
@@ -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
diff --git a/x11-fonts/ecofont/files/pkg-message.in b/x11-fonts/ecofont/files/pkg-message.in
new file mode 100644
index 000000000000..5cdd135c8507
--- /dev/null
+++ b/x11-fonts/ecofont/files/pkg-message.in
@@ -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%%/"
diff --git a/x11-fonts/ecofont/pkg-descr b/x11-fonts/ecofont/pkg-descr
new file mode 100644
index 000000000000..b46c140f1ab5
--- /dev/null
+++ b/x11-fonts/ecofont/pkg-descr
@@ -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/