542N/A###############################################################################
542N/A#
1356N/A# xmakemap script to generate xmodmap files from current keyboard settings
1356N/A#
1610N/A# Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
542N/A#
542N/A# Permission is hereby granted, free of charge, to any person obtaining a
919N/A# copy of this software and associated documentation files (the "Software"),
919N/A# to deal in the Software without restriction, including without limitation
919N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
919N/A# and/or sell copies of the Software, and to permit persons to whom the
919N/A# Software is furnished to do so, subject to the following conditions:
919N/A#
919N/A# The above copyright notice and this permission notice (including the next
919N/A# paragraph) shall be included in all copies or substantial portions of the
919N/A# Software.
919N/A#
919N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
919N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
919N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
919N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
919N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
919N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
919N/A# DEALINGS IN THE SOFTWARE.
542N/A#
542N/A
542N/AMODULE_NAME=xmakemap
542N/A
970N/A# pkg(5) name we deliver the files in (override default)
977N/AMODULE_PKGNAME=x11/x11-server-utilities
970N/AMODULE_PKGNAME_SET=yes
970N/A
1356N/A# Package metadata
1356N/AMODULE_DESC = the xmakemap script to generate xmodmap files
1392N/AMODULE_LICENSE = Oracle
1392N/AMODULE_LICENSE_SET = yes
1356N/A
1356N/A# Dates to show in Oracle copyright notice in pkg license file
1356N/A# Earliest & latest of the copyrights in the Oracle files in this pkg
1356N/AORACLE_COPYRIGHT_YEARS = 1992, 2011
1356N/A
542N/A# No upstream sources for these files, since they're Sun created
542N/AMODULE_VERSION=src
542N/ASOURCE_TARBALL_NAME=NONE
542N/ASOURCE_TARBALL_NAME_SET=yes
542N/AADDITIONAL_SOURCE_DIR=sun-src
542N/A
810N/A# Don't need default targets for configure, build, or install, since there's
542N/A# nothing to build, and the install rule follows here
810N/ACONFIGURE_TARGETS =
810N/ACONFIGURE_TARGETS_SET=yes
810N/ABUILD_TARGETS =
542N/ABUILD_TARGETS_SET=yes
851N/AINSTALL_TARGETS = install_xmakemap
542N/AINSTALL_TARGETS_SET=yes
542N/A
542N/A# Man pages to apply Sun footer to & attributes to list
542N/ASUNTOUCHED_MANPAGES=*.man
542N/AMODULE_STABILITY=Committed
542N/A
542N/A### Include common rulesets
970N/A# Compatibility links from /usr/X11/bin to /usr/bin
970N/AMODULE_X11_BINCOMPAT_LINKS = xmakemap
970N/A
542N/Ainclude ../Makefile.inc
542N/A
542N/ADESTDIR=$(PROTODIR)
542N/A
922N/Ainstall_xmakemap: $(SOURCE_TARGETS) $(INSTALL_DEPS)
1610N/A mkdir -p $(DESTDIR)$(MODULE_BIN_DIR) \
1610N/A $(DESTDIR)$(MODULE_MAN_DIR)/man1
963N/A $(INSTALL_SCRIPT) -m 0555 $(SOURCE_DIR)/xmakemap \
1610N/A $(DESTDIR)$(MODULE_BIN_DIR)
963N/A $(INSTALL_SCRIPT) -m 0444 $(SOURCE_DIR)/xmakemap.man \
1610N/A $(DESTDIR)$(MODULE_MAN_DIR)/man1/xmakemap.1
542N/A