222N/A###############################################################################
222N/A#
222N/A# Deja Vu Fonts Makefile
222N/A#
1406N/A# Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
222N/A#
222N/A# Permission is hereby granted, free of charge, to any person obtaining a
919N/A# copy of this software and associated documentation files (the "Software"),
919N/A# to deal in the Software without restriction, including without limitation
919N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
919N/A# and/or sell copies of the Software, and to permit persons to whom the
919N/A# Software is furnished to do so, subject to the following conditions:
919N/A#
919N/A# The above copyright notice and this permission notice (including the next
919N/A# paragraph) shall be included in all copies or substantial portions of the
919N/A# Software.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919N/A# DEALINGS IN THE SOFTWARE.
222N/A#
222N/A#
222N/A
493N/A# Package name used in tarballs
493N/AMODULE_NAME=dejavu-fonts-ttf
222N/A
970N/A# Package metadata
970N/AUPSTREAM = DejaVu fonts
970N/AUPSTREAM_URL = http://dejavu-fonts.org/
970N/AUPSTREAM_SET = yes
970N/A
970N/AMODULE_LICENSE = Bitstream Vera Fonts License
970N/AMODULE_LICENSE_SET = yes
1339N/AMODULE_DESC = the DejaVu fonts
1406N/AORACLE_TPNO = 18005
970N/A
222N/A# Version number (used in path names)
1164N/AMODULE_VERSION=2.33
222N/A
911N/A# Checksums for upstream tarball
1164N/ATARBALL_MD5 = 8b601e91725b6d69141b0fcf527948c0
1164N/ATARBALL_SHA1 = 4459d6adc3d5cfeb08e5fbe7a4310da96a58f752
911N/A
222N/A# Download site for source
1042N/ASOURCE_URL=$(SF_DOWNLOADS_URL)/dejavu/dejavu/$(MODULE_VERSION)/$(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
935N/A# Subdir of $(SOURCE_DIR) containing *.ttf files
935N/ATTF_SOURCE_SUBDIR=ttf/
935N/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