Makefile revision 1549
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes###############################################################################
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Permission is hereby granted, free of charge, to any person obtaining a
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# copy of this software and associated documentation files (the "Software"),
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# to deal in the Software without restriction, including without limitation
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# the rights to use, copy, modify, merge, publish, distribute, sublicense,
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# and/or sell copies of the Software, and to permit persons to whom the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Software is furnished to do so, subject to the following conditions:
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# The above copyright notice and this permission notice (including the next
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# paragraph) shall be included in all copies or substantial portions of the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Software.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
cb2846ded4de1abbb5934b92132baf826f1babfebnicholes# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# DEALINGS IN THE SOFTWARE.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes#
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Package name used in tarballs
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_NAME=font-util
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# pkg(5) name we deliver the files in (override default)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_PKGNAME=x11/font-utilities
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_PKGNAME_SET=yes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Package classification (override default)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_PKGCLASS=System/X11
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_PKGCLASS_SET=yes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Set upstream/license info for X.Org software, not X.Org fonts
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesUPSTREAM_PROJECT = xorg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesUPSTREAM_SET = yes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Version number (used in path names)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_VERSION = 1.3.1
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Checksums for upstream tarball
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTARBALL_MD5 = 23756dab809f9ec5011bb27fb2c3c7d6
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTARBALL_SHA1 = 0b16add3637c64b0bbaf1dd223b71b0421100c20
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesTARBALL_SHA256= aa7ebdb0715106dd255082f2310dbaa2cd7e225957c2a77d719720c7cc92b921
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Set encoding directory path used during build in fontutil.pc
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesFIX_PC_FILES = fontutil.pc.in
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_ADD_UNINSTALLED_PC_OPS = -e 's|mapdir=|mapdir=$$protodir|g;'
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Install fontutil.pc to /usr/share since it defines the architecture
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# independent font paths in /usr/share/fonts and not any library flags
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_PKGCONFIG_DIR=$(PKGCONFIG_DIR_SHARE)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_PKGCONFIG_DIR_SET=yes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Apply program flags, like app/*
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_CFLAGS=$(PROG_CFLAGS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_LDFLAGS=$(PROG_LDFLAGS)
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_ADD_BUILD_TARGETS=set-elf-comments
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Description to include in package metadata
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_DESC = X.Org font package creation/installation utilities
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes# Man pages to apply Sun footer to & attributes to list
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesSUNTOUCHED_MANPAGES=man/bdftruncate.man man/ucs2any.man
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_STABILITY=Volatile
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesMODULE_SUNTOUCH_MAN_FLAGS= -p $(MODULE_PREFIX)/bin/
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes### Include common rulesets
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesinclude ../Makefile.inc
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes