Makefile revision 355
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye###############################################################################
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# Bitstream Vera Fonts Makefile
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# Use subject to license terms.
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# Permission is hereby granted, free of charge, to any person obtaining a
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# copy of this software and associated documentation files (the
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# "Software"), to deal in the Software without restriction, including
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# without limitation the rights to use, copy, modify, merge, publish,
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# distribute, and/or sell copies of the Software, and to permit persons
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# to whom the Software is furnished to do so, provided that the above
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# copyright notice(s) and this permission notice appear in all copies of
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# the Software and that both the above copyright notice(s) and this
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# permission notice appear in supporting documentation.
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
6602c01097c66d242046fb0490e0a5dcc1ca36c5Lubos Kosco# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
7224b1456affc41e89cf46eda1e0b74a044bcc93Lubos Kosco# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
d4ce228a333ba2daa19ad8b0672a704c8e42a2dcTrond Norbye# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# Except as contained in this notice, the name of a copyright holder
7e33e87b7d6c9a61ff11d23e37c02274b1223ce1Jens Elkner# shall not be used in advertising or otherwise to promote the sale, use
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# or other dealings in this Software without prior written authorization
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# of the copyright holder.
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# @(#)Makefile 1.4 08/03/07
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# Version number (used in path names)
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# Source tarball
64b763950bf11e9357facbd2b5666631a895c085Trond NorbyeSOURCE_TARBALL_NAME=ttf-bitstream-vera-$(VERSION).tar.bz2
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# Download site for source
64b763950bf11e9357facbd2b5666631a895c085Trond NorbyeSOURCE_URL=http://ftp.gnome.org/pub/GNOME/sources/ttf-bitstream-vera/$(VERSION)/ttf-bitstream-vera-$(VERSION).tar.bz2
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# Patches to apply to source after unpacking, in order
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# Directory created by unpacking source
64b763950bf11e9357facbd2b5666631a895c085Trond NorbyeSOURCE_DIR=$(BUILD_DIR)/ttf-bitstream-vera-$(VERSION)
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# What to build
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# Directory to install to
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye# License file
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye### Include common rulesets
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye### Rules specific to this directory:
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye LD_LIBRARY_PATH=$(PROTODIR)$(X11_SERVERLIBS_DIR)$(ARCHLIBSUBDIR) \
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye -( cd $(DEST_DIR) ; rm -f $(VERA_FONT_FILES) VeraFontsCopyright.txt )
64b763950bf11e9357facbd2b5666631a895c085Trond Norbye ( cd $(SOURCE_DIR) ; cp -p $(VERA_FONT_FILES) $(DEST_DIR) )
0a0811923cbbd2976425db6f4c78eed811c2825bKnut Anders Hatlen cp -p $(SOURCE_DIR)/COPYRIGHT.TXT $(DEST_DIR)/VeraFontsCopyright.txt
7e33e87b7d6c9a61ff11d23e37c02274b1223ce1Jens Elkner ../merge-fonts.scale.pl -i $(DEST_DIR)/fonts.scale \