open-src/app/xhost/Makefile
author X gate hg captive account <xhg@xserver.us.oracle.com>
Wed Aug 19 13:48:41 2015 -0700 (2015-08-19)
changeset 1484 bc8922b8e1d2
parent 1339 4f152696e5f2
permissions -rw-r--r--
Added tag s11u3_30 for changeset 221e9d9cc9cb
Jay@294
     1
###############################################################################
Jay@294
     2
#
Alan@1276
     3
# xhost - utility for mananging X server access control lists
Jay@294
     4
#
Alan@1339
     5
# Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
Jay@294
     6
#
Jay@294
     7
# Permission is hereby granted, free of charge, to any person obtaining a
Alan@919
     8
# copy of this software and associated documentation files (the "Software"),
Alan@919
     9
# to deal in the Software without restriction, including without limitation
Alan@919
    10
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
Alan@919
    11
# and/or sell copies of the Software, and to permit persons to whom the
Alan@919
    12
# Software is furnished to do so, subject to the following conditions:
Alan@919
    13
#
Alan@919
    14
# The above copyright notice and this permission notice (including the next
Alan@919
    15
# paragraph) shall be included in all copies or substantial portions of the
Alan@919
    16
# Software.
Alan@919
    17
#
Alan@919
    18
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
Alan@919
    19
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Alan@919
    20
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
Alan@919
    21
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
Alan@919
    22
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
Alan@919
    23
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
Alan@919
    24
# DEALINGS IN THE SOFTWARE.
Jay@294
    25
#
Jay@294
    26
#
Jay@294
    27
Jay@294
    28
# Package name used in tarballs
Alan@493
    29
MODULE_NAME=xhost
Jay@294
    30
Alan@970
    31
# pkg(5) name we deliver the files in (override default)
Alan@977
    32
MODULE_PKGNAME=x11/x11-server-utilities
Alan@970
    33
MODULE_PKGNAME_SET=yes
Alan@970
    34
Alan@1339
    35
# Package metadata
Alan@1339
    36
MODULE_DESC = the xhost utility for mananging X server access control lists
Alan@1339
    37
Jay@294
    38
# Version number (used in path names)
Alan@1370
    39
MODULE_VERSION=1.0.6
Jay@294
    40
Alan@911
    41
# Checksums for upstream tarball
Alan@1370
    42
TARBALL_MD5   = f1669af1fe0554e876f03319c678e79d
Alan@1370
    43
TARBALL_SHA1  = 6224c8bcd909bf205c7e92dbdc349356890c4428
Alan@1370
    44
TARBALL_SHA256= a6f5b922df0a7be5d3ba43f525fa8e69c539c738418f013a0b7adaa423a89dc2
Alan@911
    45
Jay@294
    46
# Patches to apply to source after unpacking, in order
Alan@1276
    47
SOURCE_PATCHES += xhost.patch,-p1
Alan@1276
    48
SOURCE_PATCHES += manual.patch,-p1
Jay@294
    49
Jay@294
    50
# Man pages to apply Sun footer to & attributes to list
Alan@1276
    51
SUNTOUCHED_MANPAGES = man/xhost.man
Alan@493
    52
MODULE_STABILITY=Committed
Jay@294
    53
Alan@970
    54
# ARC cases that covered this module
Alan@970
    55
# PSARC/2001/108 X11 Over IPv6
Alan@970
    56
MODULE_ARC_CASES = PSARC/2001/108
Alan@970
    57
Alan@851
    58
MODULE_ADD_INSTALL_TARGETS = install_po
Alan@851
    59
Alan@970
    60
# Compatibility links from /usr/X11/bin to /usr/bin
Alan@970
    61
MODULE_X11_BINCOMPAT_LINKS = xhost
Alan@970
    62
Jay@294
    63
include ../Makefile.inc
Jay@294
    64
Jay@294
    65
install_po:
Alan@851
    66
	mkdir -p $(PROTODIR)$(X11_LC_MESSAGES_DIR)
Alan@851
    67
	cp -f xhost.po $(PROTODIR)$(X11_LC_MESSAGES_DIR)