Browse Source

bitstream-vera-fonts: reworked .conf to not use a custmain

early
Alejandro Mery 17 years ago
parent
commit
72ee0f5581
  1. 16
      fonts/bitstream-vera-fonts/bitstream-vera-fonts.conf

16
fonts/bitstream-vera-fonts/bitstream-vera-fonts.conf

@ -1,11 +1,8 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN --- # --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../bitstream-vera-fonts/bitstream-vera-fonts.conf # Filename: package/.../bitstream-vera-fonts/bitstream-vera-fonts.conf
# Copyright (C) 2008 The OpenSDE Project # Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
# #
# More information can be found in the files COPYING and README. # More information can be found in the files COPYING and README.
# #
@ -15,13 +12,14 @@
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END --- # --- SDE-COPYRIGHT-NOTE-END ---
makeopt=
makeinstopt=
bs_inst() { fonts_install()
{
local ttfdir="$root/usr/X11/lib/X11/fonts/TTF" local ttfdir="$root/usr/X11/lib/X11/fonts/TTF"
[ -d "$ttfdir" ] || mkdir "$ttfdir" mkdir -p "$ttfdir"
cp -v *.ttf "$ttfdir/" cp -vf ttf/*.ttf "$ttfdir/"
} }
hook_add postmake 5 'fonts_install'
custmain=bs_inst

Loading…
Cancel
Save