73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan###############################################################################
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan#
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# xkbcomp - XKB keyboard layout parser/compiler
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan#
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# Copyright (c) 2006, 2016, Oracle and/or its affiliates. All rights reserved.
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan#
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# Permission is hereby granted, free of charge, to any person obtaining a
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# copy of this software and associated documentation files (the "Software"),
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# to deal in the Software without restriction, including without limitation
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# the rights to use, copy, modify, merge, publish, distribute, sublicense,
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# and/or sell copies of the Software, and to permit persons to whom the
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# Software is furnished to do so, subject to the following conditions:
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan#
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# The above copyright notice and this permission notice (including the next
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# paragraph) shall be included in all copies or substantial portions of the
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# Software.
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan#
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# DEALINGS IN THE SOFTWARE.
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan#
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan#
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# Package name used in tarballs
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry PanMODULE_NAME=xkbcomp
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# pkg(5) name we deliver the files in (override default)
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry PanMODULE_PKGNAME=x11/keyboard/$(MODULE_NAME)
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry PanMODULE_PKGNAME_SET=yes
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# Version number (used in path names)
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry PanMODULE_VERSION=1.3.1
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# Checksums for upstream tarball
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry PanTARBALL_MD5 = a4d8353daf6cb0a9c47379b7413c42c6
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry PanTARBALL_SHA1 = 0295b57a4c4087b7a4d8d0ce6764039c24efb98c
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry PanTARBALL_SHA256= 0304dc9e0d4ac10831a9ef5d5419722375ddbc3eac3ff4413094d57bc1f1923d
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# ARC cases that covered this module
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# PSARC/2015/221 X11 application updates
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry PanMODULE_ARC_CASES = PSARC/2015/221
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# Patches to apply to source after unpacking, in order
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry PanSOURCE_PATCHES =
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# Man pages to apply Sun footer to & attributes to list
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry PanSUNTOUCHED_MANPAGES=man/xkbcomp.man
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry PanMODULE_STABILITY=Volatile
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# Compatibility links from /usr/X11/bin to /usr/bin
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry PanMODULE_X11_BINCOMPAT_LINKS = xkbcomp
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# Also need an extra link for the pkgconfig file
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry PanMODULE_ADD_INSTALL_TARGETS = install_extra_link
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan# Silence warnings from unnecessary inclusion of Xalloca.h in parseutils.c
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry PanMODULE_CPPFLAGS = -DNO_ALLOCA
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Paninclude ../Makefile.inc
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry PanEXTRA_LINK_DIR = $(PROTODIR)$(PKGCONFIG_DIR_32)
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry PanEXTRA_LINK = $(EXTRA_LINK_DIR)/xkbcomp.pc
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan$(EXTRA_LINK_DIR):
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan mkdir -p $@
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan
305373bfa854723d80c740a2ff9d277d0f34082aHarry Pan$(EXTRA_LINK): $(EXTRA_LINK_DIR)
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan ln -s ../$(SUBDIR64)/pkgconfig/xkbcomp.pc $@
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan
305373bfa854723d80c740a2ff9d277d0f34082aHarry Paninstall_extra_link: $(EXTRA_LINK)
73189ea86c6fb0af01e16eaa5b0da3f2bb775c41Harry Pan