aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/arkpandora
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-08-17 21:49:11 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-08-17 21:49:11 +0000
commit956c0787f33ec2c4fcf3598f17ca1748154013bf (patch)
treec9493976fd145689a8a6052e8f4ccc7522bdc4c6 /x11-fonts/arkpandora
parent35916104d55b52fcadaa90c731e7f41e33cf7dc4 (diff)
downloadports-956c0787f33ec2c4fcf3598f17ca1748154013bf.tar.gz
ports-956c0787f33ec2c4fcf3598f17ca1748154013bf.zip
Notes
Diffstat (limited to 'x11-fonts/arkpandora')
-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
5 files changed, 132 insertions, 0 deletions
diff --git a/x11-fonts/arkpandora/Makefile b/x11-fonts/arkpandora/Makefile
new file mode 100644
index 000000000000..ac60634d6a1f
--- /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 000000000000..7f6d65853349
--- /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 000000000000..86a88aa5739d
--- /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 000000000000..1d83296ce19d
--- /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 000000000000..4bf58492e170
--- /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