summaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-17 21:49:11 +0000
committerkrion <krion@FreeBSD.org>2004-08-17 21:49:11 +0000
commit5c666a853e600c8921802a0f3ee1a31efba158ce (patch)
tree0402fda2ad45222267825654ae9e52a1cb76c04a /x11-fonts
parentd41543c55dfc2486aaf3ffb52aac2923616f1c8a (diff)
downloadFreeBSD-ports-5c666a853e600c8921802a0f3ee1a31efba158ce.zip
FreeBSD-ports-5c666a853e600c8921802a0f3ee1a31efba158ce.tar.gz
Add arkpandora 2.04,
This font pack is designed for screen and print and as a "drop-in" replacement for Arial and Time New Roman, so people can stop using not-so-free Webfonts from Microsoft. You get the following fonts: Aerial, Aerial Mono, Tymes & Veranda (no this is not a typo). It will automatically make the fonts recognizable by the system. It also makes Aerial the default font for the Sans-Serif and Tymes the Serif font types. The fonts are derived from the Bitstream Vera fonts and are available under the same terms as Vera. PR: ports/70564 Submitted by: Alexey Dokuchaev <danfe@regency.nsu.ru>
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/arkpandora/Makefile82
-rw-r--r--x11-fonts/arkpandora/distinfo2
-rw-r--r--x11-fonts/arkpandora/pkg-descr13
-rw-r--r--x11-fonts/arkpandora/pkg-message12
-rw-r--r--x11-fonts/arkpandora/pkg-plist23
6 files changed, 133 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 7559a42..cb33499 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -10,6 +10,7 @@
SUBDIR += XFree86-4-fontEncodings
SUBDIR += XFree86-4-fontScalable
SUBDIR += Xg
+ SUBDIR += arkpandora
SUBDIR += artwiz-aleczapka
SUBDIR += artwiz-fonts
SUBDIR += bdfresize
diff --git a/x11-fonts/arkpandora/Makefile b/x11-fonts/arkpandora/Makefile
new file mode 100644
index 0000000..ac60634
--- /dev/null
+++ b/x11-fonts/arkpandora/Makefile
@@ -0,0 +1,82 @@
+# New ports collection makefile for: Arkpandora TrueType fonts
+# Date created: 17 Aug 2004
+# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= arkpandora
+PORTVERSION= 2.04
+CATEGORIES= x11-fonts
+MASTER_SITES= http://www.users.bigpond.net.au/gavindi/
+DISTNAME= ttf-${PORTNAME}-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= danfe@regency.nsu.ru
+COMMENT= Arkpandora TrueType fonts
+
+BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig \
+ ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir
+RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
+
+USE_X_PREFIX= yes
+
+PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
+
+MSG_FILE= ${PKGDIR}/pkg-message
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+#
+# Local variables
+#
+
+FONTNAME= ${PORTNAME}
+FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
+TTMKFDIR_CMD?= ${X11BASE}/bin/ttmkfdir
+
+.SILENT:
+
+post-patch:
+ ${SED} 's|%%FONTSDIR%%|${FONTSDIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
+
+#
+# Build
+#
+
+do-build: make-fonts.dir
+
+make-fonts.dir:
+ ${TTMKFDIR_CMD} -c -d ${WRKSRC} -f Arkpandora | ${CAT} -n | ${SED} -e ' \
+ s,^ 1,100000,' | ${SORT} -r | ${CUT} -c 8- > ${WRKSRC}/fonts.dir
+
+#
+# Install
+#
+
+do-install: install-fonts install-fonts.dir install-conf
+
+install-fonts:
+ ${MKDIR} ${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.TXT ${FONTSDIR}
+
+install-fonts.dir:
+ ${INSTALL_DATA} ${WRKSRC}/fonts.dir ${FONTSDIR}
+ ${LN} -fs fonts.dir ${FONTSDIR}/fonts.scale
+
+install-conf:
+ ${MKDIR} ${PREFIX}/etc/fonts
+ if [ ! -f ${PREFIX}/etc/fonts/local.conf ]; then \
+ ${INSTALL_DATA} ${WRKSRC}/local.conf.arkpandora \
+ ${PREFIX}/etc/fonts/local.conf ; \
+ fi
+ ${INSTALL_DATA} ${WRKSRC}/local.conf.arkpandora ${PREFIX}/etc/fonts
+
+post-install:
+ ${ECHO_MSG} "===> Running fc-cache"
+ -${X11BASE}/bin/fc-cache -f -v ${FONTSDIR}
+ ${ECHO_MSG}
+ ${CAT} ${PKGMESSAGE}
+ ${ECHO_MSG}
+
+.include <bsd.port.mk>
diff --git a/x11-fonts/arkpandora/distinfo b/x11-fonts/arkpandora/distinfo
new file mode 100644
index 0000000..7f6d658
--- /dev/null
+++ b/x11-fonts/arkpandora/distinfo
@@ -0,0 +1,2 @@
+MD5 (ttf-arkpandora-2.04.tgz) = bbe9491c6145ab981d85fe90b582d3a0
+SIZE (ttf-arkpandora-2.04.tgz) = 417520
diff --git a/x11-fonts/arkpandora/pkg-descr b/x11-fonts/arkpandora/pkg-descr
new file mode 100644
index 0000000..86a88aa
--- /dev/null
+++ b/x11-fonts/arkpandora/pkg-descr
@@ -0,0 +1,13 @@
+This font pack is designed for screen and print and as a "drop-in"
+replacement for Arial and Time New Roman.
+
+You get the following fonts: Aerial, Aerial Mono, Tymes & Veranda.
+
+It will automatically make the fonts recognizable by the system. It
+also makes Aerial the default font for the Sans-Serif and Tymes the
+Serif font types.
+
+The fonts are derived from the Bitstream Vera fonts and are available
+under the same terms as Vera.
+
+WWW: http://www.users.bigpond.net.au/gavindi/
diff --git a/x11-fonts/arkpandora/pkg-message b/x11-fonts/arkpandora/pkg-message
new file mode 100644
index 0000000..1d83296
--- /dev/null
+++ b/x11-fonts/arkpandora/pkg-message
@@ -0,0 +1,12 @@
+IMPORTANT - READ CAREFULLY: Please read the COPYRIGHT included with these fonts
+before using. The copyright can be found at %%FONTSDIR%%/COPYRIGHT.TXT.
+To use these fonts, follow the instructions below.
+
+Make sure that the freetype module is loaded. If it is not, add the following
+line to the "Modules" section of XF86Config:
+
+ Load "freetype"
+
+Add the following line to the "Files" section of XF86Config:
+
+ FontPath "%%FONTSDIR%%/"
diff --git a/x11-fonts/arkpandora/pkg-plist b/x11-fonts/arkpandora/pkg-plist
new file mode 100644
index 0000000..4bf5849
--- /dev/null
+++ b/x11-fonts/arkpandora/pkg-plist
@@ -0,0 +1,23 @@
+@unexec if cmp -s %D/etc/fonts/local.conf %D/etc/fonts/local.conf.arkpandora; then rm -f %D/etc/fonts/local.conf; fi
+etc/fonts/local.conf.arkpandora
+@exec [ ! -f %B/local.conf ] && cp %B/%f %B/local.conf
+%%FONTSDIR%%/COPYRIGHT.TXT
+%%FONTSDIR%%/AerialBdIt.ttf
+%%FONTSDIR%%/AerialBd.ttf
+%%FONTSDIR%%/AerialIt.ttf
+%%FONTSDIR%%/AerialMonoBdIt.ttf
+%%FONTSDIR%%/AerialMonoBd.ttf
+%%FONTSDIR%%/AerialMonoIt.ttf
+%%FONTSDIR%%/AerialMono.ttf
+%%FONTSDIR%%/Aerial.ttf
+%%FONTSDIR%%/TymesBd.ttf
+%%FONTSDIR%%/Tymes.ttf
+%%FONTSDIR%%/VerandaBdIt.ttf
+%%FONTSDIR%%/VerandaBd.ttf
+%%FONTSDIR%%/VerandaIt.ttf
+%%FONTSDIR%%/Veranda.ttf
+%%FONTSDIR%%/fonts.dir
+@unexec /bin/rm %D/%%FONTSDIR%%/fonts.scale
+@unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
+@dirrm %%FONTSDIR%%
+@exec %%X11BASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true
OpenPOWER on IntegriCloud