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