open-src/app/xfontsel/Makefile
changeset 486 495249553edb
child 493 f43507b5737d
equal deleted inserted replaced
485:d983e20ebb41 486:495249553edb
       
     1 ###############################################################################
       
     2 #
       
     3 # xfontsel 1.x Makefile
       
     4 #
       
     5 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
       
     6 # Use subject to license terms.
       
     7 #
       
     8 # Permission is hereby granted, free of charge, to any person obtaining a
       
     9 # copy of this software and associated documentation files (the
       
    10 # "Software"), to deal in the Software without restriction, including
       
    11 # without limitation the rights to use, copy, modify, merge, publish,
       
    12 # distribute, and/or sell copies of the Software, and to permit persons
       
    13 # to whom the Software is furnished to do so, provided that the above
       
    14 # copyright notice(s) and this permission notice appear in all copies of
       
    15 # the Software and that both the above copyright notice(s) and this
       
    16 # permission notice appear in supporting documentation.
       
    17 # 
       
    18 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
       
    19 # OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
       
    20 # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
       
    21 # OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
       
    22 # HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
       
    23 # INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
       
    24 # FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
       
    25 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
       
    26 # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
       
    27 # 
       
    28 # Except as contained in this notice, the name of a copyright holder
       
    29 # shall not be used in advertising or otherwise to promote the sale, use
       
    30 # or other dealings in this Software without prior written authorization
       
    31 # of the copyright holder.
       
    32 #
       
    33 #
       
    34 
       
    35 # Package name used in tarballs
       
    36 APP_NAME=xfontsel
       
    37 
       
    38 # Version number (used in path names)
       
    39 APP_VERS=1.0.2
       
    40 
       
    41 # Source tarball
       
    42 SOURCE_TARBALL_NAME=$(APP_NAME)-$(APP_VERS).tar.gz
       
    43 
       
    44 # Patches to apply to source after unpacking, in order
       
    45 SOURCE_PATCHES = \
       
    46 	xfontsel.patch
       
    47 
       
    48 # Man pages to apply Sun footer to & attributes to list
       
    49 SUNTOUCHED_MANPAGES=*.man
       
    50 SUNTOUCH_MAN_FLAGS= -p $(APP_prefix)/bin/ \
       
    51  -a '{Availability, SUNWxwopt} {Interface Stability, Committed}'
       
    52 
       
    53 include ../Makefile.inc
       
    54 
       
    55 install_gen:: install_po
       
    56 install_po:
       
    57 	mkdir -p $(PROTODIR)/usr/X11/share/locale/C/LC_MESSAGES
       
    58 	cp -f xfontsel.po $(PROTODIR)/usr/X11/share/locale/C/LC_MESSAGES