aboutsummaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
Diffstat (limited to 'fonts')
-rwxr-xr-xfonts/font_otf_inconsolata/font_otf_inconsolata.build64
-rwxr-xr-xfonts/font_pcf_terminus/font_pcf_terminus.build71
-rwxr-xr-xfonts/font_psfu_sigma/font_psfu_sigma.build49
-rw-r--r--fonts/font_ttf_courierprime/courier-prime-1.203-fontconfig.patch.xzbin0 -> 364 bytes
-rwxr-xr-xfonts/font_ttf_courierprime/font_ttf_courierprime.build71
-rwxr-xr-xfonts/font_ttf_dejavu/font_ttf_dejavu.build77
-rw-r--r--fonts/font_ttf_droid/droid-20130201-fontconfig.patch.xzbin0 -> 708 bytes
-rwxr-xr-xfonts/font_ttf_droid/font_ttf_droid.build74
-rwxr-xr-xfonts/font_ttf_excelsior/font_ttf_excelsior.build64
-rwxr-xr-xfonts/font_ttf_gentium/font_ttf_gentium.build65
-rwxr-xr-xfonts/font_ttf_gw/font_ttf_gw.build71
-rwxr-xr-xfonts/font_ttf_liberation/font_ttf_liberation.build77
-rw-r--r--fonts/font_ttf_liberation/liberation-fonts-ttf-2.00.1-fontconfig.patch.xzbin0 -> 516 bytes
-rwxr-xr-xfonts/font_ttf_libertine/font_ttf_libertine.build67
-rwxr-xr-xfonts/font_ttf_novamono/font_ttf_novamono.build65
-rwxr-xr-xfonts/font_type1_ghostscript/font_type1_ghostscript.build66
-rw-r--r--fonts/fontconfig/fontconfig-2.11.0-dejavu.patch.xzbin0 -> 592 bytes
-rw-r--r--fonts/fontconfig/fontconfig-2.11.0-fontdirlist.patch.xzbin0 -> 504 bytes
-rw-r--r--fonts/fontconfig/fontconfig-2.11.0-slackware.patch.xzbin0 -> 856 bytes
-rwxr-xr-xfonts/fontconfig/fontconfig.build96
-rw-r--r--fonts/freetype/freetype-2.5.2-illadvisederr.patch.xzbin0 -> 536 bytes
-rw-r--r--fonts/freetype/freetype-2.5.2-subpixelrender.patch.xzbin0 -> 376 bytes
-rwxr-xr-xfonts/freetype/freetype.build70
-rw-r--r--fonts/t1lib/t1lib-5.1.2-config.patch.xzbin0 -> 508 bytes
-rw-r--r--fonts/t1lib/t1lib-5.1.2-debianfixes.patch.xzbin0 -> 11472 bytes
-rw-r--r--fonts/t1lib/t1lib-5.1.2-paths.patch.xzbin0 -> 584 bytes
-rwxr-xr-xfonts/t1lib/t1lib.build78
27 files changed, 1125 insertions, 0 deletions
diff --git a/fonts/font_otf_inconsolata/font_otf_inconsolata.build b/fonts/font_otf_inconsolata/font_otf_inconsolata.build
new file mode 100755
index 0000000..d6d892b
--- /dev/null
+++ b/fonts/font_otf_inconsolata/font_otf_inconsolata.build
@@ -0,0 +1,64 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=font_otf_inconsolata
+VERSION=$(date "+%Y%m%d")
+ARCH=noarch
+BUILD=1
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: font_otf_inconsolata
+${NAME}:
+${NAME}: Inconsolata is a monospace font, designed for code listings and the
+${NAME}: like, in print. There are a great many "programmer fonts," designed
+${NAME}: primarily for use on the screen, but in most cases do not have
+${NAME}: attention to detail for high resolution rendering.
+${NAME}:
+${NAME}: Homepage: http://levien.com/type/myfonts/inconsolata.html
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+(
+ cd ${SYS_DIR[share]}/fonts/OTF
+ mkfontscale .
+ mkfontdir .
+)
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=Inconsolata.otf
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://levien.com/type/myfonts/${SRCNAME[0]}
+SRCOPTS[0]="nosrcroot nounpack"
+
+build0()
+{
+install.dir ${PKG}${SYS_DIR[share]}/fonts/OTF
+install.dat ${CWD}/${SRCNAME[0]} ${PKG}${SYS_DIR[share]}/fonts/OTF
+}
diff --git a/fonts/font_pcf_terminus/font_pcf_terminus.build b/fonts/font_pcf_terminus/font_pcf_terminus.build
new file mode 100755
index 0000000..91ce6c6
--- /dev/null
+++ b/fonts/font_pcf_terminus/font_pcf_terminus.build
@@ -0,0 +1,71 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=font_pcf_terminus
+VERSION=4.38
+BUILD=2
+ARCH=noarch
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: font_pcf_terminus
+${NAME}:
+${NAME}: A clean, fixed width bitmap font designed for long work with
+${NAME}: computers.
+${NAME}:
+${NAME}: Homepage: http://terminus-font.sf.net
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+(
+ cd ${SYS_DIR[share]}/fonts/misc
+ mkfontscale .
+ mkfontdir .
+)
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=terminus-font
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/terminus-font/${SRCNAME[0]}-${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="OFL"
+
+build0()
+{
+chmod 0755 configure
+./configure \
+ --prefix="${SYS_DIR[usr]}" \
+ --psfdir="${SYS_DIR[share]}/kbd/consolefonts" \
+ --x11dir="${SYS_DIR[share]}/fonts/misc"
+make
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog CHANGES
+}
diff --git a/fonts/font_psfu_sigma/font_psfu_sigma.build b/fonts/font_psfu_sigma/font_psfu_sigma.build
new file mode 100755
index 0000000..aaabb5e
--- /dev/null
+++ b/fonts/font_psfu_sigma/font_psfu_sigma.build
@@ -0,0 +1,49 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=font_psfu_sigma
+VERSION=0.8
+ARCH=noarch
+BUILD=2
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: font_psfu_sigma
+${NAME}:
+${NAME}: A console font with wide unicode coverage.
+${NAME}:
+${NAME}: Homepage:
+${NAME}: http://homepage.ntlworld.com/zarniwhoop/consolefonts/sigma.html
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=sigma-consolefonts
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://homepage.ntlworld.com/zarniwhoop/consolefonts/tarballs/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+
+build0()
+{
+make install DESTDIR="${PKG}" PREFIX="${SYS_DIR[usr]}" \
+ FONTDIR="${SYS_DIR[share]}/kbd/consolefonts"
+doc README
+changelog Changelog
+license LICENSES
+}
diff --git a/fonts/font_ttf_courierprime/courier-prime-1.203-fontconfig.patch.xz b/fonts/font_ttf_courierprime/courier-prime-1.203-fontconfig.patch.xz
new file mode 100644
index 0000000..bf0749d
--- /dev/null
+++ b/fonts/font_ttf_courierprime/courier-prime-1.203-fontconfig.patch.xz
Binary files differ
diff --git a/fonts/font_ttf_courierprime/font_ttf_courierprime.build b/fonts/font_ttf_courierprime/font_ttf_courierprime.build
new file mode 100755
index 0000000..427e4ad
--- /dev/null
+++ b/fonts/font_ttf_courierprime/font_ttf_courierprime.build
@@ -0,0 +1,71 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=font_ttf_courierprime
+VERSION=1.203
+BUILD=2
+ARCH=noarch
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: font_ttf_courierprime
+${NAME}:
+${NAME}: Courier Prime is a TrueType monospaced font designed specifically for
+${NAME}: screenplays. It was designed by Alan Dague-Greene for John August and
+${NAME}: released by Quote-Unquote Apps under the SIL Open Font License (OFL).
+${NAME}:
+${NAME}: Homepage: http://quoteunquoteapps.com/courierprime
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+(
+ cd ${SYS_DIR[share]}/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+)
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=courier-prime
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://quoteunquoteapps.com/downloads/${SRCNAME[0]}.zip
+SRCCOPY[0]="OFL"
+SRCOPTS[0]="nosrcroot"
+
+build0()
+{
+install.dir ${PKG}${SYS_DIR[share]}/fonts/{TTF,config}
+install.dir ${PKG}${SYS_DIR[etc]}/fonts.d
+install.dat "Courier Prime"/*.ttf ${PKG}${SYS_DIR[share]}/fonts/TTF
+install.dat 30-courier-prime-aliases.conf ${PKG}${SYS_DIR[share]}/fonts/config
+(
+ cd ${PKG}${SYS_DIR[etc]}/fonts.d
+ ln -sf ${SYS_DIR[share]}/fonts/config/30-courier-prime-aliases.conf
+)
+}
diff --git a/fonts/font_ttf_dejavu/font_ttf_dejavu.build b/fonts/font_ttf_dejavu/font_ttf_dejavu.build
new file mode 100755
index 0000000..1633ac4
--- /dev/null
+++ b/fonts/font_ttf_dejavu/font_ttf_dejavu.build
@@ -0,0 +1,77 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=font_ttf_dejavu
+VERSION=2.33
+ARCH=noarch
+BUILD=2
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: font_ttf_dejavu
+${NAME}:
+${NAME}: The DejaVu fonts are a font family based on the Bitstream Vera Fonts
+${NAME}: (http://gnome.org/fonts/). Its purpose is to provide a wider range
+${NAME}: of characters (see http://dejavu.sf.net for more information) while
+${NAME}: maintaining the original look and feel.
+${NAME}:
+${NAME}: Homepage: http://dejavu-fonts.org
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+(
+ cd ${SYS_DIR[share]}/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+)
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=dejavu-fonts-ttf
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+
+build0()
+{
+doc AUTHORS
+changelog NEWS
+license LICENSE
+install.dir ${PKG}${SYS_DIR[share]}/fonts/{TTF,config}
+install.dir ${PKG}${SYS_DIR[etc]}/fonts.d
+install.dat ttf/*.ttf ${PKG}${SYS_DIR[share]}/fonts/TTF
+(
+ cd fontconfig
+ for file in *.conf; do
+ install.dat ${file} ${PKG}${SYS_DIR[share]}/fonts/config
+ (
+ cd ${PKG}${SYS_DIR[etc]}/fonts.d
+ ln -sf ${SYS_DIR[share]}/fonts/config/${file}
+ )
+ done
+)
+}
diff --git a/fonts/font_ttf_droid/droid-20130201-fontconfig.patch.xz b/fonts/font_ttf_droid/droid-20130201-fontconfig.patch.xz
new file mode 100644
index 0000000..e45448b
--- /dev/null
+++ b/fonts/font_ttf_droid/droid-20130201-fontconfig.patch.xz
Binary files differ
diff --git a/fonts/font_ttf_droid/font_ttf_droid.build b/fonts/font_ttf_droid/font_ttf_droid.build
new file mode 100755
index 0000000..4e40249
--- /dev/null
+++ b/fonts/font_ttf_droid/font_ttf_droid.build
@@ -0,0 +1,74 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=font_ttf_droid
+VERSION=20130201
+ARCH=noarch
+BUILD=1
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: font_ttf_droid
+${NAME}:
+${NAME}: A font family intended for use on small screens of mobile handsets.
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+(
+ cd ${SYS_DIR[share]}/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+)
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=droid
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${SRCNAME[0]}-${SRCVERS[0]}.tar.xz
+SRCCOPY[0]="APACHE2"
+
+build0()
+{
+install.dir ${PKG}${SYS_DIR[share]}/fonts/{TTF,config}
+install.dir ${PKG}${SYS_DIR[etc]}/fonts.d
+install.dat *.ttf ${PKG}${SYS_DIR[share]}/fonts/TTF
+(
+ for file in *.conf; do
+ install.dat ${file} ${PKG}${SYS_DIR[share]}/fonts/config
+ (
+ cd ${PKG}${SYS_DIR[etc]}/fonts.d
+ ln -sf ${SYS_DIR[share]}/fonts/config/${file}
+ )
+ done
+)
+}
diff --git a/fonts/font_ttf_excelsior/font_ttf_excelsior.build b/fonts/font_ttf_excelsior/font_ttf_excelsior.build
new file mode 100755
index 0000000..a8143b3
--- /dev/null
+++ b/fonts/font_ttf_excelsior/font_ttf_excelsior.build
@@ -0,0 +1,64 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=font_ttf_excelsior
+VERSION=3.01
+ARCH=noarch
+BUILD=1
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: font_ttf_excelsior
+${NAME}:
+${NAME}: Fixedsys was one of the first fonts to be included with DOS and
+${NAME}: Windows. It has lasted a long time, maybe due to being perceived
+${NAME}: ideal for consoles and IRC clients, and it's often a favorite among
+${NAME}: programmers. It is monospaced, and contains only the basic western
+${NAME}: glyphs. Fixedsys Excelsior is a 'pan-unicode' version of Fixedsys.
+${NAME}:
+${NAME}: Homepage: http://www.fixedsysexcelsior.com
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+(
+ cd ${SYS_DIR[share]}/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+)
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://launchpadlibrarian.net/26228254/FSEX301-L2.ttf
+SRCOPTS[0]="nosrcroot nounpack"
+
+build0()
+{
+install.dir ${PKG}${SYS_DIR[share]}/fonts/TTF
+install.dat ${CWD}/FSEX301-L2.ttf ${PKG}${SYS_DIR[share]}/fonts/TTF
+}
diff --git a/fonts/font_ttf_gentium/font_ttf_gentium.build b/fonts/font_ttf_gentium/font_ttf_gentium.build
new file mode 100755
index 0000000..c705986
--- /dev/null
+++ b/fonts/font_ttf_gentium/font_ttf_gentium.build
@@ -0,0 +1,65 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=font_ttf_gentium
+VERSION=1.508
+ARCH=noarch
+BUILD=1
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: font_ttf_gentium
+${NAME}:
+${NAME}: Gentium is a typeface family designed to enable the diverse ethnic
+${NAME}: groups around the world who use the Latin and Greek scripts to
+${NAME}: produce readable, high-quality publications. It supports a wide
+${NAME}: range of Latin-based alphabets and includes glyphs that correspond
+${NAME}: to all the Latin ranges of Unicode.
+${NAME}:
+${NAME}: Homepage: http://scripts.sil.org
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+(
+ cd ${SYS_DIR[share]}/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+)
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=GentiumPlus
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://scripts.sil.org/${SRCNAME[0]}-${SRCVERS[0]}.zip
+SRCCOPY[0]="OFL"
+
+build0()
+{
+changelog FONTLOG.txt
+install.dir ${PKG}${SYS_DIR[share]}/fonts/TTF
+install.dat *.ttf ${PKG}${SYS_DIR[share]}/fonts/TTF
+}
diff --git a/fonts/font_ttf_gw/font_ttf_gw.build b/fonts/font_ttf_gw/font_ttf_gw.build
new file mode 100755
index 0000000..9626744
--- /dev/null
+++ b/fonts/font_ttf_gw/font_ttf_gw.build
@@ -0,0 +1,71 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=font_ttf_gw
+VERSION=1.0
+ARCH=noarch
+BUILD=1
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: font_ttf_gw
+${NAME}:
+${NAME}: A set of free UNICODE True Type fonts made by George Williams.
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+(
+ cd ${SYS_DIR[share]}/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+)
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=gw-fonts-ttf
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://mirror.fsf.org/gnewsense/gnewsense/pool/universe/g/gw-fonts-ttf/${SRCNAME[0]}_${SRCVERS[0]}.orig.tar.gz
+SRCROOT[0]=${SRCNAME[0]}-${SRCVERS[0]}
+SRCCOPY[0]="BSD2"
+
+build0()
+{
+gunzip *.gz
+for archive in *.zip; do
+ src.unpack ${archive}
+done
+mv CUPOU___.TTF CupolaUnicode.ttf
+mv CUPOULI_.TTF CupolaUnicodeLightItalic.ttf
+install.dir ${PKG}${SYS_DIR[share]}/fonts/TTF
+install.dat *.ttf ${PKG}${SYS_DIR[share]}/fonts/TTF
+}
diff --git a/fonts/font_ttf_liberation/font_ttf_liberation.build b/fonts/font_ttf_liberation/font_ttf_liberation.build
new file mode 100755
index 0000000..32aaae1
--- /dev/null
+++ b/fonts/font_ttf_liberation/font_ttf_liberation.build
@@ -0,0 +1,77 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=font_ttf_liberation
+VERSION=2.00.1
+ARCH=noarch
+BUILD=2
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: font_ttf_liberation
+${NAME}:
+${NAME}: Liberation is the collective name of four TrueType font families:
+${NAME}: Liberation Sans, Liberation Serif, Liberation Mono and Liberation
+${NAME}: Sans Narrow. These fonts are metric-compatible with Arial, Times
+${NAME}: New Roman and Courier New respectively.
+${NAME}:
+${NAME}: The fonts were developed by Steve Matteson of Ascender Corp. for
+${NAME}: RedHat, Inc.
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+(
+ cd ${SYS_DIR[share]}/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+)
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=liberation-fonts-ttf
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=https://fedorahosted.org/releases/l/i/liberation-fonts/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+doc AUTHORS
+changelog ChangeLog
+license LICENSE
+install.dir ${PKG}${SYS_DIR[share]}/fonts/{TTF,config}
+install.dir ${PKG}${SYS_DIR[etc]}/fonts.d
+install.dat *.ttf ${PKG}${SYS_DIR[share]}/fonts/TTF
+(
+ for file in *.conf; do
+ install.dat ${file} ${PKG}${SYS_DIR[share]}/fonts/config
+ (
+ cd ${PKG}${SYS_DIR[etc]}/fonts.d
+ ln -sf ${SYS_DIR[share]}/fonts/config/${file}
+ )
+ done
+)
+}
diff --git a/fonts/font_ttf_liberation/liberation-fonts-ttf-2.00.1-fontconfig.patch.xz b/fonts/font_ttf_liberation/liberation-fonts-ttf-2.00.1-fontconfig.patch.xz
new file mode 100644
index 0000000..7f5cce1
--- /dev/null
+++ b/fonts/font_ttf_liberation/liberation-fonts-ttf-2.00.1-fontconfig.patch.xz
Binary files differ
diff --git a/fonts/font_ttf_libertine/font_ttf_libertine.build b/fonts/font_ttf_libertine/font_ttf_libertine.build
new file mode 100755
index 0000000..b986567
--- /dev/null
+++ b/fonts/font_ttf_libertine/font_ttf_libertine.build
@@ -0,0 +1,67 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=font_ttf_libertine
+VERSION=5.3.0
+ARCH=noarch
+BUILD=1
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: font_ttf_libertine
+${NAME}:
+${NAME}: Linux Libertine TrueType (TTF) fonts.
+${NAME}:
+${NAME}: Homepage: http://linuxlibertine.sourceforge.net
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+(
+ cd ${SYS_DIR[share]}/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+)
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=LinLibertineTTF
+SRCVERS[0]=${VERSION}_2012_07_02
+SRCPACK[0]=${SRC[sf]}/linuxlibertine/linuxlibertine/${VERSION}-2/${SRCNAME[0]}_${SRCVERS[0]}.tgz
+SRCCOPY[0]="OFL"
+SRCOPTS[0]="nosrcroot"
+
+build0()
+{
+changelog ChangeLog.txt
+license GPL.txt COPYING.GPL2
+install.dir ${PKG}${SYS_DIR[share]}/fonts/TTF
+install.dat *.ttf ${PKG}${SYS_DIR[share]}/fonts/TTF
+}
diff --git a/fonts/font_ttf_novamono/font_ttf_novamono.build b/fonts/font_ttf_novamono/font_ttf_novamono.build
new file mode 100755
index 0000000..ffbb395
--- /dev/null
+++ b/fonts/font_ttf_novamono/font_ttf_novamono.build
@@ -0,0 +1,65 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=font_ttf_novamono
+VERSION=$(date "+%Y%m%d")
+ARCH=noarch
+BUILD=1
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: font_ttf_novamono
+${NAME}:
+${NAME}: A monospaced font based on NovaCut.
+${NAME}:
+${NAME}: Homepage: http://www.google.com/fonts/specimen/Nova+Mono
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+(
+ cd ${SYS_DIR[share]}/fonts/OTF
+ mkfontscale .
+ mkfontdir .
+)
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=Nova_Mono
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=/${SRCNAME[0]}.zip
+SRCOPTS[0]="nosrcroot"
+SRCCOPY[0]="OFL11"
+
+build0()
+{
+install.dir ${PKG}${SYS_DIR[share]}/fonts/TTF
+install.dat NovaMono.ttf ${PKG}${SYS_DIR[share]}/fonts/TTF
+}
diff --git a/fonts/font_type1_ghostscript/font_type1_ghostscript.build b/fonts/font_type1_ghostscript/font_type1_ghostscript.build
new file mode 100755
index 0000000..77a231b
--- /dev/null
+++ b/fonts/font_type1_ghostscript/font_type1_ghostscript.build
@@ -0,0 +1,66 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=font_type1_ghostscript
+VERSION=8.11
+ARCH=noarch
+BUILD=1
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: font_type1_ghostscript
+${NAME}:
+${NAME}: Type 1 fonts used by the GhostScript interpreter.
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+(
+ cd ${SYS_DIR[share]}/fonts/Type1
+ mkfontscale .
+ mkfontdir .
+)
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=ghostscript-fonts-std
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=${URL[sf]}/gs-fonts/gs-fonts/8.11%20%28base%2035%2C%20GPL%29/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCROOT[0]=fonts
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+changelog ChangeLog
+install.dir ${PKG}${SYS_DIR[share]}/fonts/Type1
+install.dat *.{afm,pfb,pfm} ${PKG}${SYS_DIR[share]}/fonts/Type1
+}
diff --git a/fonts/fontconfig/fontconfig-2.11.0-dejavu.patch.xz b/fonts/fontconfig/fontconfig-2.11.0-dejavu.patch.xz
new file mode 100644
index 0000000..9af2ed4
--- /dev/null
+++ b/fonts/fontconfig/fontconfig-2.11.0-dejavu.patch.xz
Binary files differ
diff --git a/fonts/fontconfig/fontconfig-2.11.0-fontdirlist.patch.xz b/fonts/fontconfig/fontconfig-2.11.0-fontdirlist.patch.xz
new file mode 100644
index 0000000..9e3a50e
--- /dev/null
+++ b/fonts/fontconfig/fontconfig-2.11.0-fontdirlist.patch.xz
Binary files differ
diff --git a/fonts/fontconfig/fontconfig-2.11.0-slackware.patch.xz b/fonts/fontconfig/fontconfig-2.11.0-slackware.patch.xz
new file mode 100644
index 0000000..4f9eaad
--- /dev/null
+++ b/fonts/fontconfig/fontconfig-2.11.0-slackware.patch.xz
Binary files differ
diff --git a/fonts/fontconfig/fontconfig.build b/fonts/fontconfig/fontconfig.build
new file mode 100755
index 0000000..65f92fa
--- /dev/null
+++ b/fonts/fontconfig/fontconfig.build
@@ -0,0 +1,96 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=fontconfig
+VERSION=2.11.0
+BUILD=1
+DEPENDS=('libxml >= 2.9.1-1' 'freetype >= 2.5.2-1' 'xz >= 5.0.4-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: fontconfig (Font library and tools)
+${NAME}:
+${NAME}: Fontconfig is a library and tools designed to provide system-wide
+${NAME}: font configuration, customization, and application access.
+${NAME}:
+${NAME}: Fontconfig is written and maintained by Keith Packard.
+${NAME}:
+${NAME}: Homepage: http://www.freedesktop.org/wiki/Software/fontconfig
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://www.freedesktop.org/software/fontconfig/release/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --disable-dependency-tracking \
+ --disable-silent-rules \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}" \
+ --docdir="${SYS_DIR[html]}/fontconfig" \
+ --with-pkgconfigdir="${SYS_DIR[share]}/pkgconfig" \
+ --with-xmldir="${SYS_DIR[share]}/dtds" \
+ --with-templatedir="${SYS_DIR[share]}/fonts/config" \
+ --with-baseconfigdir="${SYS_DIR[etc]}/fonts" \
+ --with-configdir="${SYS_DIR[etc]}/fonts.d" \
+ --with-default-fonts="${SYS_DIR[share]}/fonts" \
+ --with-add-fonts="${SYS_DIR[share]}/fonts" \
+ --enable-libxml2 \
+ --enable-iconv
+make ${JOBS} V=1
+make install DESTDIR="${PKG}"
+doc AUTHORS
+changelog ChangeLog
+license COPYING
+install.dat doinst.sh ${PKG}/install
+install.dir ${PKG}${SYS_DIR[var]}/log/setup
+install.bin setup.05.fontconfig ${PKG}${SYS_DIR[var]}/log/setup
+(
+ cd ${PKG}${SYS_DIR[etc]}/fonts.d
+ for conffile in \
+ 20-unhint-small-vera.conf \
+ 30-urw-aliases.conf \
+ 30-metric-aliases.conf \
+ 40-nonlatin.conf \
+ 45-latin.conf \
+ 49-sansserif.conf \
+ 50-user.conf \
+ 51-local.conf \
+ 60-latin.conf \
+ 65-fonts-persian.conf \
+ 65-nonlatin.conf \
+ 69-unifont.conf \
+ 80-delicious.conf \
+ 90-synthetic.conf ; do
+ ln -sf ${SYS_DIR[share]}/fonts/config/${conffile} .
+ done
+)
+rm -rf ${PKG}${SYS_DIR[html]}
+config ${PKG}${SYS_DIR[etc]}/fonts/fonts.conf
+}
diff --git a/fonts/freetype/freetype-2.5.2-illadvisederr.patch.xz b/fonts/freetype/freetype-2.5.2-illadvisederr.patch.xz
new file mode 100644
index 0000000..246621b
--- /dev/null
+++ b/fonts/freetype/freetype-2.5.2-illadvisederr.patch.xz
Binary files differ
diff --git a/fonts/freetype/freetype-2.5.2-subpixelrender.patch.xz b/fonts/freetype/freetype-2.5.2-subpixelrender.patch.xz
new file mode 100644
index 0000000..1c518aa
--- /dev/null
+++ b/fonts/freetype/freetype-2.5.2-subpixelrender.patch.xz
Binary files differ
diff --git a/fonts/freetype/freetype.build b/fonts/freetype/freetype.build
new file mode 100755
index 0000000..e39af02
--- /dev/null
+++ b/fonts/freetype/freetype.build
@@ -0,0 +1,70 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=freetype
+VERSION=2.5.2
+BUILD=1
+DEPENDS=('bzip2 >= 1.0.6-1' 'libpng >= 1.5.14-1')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: freetype (A Free, High-Quality, and Portable Font Engine)
+${NAME}:
+${NAME}: The FreeType engine is a free and portable TrueType font rendering
+${NAME}: engine. It has been developed to provide TrueType support to a great
+${NAME}: variety of platforms and environments.
+${NAME}:
+${NAME}: Homepage: http://www.freetype.org
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=http://download.savannah.gnu.org/releases/${NAME}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCCOPY[0]="GPL2"
+
+build0()
+{
+sed -i 's|$(libdir)/pkgconfig|$(datadir)/pkgconfig|g' builds/unix/install.mk
+LIBPNG_CFLAGS="-I${SYS_DIR[include]}/libpng15" \
+LIBPNG_LDFLAGS="-lpng15" \
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --enable-shared=yes \
+ --enable-static=no \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+make ${JOBS}
+make install DESTDIR="${PKG}"
+changelog docs/CHANGES
+license docs/LICENSE.TXT
+license docs/FTL.TXT COPYING-FTL.TXT
+# From Slackware:
+install.dir ${PKG}${SYS_DIR[include]}
+(
+ cd ${PKG}${SYS_DIR[include]}
+ rm -rf freetype
+ ln -sf freetype2/freetype .
+)
+}
diff --git a/fonts/t1lib/t1lib-5.1.2-config.patch.xz b/fonts/t1lib/t1lib-5.1.2-config.patch.xz
new file mode 100644
index 0000000..ea813d0
--- /dev/null
+++ b/fonts/t1lib/t1lib-5.1.2-config.patch.xz
Binary files differ
diff --git a/fonts/t1lib/t1lib-5.1.2-debianfixes.patch.xz b/fonts/t1lib/t1lib-5.1.2-debianfixes.patch.xz
new file mode 100644
index 0000000..170ac8f
--- /dev/null
+++ b/fonts/t1lib/t1lib-5.1.2-debianfixes.patch.xz
Binary files differ
diff --git a/fonts/t1lib/t1lib-5.1.2-paths.patch.xz b/fonts/t1lib/t1lib-5.1.2-paths.patch.xz
new file mode 100644
index 0000000..00eee20
--- /dev/null
+++ b/fonts/t1lib/t1lib-5.1.2-paths.patch.xz
Binary files differ
diff --git a/fonts/t1lib/t1lib.build b/fonts/t1lib/t1lib.build
new file mode 100755
index 0000000..9b2ed3d
--- /dev/null
+++ b/fonts/t1lib/t1lib.build
@@ -0,0 +1,78 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=t1lib
+VERSION=5.1.2
+BUILD=2
+DEPENDS=('xorg_libs >= 7.7-3')
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: t1lib (Type 1 font rasterizer library)
+${NAME}:
+${NAME}: t1lib is a library for generating character and string glyphs from
+${NAME}: Adobe Type 1 fonts under UNIX. t1lib uses most of the code of the X11
+${NAME}: rasterizer donated by IBM to the X11 project.
+${NAME}:
+${NAME}: Homepage: http://www.t1lib.org
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+cat >> ${PKG}/install/doinst.sh <<EOF
+#!/bin/sh
+
+if [ -x /usr/sbin/update-type1-database ]; then
+ /usr/sbin/update-type1-database
+fi
+EOF
+
+# Sources
+
+SRCNAME[0]=${NAME}
+SRCVERS[0]=${VERSION}
+SRCPACK[0]=ftp://sunsite.unc.edu/pub/Linux/libs/graphics/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz
+SRCCOPY[0]="LGPL2"
+
+build0()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --enable-static=no \
+ --enable-shared=yes \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}"
+#NOTE: kill dependency on Xaw ?
+make ${JOBS} without_doc
+make install prefix="${PKG}${SYS_DIR[usr]}" libdir="${PKG}${SYS_DIR[lib]}"
+changelog Changes
+install.dir ${PKG}${SYS_DIR[var]}/cache/t1lib
+install.dir ${PKG}${SYS_DIR[etc]}/{profile.d,fonts}
+install.bin t1lib.{sh,csh} ${PKG}${SYS_DIR[etc]}/profile.d
+install.cfg t1lib.conf ${PKG}${SYS_DIR[etc]}/fonts
+install.dir ${PKG}${SYS_DIR[sbin]}
+install.bin update-type1-database ${PKG}${SYS_DIR[sbin]}
+install.dir ${PKG}${SYS_DIR[share]}/fonts/{Type1,encodings}
+install.dat Fonts/afm/*.afm ${PKG}${SYS_DIR[share]}/fonts/Type1
+install.dat Fonts/type1/*.pfb ${PKG}${SYS_DIR[share]}/fonts/Type1
+install.dat Fonts/enc/*.enc ${PKG}${SYS_DIR[share]}/fonts/encodings
+chmod 0755 ${PKG}${SYS_DIR[lib]}/*.so*
+}