open-src/font/util/Makefile
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Wed, 10 Aug 2016 21:49:25 -0700
changeset 1653 9fcb30a2102b
parent 1610 77a2e608a1ff
permissions -rw-r--r--
24443559 Update deja-vu fonts to version 2.37

###############################################################################
#
# Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#
#

# Package name used in tarballs
MODULE_NAME=font-util

# pkg(5) name we deliver the files in (override default)
MODULE_PKGNAME=x11/font-utilities
MODULE_PKGNAME_SET=yes

# Package classification (override default)
MODULE_PKGCLASS=System/X11
MODULE_PKGCLASS_SET=yes

# Set upstream/license info for X.Org software, not X.Org fonts
UPSTREAM_PROJECT = xorg
UPSTREAM_SET     = yes

# Version number (used in path names)
MODULE_VERSION = 1.3.1

# Checksums for upstream tarball
TARBALL_MD5   = 23756dab809f9ec5011bb27fb2c3c7d6
TARBALL_SHA1  = 0b16add3637c64b0bbaf1dd223b71b0421100c20
TARBALL_SHA256= aa7ebdb0715106dd255082f2310dbaa2cd7e225957c2a77d719720c7cc92b921

# Set encoding directory path used during build in fontutil.pc
FIX_PC_FILES = fontutil.pc.in
MODULE_ADD_UNINSTALLED_PC_OPS = -e 's|mapdir=|mapdir=$$protodir|g;'

# Install fontutil.pc to /usr/share since it defines the architecture
# independent font paths in /usr/share/fonts and not any library flags
MODULE_PKGCONFIG_DIR=$(PKGCONFIG_DIR_SHARE)
MODULE_PKGCONFIG_DIR_SET=yes

# Apply program flags, like app/*
MODULE_CFLAGS=$(PROG_CFLAGS)
MODULE_LDFLAGS=$(PROG_LDFLAGS)
MODULE_ADD_BUILD_TARGETS=set-elf-comments

# Description to include in package metadata
MODULE_DESC = X.Org font package creation/installation utilities

# Man pages to apply Sun footer to & attributes to list
SUNTOUCHED_MANPAGES=man/bdftruncate.man man/ucs2any.man
MODULE_STABILITY=Volatile
MODULE_SUNTOUCH_MAN_FLAGS= -p $(MODULE_BIN_DIR)/

### Include common rulesets
include ../Makefile.inc