diff options
author | Maho Nakata <maho@FreeBSD.org> | 2005-02-10 06:41:48 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2005-02-10 06:41:48 +0000 |
commit | 0bec1d1481d0d753a9a41cf7404d00979831111c (patch) | |
tree | d1fa7ec488a69d67d65d1080d2583089a6f598e2 /x11-fonts/cyberbit-ttfonts/pkg-deinstall | |
parent | - Update to 3.13 (diff) |
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.
Notes
Notes:
svn path=/head/; revision=128448
Diffstat (limited to 'x11-fonts/cyberbit-ttfonts/pkg-deinstall')
-rw-r--r-- | x11-fonts/cyberbit-ttfonts/pkg-deinstall | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-fonts/cyberbit-ttfonts/pkg-deinstall b/x11-fonts/cyberbit-ttfonts/pkg-deinstall new file mode 100644 index 000000000000..2d451ef4675b --- /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 |