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