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