486N/A###############################################################################
486N/A#
486N/A# Liberation Fonts Makefile
486N/A#
486N/A# Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
486N/A#
486N/A# Permission is hereby granted, free of charge, to any person obtaining a
486N/A# copy of this software and associated documentation files (the "Software"),
486N/A# to deal in the Software without restriction, including without limitation
486N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
486N/A# and/or sell copies of the Software, and to permit persons to whom the
486N/A# Software is furnished to do so, subject to the following conditions:
486N/A#
486N/A# The above copyright notice and this permission notice (including the next
486N/A# paragraph) shall be included in all copies or substantial portions of the
486N/A# Software.
486N/A#
486N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
486N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
873N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
486N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
486N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
486N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
486N/A# DEALINGS IN THE SOFTWARE.
486N/A#
3196N/A#
486N/A
486N/A# Package name used in tarballs
486N/AMODULE_NAME=liberation-fonts-ttf
486N/A
486N/A# Package metadata
486N/AUPSTREAM = Fedora Fonts SIG
486N/AUPSTREAM_URL = http://fedorahosted.org/liberation-fonts/
486N/AUPSTREAM_SET = yes
486N/AGIT_URL = http://git.fedorahosted.org/git/liberation-fonts.git
486N/AGIT_URL_SET = yes
486N/A
619N/AMODULE_LICENSE = Liberation Font Software License Agreement
619N/AMODULE_LICENSE_SET = yes
619N/AMODULE_LICENSE_PREPEND = $(GPL_CHOICE_FILE)
619N/AMODULE_DESC = the Liberation fonts
619N/AORACLE_TPNO = 9925
619N/A
619N/A# Version number (used in path names)
619N/AMODULE_VERSION=1.07.2
619N/A
619N/A# Checksums for upstream tarball
619N/ATARBALL_MD5 = 274ba7088e294d5dd27616aabbd88d34
619N/ATARBALL_SHA1 = bf6314386793d99d4f86987ff86fd274e9a679e6
619N/ATARBALL_SHA256= b1bbf2df80f388ca1748a41068fafebc8efdfdee7612afb78a7a7cd31004d50f
619N/A
3196N/A# Source tarball
3196N/ASOURCE_TARBALL_NAME=$(MODULE_NAME)-$(MODULE_VERSION).tar.gz
3196N/ASOURCE_TARBALL_NAME_SET=yes
3196N/A
486N/A# Download site for source
486N/ASOURCE_URL=http://fedorahosted.org/releases/l/i/liberation-fonts/$(SOURCE_TARBALL_NAME)
2976N/ASOURCE_URL_SET=yes
2976N/A
2976N/A# Patches to apply to source after unpacking, in order
486N/ASOURCE_PATCHES= # None
2976N/A
2976N/A# License file
2976N/ALICENSE_FILE = pkg-license.txt
2976N/ALICENSE_FILE_SET=yes
2976N/AMODULE_ADD_INSTALL_TARGETS = $(SOURCE_DIR)/$(LICENSE_FILE)
2976N/A
1181N/ATTF_FONT_FILES= \
2976N/A License.txt \
1181N/A LiberationMono-Bold.ttf \
536N/A LiberationMono-BoldItalic.ttf \
2976N/A LiberationMono-Italic.ttf \
3196N/A LiberationMono-Regular.ttf \
961N/A LiberationSans-Bold.ttf \
961N/A LiberationSans-BoldItalic.ttf \
832N/A LiberationSans-Italic.ttf \
961N/A LiberationSans-Regular.ttf \
961N/A LiberationSansNarrow-Bold.ttf \
961N/A LiberationSansNarrow-BoldItalic.ttf \
961N/A LiberationSansNarrow-Italic.ttf \
2296N/A LiberationSansNarrow-Regular.ttf \
961N/A LiberationSerif-Bold.ttf \
961N/A LiberationSerif-BoldItalic.ttf \
961N/A LiberationSerif-Italic.ttf \
961N/A LiberationSerif-Regular.ttf
961N/A
486N/A# Directory to install to
857N/ATTF_SUBDIR=liberation
961N/ATTF_SUBDIR_SET=yes
2296N/A
961N/A# Since normal package version includes a number starting with 0, which
961N/A# pkg rules disallow, add a human-version to display that
961N/AMODULE_ATTRDATA_COMMANDS = \
486N/A print 'set name=pkg.human-version value="$(MODULE_VERSION)"' >> $@
961N/A
961N/A### Include common rulesets
2296N/Ainclude ../Makefile.ttf
2296N/A
2296N/A# Generate a combined license file
2296N/A$(LICENSE_FILE_DEST): $(SOURCE_DIR)/$(LICENSE_FILE)
961N/A
961N/A$(SOURCE_DIR)/$(LICENSE_FILE): $(SOURCE_TARGETS)
486N/A rm -f $@
961N/A fmt $(SOURCE_DIR)/License.txt > $@
961N/A print '\n________________________________________________________________________________\n' >> $@
961N/A cat $(SOURCE_DIR)/COPYING >> $@
961N/A