Makefile revision 1392
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj###############################################################################
31a130dc6ed3face8b004f32ce84f8a1342d920emanoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# xmakemap script to generate xmodmap files from current keyboard settings
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb#
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb# Permission is hereby granted, free of charge, to any person obtaining a
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick# copy of this software and associated documentation files (the "Software"),
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb# to deal in the Software without restriction, including without limitation
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# the rights to use, copy, modify, merge, publish, distribute, sublicense,
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj# and/or sell copies of the Software, and to permit persons to whom the
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Software is furnished to do so, subject to the following conditions:
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
4a81c8eb2a61b43a9dd0879a65feb834a6dde1d5stoddard# The above copyright notice and this permission notice (including the next
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb# paragraph) shall be included in all copies or substantial portions of the
b69cf46e5e6190dc3a1fbadc7277bb66fd4c8998gstein# Software.
b69cf46e5e6190dc3a1fbadc7277bb66fd4c8998gstein#
b69cf46e5e6190dc3a1fbadc7277bb66fd4c8998gstein# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
b69cf46e5e6190dc3a1fbadc7277bb66fd4c8998gstein# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
225094adcf0dbac3a2f8973de864486ab087ce20rbb# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
225094adcf0dbac3a2f8973de864486ab087ce20rbb# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
225094adcf0dbac3a2f8973de864486ab087ce20rbb# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
225094adcf0dbac3a2f8973de864486ab087ce20rbb# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
225094adcf0dbac3a2f8973de864486ab087ce20rbb# DEALINGS IN THE SOFTWARE.
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb#
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb
bfb62a96023822c56c9120e4ee627d4091cc59c2rbbMODULE_NAME=xmakemap
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb
bfb62a96023822c56c9120e4ee627d4091cc59c2rbb# pkg(5) name we deliver the files in (override default)
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddardMODULE_PKGNAME=x11/x11-server-utilities
1c6fb1e726ce22694de0e9a957adb67b929e5d4fstoddardMODULE_PKGNAME_SET=yes
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddard
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddard# Package metadata
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddardMODULE_DESC = the xmakemap script to generate xmodmap files
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddardMODULE_LICENSE = Oracle
91a71946d0fb28c0866139edef3dd59f36ba5b9cstoddardMODULE_LICENSE_SET = yes
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
369edcdd0a9c5516c61e736ec2a6fc8fb0d92fe2manoj# Dates to show in Oracle copyright notice in pkg license file
31a130dc6ed3face8b004f32ce84f8a1342d920emanoj# Earliest & latest of the copyrights in the Oracle files in this pkg
2a6c49cfaef5979a5a06098f3ce987cd76769409manojORACLE_COPYRIGHT_YEARS = 1992, 2011
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard# No upstream sources for these files, since they're Sun created
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddardMODULE_VERSION=src
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddardSOURCE_TARBALL_NAME=NONE
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddardSOURCE_TARBALL_NAME_SET=yes
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddardADDITIONAL_SOURCE_DIR=sun-src
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard
10b386767f6c87b45937244371cb751f0b454d16wrowe# Don't need default targets for configure, build, or install, since there's
10b386767f6c87b45937244371cb751f0b454d16wrowe# nothing to build, and the install rule follows here
75960f20f88dad6bc67892c711c429946063d133stoddardCONFIGURE_TARGETS =
75960f20f88dad6bc67892c711c429946063d133stoddardCONFIGURE_TARGETS_SET=yes
75960f20f88dad6bc67892c711c429946063d133stoddardBUILD_TARGETS =
75960f20f88dad6bc67892c711c429946063d133stoddardBUILD_TARGETS_SET=yes
75960f20f88dad6bc67892c711c429946063d133stoddardINSTALL_TARGETS = install_xmakemap
75960f20f88dad6bc67892c711c429946063d133stoddardINSTALL_TARGETS_SET=yes
75960f20f88dad6bc67892c711c429946063d133stoddard
10b386767f6c87b45937244371cb751f0b454d16wrowe# Man pages to apply Sun footer to & attributes to list
10b386767f6c87b45937244371cb751f0b454d16wroweSUNTOUCHED_MANPAGES=*.man
10b386767f6c87b45937244371cb751f0b454d16wroweMODULE_STABILITY=Committed
10b386767f6c87b45937244371cb751f0b454d16wrowe
10b386767f6c87b45937244371cb751f0b454d16wrowe### Include common rulesets
10b386767f6c87b45937244371cb751f0b454d16wrowe# Compatibility links from /usr/X11/bin to /usr/bin
10b386767f6c87b45937244371cb751f0b454d16wroweMODULE_X11_BINCOMPAT_LINKS = xmakemap
10b386767f6c87b45937244371cb751f0b454d16wrowe
10b386767f6c87b45937244371cb751f0b454d16wroweinclude ../Makefile.inc
10b386767f6c87b45937244371cb751f0b454d16wrowe
10b386767f6c87b45937244371cb751f0b454d16wroweDESTDIR=$(PROTODIR)
a9e07e4f90adcc7bc768db3055431c3dcd560cd1manoj
f6a6245816cd866361da8c576b1f47c7a54b6610fanfinstall_xmakemap: $(SOURCE_TARGETS) $(INSTALL_DEPS)
f6a6245816cd866361da8c576b1f47c7a54b6610fanf mkdir -p $(DESTDIR)$(X11_BIN_DIR) \
97b758d0b174d7b7c5a1de1a583f5840ec3fc910trawick $(DESTDIR)$(X11_MAN_DIR)/man1
db3ccce11afac4fc1d4f51a65424412f7480c46cgstein $(INSTALL_SCRIPT) -m 0555 $(SOURCE_DIR)/xmakemap \
641cb23141f2238ed09e3b9fa79189225f8a2bcbrbb $(DESTDIR)$(X11_BIN_DIR)
641cb23141f2238ed09e3b9fa79189225f8a2bcbrbb $(INSTALL_SCRIPT) -m 0444 $(SOURCE_DIR)/xmakemap.man \
641cb23141f2238ed09e3b9fa79189225f8a2bcbrbb $(DESTDIR)$(X11_MAN_DIR)/man1/xmakemap.1
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj
b187d568e1507d75139ebc13ca945b38fc05d55cstoddard