open-src/app/xfontsel/Makefile
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Wed, 02 Feb 2011 11:28:42 -0800
changeset 1068 0dc26c96a5af
parent 970 272328fe1b4a
child 1276 52f85727ce94
permissions -rw-r--r--
7010624 X11R7.6 Update: Application, Utility, & Data modules [PSARC/2011/033]
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
486
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
     1
###############################################################################
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
     2
#
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
     3
# xfontsel 1.x Makefile
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
     4
#
1068
0dc26c96a5af 7010624 X11R7.6 Update: Application, Utility, & Data modules [PSARC/2011/033]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
     5
# Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
486
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
     6
#
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
     7
# Permission is hereby granted, free of charge, to any person obtaining a
919
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
     8
# copy of this software and associated documentation files (the "Software"),
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
     9
# to deal in the Software without restriction, including without limitation
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    10
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    11
# and/or sell copies of the Software, and to permit persons to whom the
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    12
# Software is furnished to do so, subject to the following conditions:
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    13
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    14
# The above copyright notice and this permission notice (including the next
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    15
# paragraph) shall be included in all copies or substantial portions of the
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    16
# Software.
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    17
#
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    18
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    19
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    20
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    21
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    22
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    23
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
425233ae7236 6931307 Standardize Sun copyright & license notices in X gate on current format
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 911
diff changeset
    24
# DEALINGS IN THE SOFTWARE.
486
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    25
#
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    26
#
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    27
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    28
# Package name used in tarballs
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 486
diff changeset
    29
MODULE_NAME=xfontsel
486
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    30
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    31
# Version number (used in path names)
1068
0dc26c96a5af 7010624 X11R7.6 Update: Application, Utility, & Data modules [PSARC/2011/033]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
    32
MODULE_VERSION=1.0.3
486
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    33
911
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    34
# Checksums for upstream tarball
1068
0dc26c96a5af 7010624 X11R7.6 Update: Application, Utility, & Data modules [PSARC/2011/033]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
    35
TARBALL_MD5  = 299fabe7d7be92b6572d814895ce3bb1
0dc26c96a5af 7010624 X11R7.6 Update: Application, Utility, & Data modules [PSARC/2011/033]
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 970
diff changeset
    36
TARBALL_SHA1 = df2eb12b90339b7091bd362b095344015ec8b6fa
911
a3e7e197651c 6929667 Automate downloading and verification of tarballs used to build X gate
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 851
diff changeset
    37
486
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    38
# Patches to apply to source after unpacking, in order
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    39
SOURCE_PATCHES = \
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    40
	xfontsel.patch
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    41
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    42
# Man pages to apply Sun footer to & attributes to list
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    43
SUNTOUCHED_MANPAGES=*.man
493
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 486
diff changeset
    44
MODULE_STABILITY=Committed
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 486
diff changeset
    45
f43507b5737d 6735203 open-src Makefile cleanup & enhancements
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 486
diff changeset
    46
MODULE_CPPFLAGS= -DXLOCALEDIR=\"$(XLOCALEDIR)\"
486
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    47
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    48
MODULE_ADD_INSTALL_TARGETS = install_po
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    49
970
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    50
# Compatibility links from /usr/X11/bin to /usr/bin
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    51
MODULE_X11_BINCOMPAT_LINKS = xfontsel
272328fe1b4a 6941932 X should be able to build IPS packages natively
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents: 943
diff changeset
    52
486
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    53
include ../Makefile.inc
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    54
495249553edb 6732846 Replace xditview with open source version
Mahmood Ali <Mahmood.Ali@Sun.COM>
parents:
diff changeset
    55
install_po:
851
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    56
	mkdir -p $(PROTODIR)$(X11_LC_MESSAGES_DIR)
d428083dbbdd 6905171 X11R7.5 / Xorg 1.7.3 integration
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents: 493
diff changeset
    57
	cp -f xfontsel.po $(PROTODIR)$(X11_LC_MESSAGES_DIR)