src/xorg/fonts/Makefile.fonts
author hnhn
Fri, 04 Dec 2009 11:06:38 +0100
changeset 450 13efd215ca04
parent 447 d8536e70164b
child 476 327f8f3c93a4
permissions -rw-r--r--
6901701 Package Apparatus SIL fonts
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
405
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
     1
#
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
     2
# CDDL HEADER START
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
     3
#
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
     7
#
415
02da8ebe6414 6865254 Include SIL's OFL-licensed fonts
hnhn
parents: 408
diff changeset
     8
# You can obtain a copy of the license at src/OPENSOLARIS.LICENSE
405
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    10
# See the License for the specific language governing permissions
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    11
# and limitations under the License.
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    12
#
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
415
02da8ebe6414 6865254 Include SIL's OFL-licensed fonts
hnhn
parents: 408
diff changeset
    14
# file and include the License file at src/OPENSOLARIS.LICENSE.
405
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    18
#
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    19
# CDDL HEADER END
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    20
#
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    21
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    22
#
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    23
# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    24
# Use is subject to license terms.
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    25
#
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    26
447
d8536e70164b 6900593 [Obsolescence of /usr/X11] migrate G11n fonts to /usr/share/fonts
hnhn
parents: 415
diff changeset
    27
FONTROOT	= $(FILEROOT)/usr/share/fonts/TrueType
d8536e70164b 6900593 [Obsolescence of /usr/X11] migrate G11n fonts to /usr/share/fonts
hnhn
parents: 415
diff changeset
    28
405
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    29
$(VER)/.fonts_installed: $(VER)/.unpacked
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    30
	$(INSDIR) -m 755 -u root -g bin $(ROOT_FONT_DIR)
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    31
	( cd $(VER); \
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    32
	for f in $(FONTS); do \
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    33
		$(INS) $(ROOT_FONT_DIR) -m 0444 -u root -g bin $$f; \
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    34
	done; )
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    35
	touch $@
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    36
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    37
$(VER)/%.bz2: $(VER)/%
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    38
	$(BZIP2) -c $< > $@
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    39
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    40
$(VER)/.docs_installed: $(VER)/.unpacked $(DOCS:%=$(VER)/%.bz2)
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    41
	$(INSDIR) -m 755 -u root -g bin $(ROOT_DOC_DIR)
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    42
	( cd $(VER); \
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    43
	for f in $(DOCS); do \
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    44
		$(INS) $(ROOT_DOC_DIR) -m 0444 -u root -g bin $$f.bz2; \
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    45
	done; )
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    46
	touch $@
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    47
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    48
$(VER)/.installed: $(VER)/.docs_installed $(VER)/.fonts_installed 
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    49
408
5ba7299fee0c 6865555 Fonts should be delivered with file permissions 0444
hnhn
parents: 405
diff changeset
    50
clean:
450
13efd215ca04 6901701 Package Apparatus SIL fonts
hnhn
parents: 447
diff changeset
    51
	$(RM) -r $(VER) $(ORIG_VER)
408
5ba7299fee0c 6865555 Fonts should be delivered with file permissions 0444
hnhn
parents: 405
diff changeset
    52
5ba7299fee0c 6865555 Fonts should be delivered with file permissions 0444
hnhn
parents: 405
diff changeset
    53
clobber: clean
5ba7299fee0c 6865555 Fonts should be delivered with file permissions 0444
hnhn
parents: 405
diff changeset
    54