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