src/xorg/fonts/Makefile.fonts
author Jon Tibble <meths@btinternet.com>
Sat, 06 Oct 2012 16:01:36 +0100
changeset 579 869467bff179
parent 479 7103d7fe30db
permissions -rw-r--r--
Added tag oi_151a_prestable7 for changeset c2c4df884677
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
#
476
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents: 450
diff changeset
    21
# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
405
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    22
#
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    23
447
d8536e70164b 6900593 [Obsolescence of /usr/X11] migrate G11n fonts to /usr/share/fonts
hnhn
parents: 415
diff changeset
    24
FONTROOT	= $(FILEROOT)/usr/share/fonts/TrueType
d8536e70164b 6900593 [Obsolescence of /usr/X11] migrate G11n fonts to /usr/share/fonts
hnhn
parents: 415
diff changeset
    25
405
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    26
$(VER)/.fonts_installed: $(VER)/.unpacked
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    27
	$(INSDIR) -m 755 -u root -g bin $(ROOT_FONT_DIR)
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    28
	( cd $(VER); \
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    29
	for f in $(FONTS); do \
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    30
		$(INS) $(ROOT_FONT_DIR) -m 0444 -u root -g bin $$f; \
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    31
	done; )
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    32
	touch $@
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    33
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    34
$(VER)/%.bz2: $(VER)/%
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    35
	$(BZIP2) -c $< > $@
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)/.docs_installed: $(VER)/.unpacked $(DOCS:%=$(VER)/%.bz2)
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    38
	$(INSDIR) -m 755 -u root -g bin $(ROOT_DOC_DIR)
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    39
	( cd $(VER); \
479
7103d7fe30db fix Makefile.fonts for empty DOCS
hnhn
parents: 478
diff changeset
    40
	DOCS="$(DOCS)"; \
7103d7fe30db fix Makefile.fonts for empty DOCS
hnhn
parents: 478
diff changeset
    41
	for f in $$DOCS; do \
7103d7fe30db fix Makefile.fonts for empty DOCS
hnhn
parents: 478
diff changeset
    42
		$(INS) $(ROOT_DOC_DIR) -m 0444 -u root -g bin $$f.bz2; \
7103d7fe30db fix Makefile.fonts for empty DOCS
hnhn
parents: 478
diff changeset
    43
	done; \
7103d7fe30db fix Makefile.fonts for empty DOCS
hnhn
parents: 478
diff changeset
    44
	)
405
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    45
	touch $@
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    46
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    47
$(VER)/.installed: $(VER)/.docs_installed $(VER)/.fonts_installed 
c601bc5ddd76 added archive downloads to one location
hnhn
parents:
diff changeset
    48
408
5ba7299fee0c 6865555 Fonts should be delivered with file permissions 0444
hnhn
parents: 405
diff changeset
    49
clean:
450
13efd215ca04 6901701 Package Apparatus SIL fonts
hnhn
parents: 447
diff changeset
    50
	$(RM) -r $(VER) $(ORIG_VER)
408
5ba7299fee0c 6865555 Fonts should be delivered with file permissions 0444
hnhn
parents: 405
diff changeset
    51
5ba7299fee0c 6865555 Fonts should be delivered with file permissions 0444
hnhn
parents: 405
diff changeset
    52
clobber: clean
5ba7299fee0c 6865555 Fonts should be delivered with file permissions 0444
hnhn
parents: 405
diff changeset
    53