###############################################################################
#
# xterm - terminal emulator for X
#
#
# 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,
# 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
# pkg(5) name we deliver the files in (override default)
# resize goes into a separate package so it can be installed in zones without
# X, but which you login to from a resizable GUI terminal window.
# Package classification (override default)
# ARC cases that covered this module
# PSARC/2015/308 xterm 318
# Package metadata
# Version number (used in path names)
# Checksums for upstream tarball
# Source tarball
# Source tarball
# Patches to apply to source after unpacking, in order
# Man pages to apply Sun footer to & attributes to list
# Fix man page footers to not say "Last changed: X Window System"
# Override specific attributes for specific man pages
# xterm's configure script will set _XOPEN_SOURCE to the old XPG5 version
# if we don't override it with a newer version (700 for S12, 600 for S11)
# Paths to find Xft/fontconfig/freetype headers libraries at build time
# and run time
# Override the flags xterm's configure script generates, since it incorrectly
# adds -R flags pointing to the build proto area, which are not wanted.
# Additional flags to pass to configure script
# Sort-of emulate automake silent rules - run make configure V=1 to see
# full compiler flags
# Tell configure where to find luit binary
# xterm's configure script checks for $CC having extra flags & breaks if it
# does, so we need to force CC to be set to just the compiler, and pass the
# rest of the flags via CFLAGS & CPPFLAGS
# Install documentation of xterm control sequences for packaging
# Install desktop file to allow starting xterm from GNOME menu
mkdir -p $(@D)
# Metadata for separate package for resize
mkdir -p $@