Makefile revision 851
346N/A###############################################################################
346N/A#
346N/A# Deja Vu Fonts Makefile
346N/A#
346N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
346N/A# Use is subject to license terms.
346N/A#
346N/A# Permission is hereby granted, free of charge, to any person obtaining a
346N/A# copy of this software and associated documentation files (the
346N/A# "Software"), to deal in the Software without restriction, including
346N/A# without limitation the rights to use, copy, modify, merge, publish,
346N/A# distribute, and/or sell copies of the Software, and to permit persons
346N/A# to whom the Software is furnished to do so, provided that the above
346N/A# copyright notice(s) and this permission notice appear in all copies of
346N/A# the Software and that both the above copyright notice(s) and this
346N/A# permission notice appear in supporting documentation.
346N/A#
346N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
346N/A# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
346N/A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
346N/A# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
346N/A# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
2321N/A# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
346N/A# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
346N/A# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
346N/A# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
346N/A#
783N/A# Except as contained in this notice, the name of a copyright holder
783N/A# shall not be used in advertising or otherwise to promote the sale, use
1244N/A# or other dealings in this Software without prior written authorization
1357N/A# of the copyright holder.
346N/A#
1357N/A# ident "@(#)Makefile 1.13 09/12/05 SMI"
346N/A#
1357N/A
618N/A# Package name used in tarballs
1244N/AMODULE_NAME=dejavu-fonts-ttf
1244N/A
1357N/A# Version number (used in path names)
844N/AMODULE_VERSION=2.30
1357N/A
618N/A# Download site for source
1258N/ASOURCE_URL=$(SF_DOWNLOADS_URL)/dejavu/$(SOURCE_TARBALL_NAME)
346N/ASOURCE_URL_SET=yes
346N/A
346N/A# Patches to apply to source after unpacking, in order
346N/ASOURCE_PATCHES= # None
1357N/A
844N/A# What to install
1357N/AMODULE_ADD_INSTALL_TARGETS=install_fonts_conf
618N/A
346N/A# Directory to install to
346N/ATTF_SUBDIR=dejavu
346N/ATTF_SUBDIR_SET=yes
346N/AFONTCONF_DEST_DIR=$(PROTODIR)/etc/fonts
1357N/A
844N/A# License file
1357N/ALICENSE_FILE=LICENSE
618N/ALICENSE_FILE_SET=yes
346N/A
3083N/ATTF_FONT_FILES= \
3083N/A README \
346N/A $(LICENSE_FILE) \
346N/A ttf/*.ttf
346N/A
346N/A### Include common rulesets
346N/Ainclude ../Makefile.ttf
346N/A
1357N/A### Rules specific to this directory:
1357N/A
1357N/Ainstall_fonts_conf: $(SOURCE_TARGETS)
1357N/A mkdir -p $(FONTCONF_DEST_DIR)/conf.avail \
346N/A $(FONTCONF_DEST_DIR)/conf.d
346N/A @( cd $(SOURCE_DIR)/fontconfig ; $(START_CMD_ECHO) ; \
2232N/A for f in *.conf ; do \
346N/A rm -f $(FONTCONF_DEST_DIR)/conf.avail/$$f \
346N/A $(FONTCONF_DEST_DIR)/conf.d/$$f ; \
346N/A cp -p $$f $(FONTCONF_DEST_DIR)/conf.avail/ ; \
346N/A ln -s ../conf.avail/$$f $(FONTCONF_DEST_DIR)/conf.d/ ; \
346N/A done )
1358N/A
1358N/A
1358N/A