Makefile revision 1097
c40265eba0c99708887d68e67901924065ba2514Brian Wellington###############################################################################
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# Permission is hereby granted, free of charge, to any person obtaining a
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# copy of this software and associated documentation files (the "Software"),
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# to deal in the Software without restriction, including without limitation
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# the rights to use, copy, modify, merge, publish, distribute, sublicense,
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# and/or sell copies of the Software, and to permit persons to whom the
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# Software is furnished to do so, subject to the following conditions:
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# The above copyright notice and this permission notice (including the next
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# paragraph) shall be included in all copies or substantial portions of the
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# Software.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark Andrews# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# DEALINGS IN THE SOFTWARE.
c40265eba0c99708887d68e67901924065ba2514Brian Wellington#
c40265eba0c99708887d68e67901924065ba2514Brian Wellington#
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Package name used in tarballs
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonMODULE_NAME=font-util
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# pkg(5) name we deliver the files in (override default)
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonMODULE_PKGNAME=x11/font-utilities
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonMODULE_PKGNAME_SET=yes
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Package classification (override default)
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonMODULE_PKGCLASS=System/X11
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonMODULE_PKGCLASS_SET=yes
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Version number (used in path names)
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonMODULE_VERSION = 1.2.0
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Checksums for upstream tarball
bca7f81db58d4803fb6d8d352132445cf61eb1acMark AndrewsTARBALL_MD5 = 1bdd8ed070e02b2165d7b0f0ed93280b
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonTARBALL_SHA1 = 011fa9c8fe08d9f6f848df570374ed1cb7488146
a26ad011f382d12058478704cb5e90e6f4366d01Andreas Gustafsson
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Set encoding directory path used during build in fontutil.pc
2047977ce2dfcfe3a0fa2d638c3242841310fad3Mark AndrewsFIX_PC_FILES = fontutil.pc.in
4d9f3f00d93fcb8743b1105e8cf82e862be220d1Mark AndrewsMODULE_ADD_UNINSTALLED_PC_OPS = -e 's|mapdir=|mapdir=$$protodir|g;'
d0aebc5a55b6145297d94f8aee939852357c59fcMark Andrews
43efd9fa56b03e3e285fb58859efc9348c7f4a9fMark Andrews# Install fontutil.pc to /usr/share since it defines the architecture
43efd9fa56b03e3e285fb58859efc9348c7f4a9fMark Andrews# independent font paths in /usr/share/fonts and not any library flags
d0aebc5a55b6145297d94f8aee939852357c59fcMark AndrewsMODULE_PKGCONFIG_DIR=$(PKGCONFIG_DIR_SHARE)
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonMODULE_PKGCONFIG_DIR_SET=yes
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellington# Apply program flags, like app/*
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonMODULE_CFLAGS=$(PROG_CFLAGS)
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonMODULE_LDFLAGS=$(PROG_LDFLAGS)
c40265eba0c99708887d68e67901924065ba2514Brian WellingtonMODULE_ADD_BUILD_TARGETS=set-elf-comments
c40265eba0c99708887d68e67901924065ba2514Brian Wellington
c40265eba0c99708887d68e67901924065ba2514Brian Wellington### Include common rulesets
c40265eba0c99708887d68e67901924065ba2514Brian Wellingtoninclude ../Makefile.inc
c40265eba0c99708887d68e67901924065ba2514Brian Wellington