summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2005-02-10 06:41:48 +0000
committermaho <maho@FreeBSD.org>2005-02-10 06:41:48 +0000
commit0b3326a039759d4ce29f498eab456fc46bebac0a (patch)
tree632e00fc8c0d91116df8308aef932572096aa4c9
parent0e392f2f8c47ae24975eeac82ba368e8345ba5e9 (diff)
downloadFreeBSD-ports-0b3326a039759d4ce29f498eab456fc46bebac0a.zip
FreeBSD-ports-0b3326a039759d4ce29f498eab456fc46bebac0a.tar.gz
Add cyberbit-ttfonts.
Bitstream Cyberbit is a TrueType font. It is an international font, containing characters from many languages. Each character is encoded with its Unicode value, according to Unicode 2.0 standards. Cyberbit was developed by Bitstream to provide Unicode Consortium members with a test font. It is therefore distributed freely to customers that need advanced multilingual fonts for testing and other non-commercial uses. Customers that wish to use Cyberbit for other purposes must license the font from Bitstream.
-rw-r--r--x11-fonts/Makefile1
-rw-r--r--x11-fonts/cyberbit-ttfonts/Makefile58
-rw-r--r--x11-fonts/cyberbit-ttfonts/distinfo16
-rw-r--r--x11-fonts/cyberbit-ttfonts/files/fonts.alias.cyberbit0
-rw-r--r--x11-fonts/cyberbit-ttfonts/files/fonts.dir.cyberbit17
-rw-r--r--x11-fonts/cyberbit-ttfonts/pkg-deinstall14
-rw-r--r--x11-fonts/cyberbit-ttfonts/pkg-descr10
-rw-r--r--x11-fonts/cyberbit-ttfonts/pkg-install20
-rw-r--r--x11-fonts/cyberbit-ttfonts/pkg-plist11
9 files changed, 147 insertions, 0 deletions
diff --git a/x11-fonts/Makefile b/x11-fonts/Makefile
index 6914783..4306145 100644
--- a/x11-fonts/Makefile
+++ b/x11-fonts/Makefile
@@ -19,6 +19,7 @@
SUBDIR += bitmap-fonts
SUBDIR += bitstream-vera
SUBDIR += code2000
+ SUBDIR += cyberbit-ttfonts
SUBDIR += cyr-rfx
SUBDIR += dejavu
SUBDIR += etlfonts
diff --git a/x11-fonts/cyberbit-ttfonts/Makefile b/x11-fonts/cyberbit-ttfonts/Makefile
new file mode 100644
index 0000000..1c1d665
--- /dev/null
+++ b/x11-fonts/cyberbit-ttfonts/Makefile
@@ -0,0 +1,58 @@
+# New ports collection makefile for: cyberbit-ttf
+# Date created: 20 Feb 2005
+# Whom: NAKATA, Maho <maho@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= cyberbit-ttfonts
+PORTVERSION= 2.0.20050220
+CATEGORIES= x11-fonts
+MASTER_SITES= ftp://ftp.riken.go.jp/pub/net/netscape/communicator/extras/fonts/windows/ \
+ ftp://ftp-au.netscape.com/pub/communicator/extras/fonts/windows/ \
+ ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/
+DISTFILES= Cyberbit.ZIP
+.if !defined(NOPORTDOCS)
+DISTFILES+= 97CyberBase.Doc 97CyberBit.Doc 97CyberCJK.Doc \
+ CYBERBIT.DOC CYBERCJK.DOC READMEfirst.txt ReadMe.htm
+.endif
+DIST_SUBDIR= cyberbit
+EXTRACT_ONLY= Cyberbit.ZIP
+
+MAINTAINER= maho@FreeBSD.org
+COMMENT= Bitstream Cyberbit is a TrueType font covers Unicode 2.0
+
+RESTRICTED= "Redistribution not permitted; single user license only."
+
+USE_X_PREFIX= yes
+USE_ZIP= yes
+NO_BUILD= yes
+
+FONTSDIR= lib/X11/fonts/TrueType
+MAKE_ENV= FONTSDIR=${FONTSDIR}
+PLIST_SUB= FONTSDIR=${FONTSDIR}
+WRKSRC= ${WRKDIR}
+
+do-install:
+.if !exists(${PREFIX}/${FONTSDIR})
+ @${ECHO} "*********************************************************"
+ @${ECHO} "Please add ${PREFIX}/${FONTSDIR} to your font path"
+ @${ECHO} "and load 'xtt' module in /etc/x11/xorg.conf."
+ @${ECHO} "*********************************************************"
+ ${MKDIR} ${PREFIX}/${FONTSDIR}
+.endif
+ ${INSTALL_DATA} ${WRKSRC}/*.ttf \
+ ${FILESDIR}/fonts.alias.cyberbit \
+ ${FILESDIR}/fonts.dir.cyberbit \
+ ${PREFIX}/${FONTSDIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/97CyberBase.Doc ${DOCSDIR}
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/97CyberBit.Doc ${DOCSDIR}
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/97CyberCJK.Doc ${DOCSDIR}
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/CYBERBIT.DOC ${DOCSDIR}
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/CYBERCJK.DOC ${DOCSDIR}
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/READMEfirst.txt ${DOCSDIR}
+ ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/ReadMe.htm ${DOCSDIR}
+.endif
+ ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+.include <bsd.port.mk>
diff --git a/x11-fonts/cyberbit-ttfonts/distinfo b/x11-fonts/cyberbit-ttfonts/distinfo
new file mode 100644
index 0000000..c775d13
--- /dev/null
+++ b/x11-fonts/cyberbit-ttfonts/distinfo
@@ -0,0 +1,16 @@
+MD5 (cyberbit/Cyberbit.ZIP) = 17d282e7d1d3c55a52acd6e7fb6452b2
+SIZE (cyberbit/Cyberbit.ZIP) = 6427108
+MD5 (cyberbit/97CyberBase.Doc) = 65a063ae7bf4c22f5b24dcc373aec043
+SIZE (cyberbit/97CyberBase.Doc) = 31232
+MD5 (cyberbit/97CyberBit.Doc) = 4512e707b24d555af6fba4fc7ebf4e09
+SIZE (cyberbit/97CyberBit.Doc) = 36352
+MD5 (cyberbit/97CyberCJK.Doc) = 18853fba3eb47fa5f7ac5b6f3de48254
+SIZE (cyberbit/97CyberCJK.Doc) = 21504
+MD5 (cyberbit/CYBERBIT.DOC) = cd73ca1a48d78fdcdacfbd902882fd68
+SIZE (cyberbit/CYBERBIT.DOC) = 11776
+MD5 (cyberbit/CYBERCJK.DOC) = b4e2e6381d2f33c0a3691b54963cf442
+SIZE (cyberbit/CYBERCJK.DOC) = 1146
+MD5 (cyberbit/READMEfirst.txt) = c96d4a2736ca7c14ebe652796d12f4e6
+SIZE (cyberbit/READMEfirst.txt) = 2738
+MD5 (cyberbit/ReadMe.htm) = ca56bcac81c6c9155d40d47054cf2c5c
+SIZE (cyberbit/ReadMe.htm) = 34832
diff --git a/x11-fonts/cyberbit-ttfonts/files/fonts.alias.cyberbit b/x11-fonts/cyberbit-ttfonts/files/fonts.alias.cyberbit
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/x11-fonts/cyberbit-ttfonts/files/fonts.alias.cyberbit
diff --git a/x11-fonts/cyberbit-ttfonts/files/fonts.dir.cyberbit b/x11-fonts/cyberbit-ttfonts/files/fonts.dir.cyberbit
new file mode 100644
index 0000000..d3c89e3
--- /dev/null
+++ b/x11-fonts/cyberbit-ttfonts/files/fonts.dir.cyberbit
@@ -0,0 +1,17 @@
+16
+Cyberbit.ttf -Bitstream-Bitstream Cyberbit-medium-r-normal--0-0-0-0-c-0-ascii-0
+Cyberbit.ttf -Bitstream-Bitstream Cyberbit-medium-r-normal--0-0-0-0-c-0-fcd8859-15
+Cyberbit.ttf -Bitstream-Bitstream Cyberbit-medium-r-normal--0-0-0-0-c-0-iso10646-1
+Cyberbit.ttf -Bitstream-Bitstream Cyberbit-medium-r-normal--0-0-0-0-c-0-iso8859-1
+Cyberbit.ttf -Bitstream-Bitstream Cyberbit-medium-r-normal--0-0-0-0-c-0-iso8859-10
+Cyberbit.ttf -Bitstream-Bitstream Cyberbit-medium-r-normal--0-0-0-0-c-0-iso8859-15
+Cyberbit.ttf -Bitstream-Bitstream Cyberbit-medium-r-normal--0-0-0-0-c-0-iso8859-2
+Cyberbit.ttf -Bitstream-Bitstream Cyberbit-medium-r-normal--0-0-0-0-c-0-iso8859-3
+Cyberbit.ttf -Bitstream-Bitstream Cyberbit-medium-r-normal--0-0-0-0-c-0-iso8859-4
+Cyberbit.ttf -Bitstream-Bitstream Cyberbit-medium-r-normal--0-0-0-0-c-0-iso8859-5
+Cyberbit.ttf -Bitstream-Bitstream Cyberbit-medium-r-normal--0-0-0-0-c-0-iso8859-6
+Cyberbit.ttf -Bitstream-Bitstream Cyberbit-medium-r-normal--0-0-0-0-c-0-iso8859-7
+Cyberbit.ttf -Bitstream-Bitstream Cyberbit-medium-r-normal--0-0-0-0-c-0-iso8859-8
+Cyberbit.ttf -Bitstream-Bitstream Cyberbit-medium-r-normal--0-0-0-0-c-0-iso8859-9
+Cyberbit.ttf -Bitstream-Bitstream Cyberbit-medium-r-normal--0-0-0-0-c-0-koi8-r
+Cyberbit.ttf -Bitstream-Bitstream Cyberbit-medium-r-normal--0-0-0-0-c-0-koi8-ru
diff --git a/x11-fonts/cyberbit-ttfonts/pkg-deinstall b/x11-fonts/cyberbit-ttfonts/pkg-deinstall
new file mode 100644
index 0000000..2d451ef
--- /dev/null
+++ b/x11-fonts/cyberbit-ttfonts/pkg-deinstall
@@ -0,0 +1,14 @@
+#!/bin/sh
+XFLDNAME="-Bitstream-Bitstream\ Cyberbit-"
+if [ "$2" != "DEINSTALL" ]; then
+ exit 0
+fi
+FONTDIR=${PKG_PREFIX}/lib/X11/fonts/TrueType
+cd ${FONTDIR}
+sed -e "/${XFLDNAME}/d" fonts.dir > fonts.dir.tmp
+numfonts=$(echo $(cat fonts.dir.tmp | wc -l) - 1 | bc)
+echo ${numfonts} > fonts.dir
+sed -e 1d fonts.dir.tmp >> fonts.dir
+sed -e "/^${XFLDNAME}/d" fonts.alias > fonts.alias.tmp
+mv -f fonts.alias.tmp fonts.alias
+rm -f fonts.dir.tmp
diff --git a/x11-fonts/cyberbit-ttfonts/pkg-descr b/x11-fonts/cyberbit-ttfonts/pkg-descr
new file mode 100644
index 0000000..ec43b7a
--- /dev/null
+++ b/x11-fonts/cyberbit-ttfonts/pkg-descr
@@ -0,0 +1,10 @@
+Bitstream Cyberbit is a TrueType font. It is an international font, containing
+characters from many languages. Each character is encoded with its Unicode
+value, according to Unicode 2.0 standards.
+
+Cyberbit was developed by Bitstream to provide Unicode Consortium members with
+a test font. It is therefore distributed freely to customers that need advanced
+multilingual fonts for testing and other non-commercial uses. Customers that
+wish to use Cyberbit for other purposes must license the font from Bitstream.
+
+WWW: http://www.bitstream.com/
diff --git a/x11-fonts/cyberbit-ttfonts/pkg-install b/x11-fonts/cyberbit-ttfonts/pkg-install
new file mode 100644
index 0000000..08f4566
--- /dev/null
+++ b/x11-fonts/cyberbit-ttfonts/pkg-install
@@ -0,0 +1,20 @@
+#!/bin/sh
+XFLDNAME="-Bitstream-Bitstream Cyberbit-"
+FONTNAME=cyberbit
+FONTDIR=${PKG_PREFIX}/lib/X11/fonts/TrueType
+if [ "$2" = "PRE-INSTALL" ]; then
+ echo "Please add ${FONTDIR} to your /etc/x11/xorg.conf file"
+ exit 0
+fi
+cd ${FONTDIR}
+touch fonts.dir
+sed -e "/${XFLDNAME}/d" fonts.dir > fonts.dir.tmp
+numfonts=$(echo $(cat fonts.dir.tmp fonts.dir.${FONTNAME} | wc -l) - 2 | bc)
+echo ${numfonts} > fonts.dir
+sed -e 1d fonts.dir.tmp >> fonts.dir
+sed -e 1d fonts.dir.$FONTNAME >> fonts.dir
+touch fonts.alias
+sed -e "/^${XFLDNAME}/d" fonts.alias > fonts.alias.tmp
+mv -f fonts.alias.tmp fonts.alias
+cat fonts.alias.${FONTNAME} >> fonts.alias
+rm -f fonts.dir.tmp fonts.alias.tmp
diff --git a/x11-fonts/cyberbit-ttfonts/pkg-plist b/x11-fonts/cyberbit-ttfonts/pkg-plist
new file mode 100644
index 0000000..cc7a8f4
--- /dev/null
+++ b/x11-fonts/cyberbit-ttfonts/pkg-plist
@@ -0,0 +1,11 @@
+%%FONTSDIR%%/fonts.alias.cyberbit
+%%FONTSDIR%%/fonts.dir.cyberbit
+%%FONTSDIR%%/Cyberbit.ttf
+%%PORTDOCS%%%%DOCSDIR%%/97CyberBase.Doc
+%%PORTDOCS%%%%DOCSDIR%%/97CyberBit.Doc
+%%PORTDOCS%%%%DOCSDIR%%/97CyberCJK.Doc
+%%PORTDOCS%%%%DOCSDIR%%/CYBERBIT.DOC
+%%PORTDOCS%%%%DOCSDIR%%/CYBERCJK.DOC
+%%PORTDOCS%%%%DOCSDIR%%/READMEfirst.txt
+%%PORTDOCS%%%%DOCSDIR%%/ReadMe.htm
+@dirrm %%PORTDOCS%%%%DOCSDIR%%
OpenPOWER on IntegriCloud