src/xorg/fonts/indic-fonts-core/MalayamLinux/Makefile
author hnhn
Wed, 28 Jul 2010 16:32:08 +0200
changeset 476 327f8f3c93a4
permissions -rw-r--r--
6940510 Integrate newest Lohit Indic fonts
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
476
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
     1
#
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
     2
# CDDL HEADER START
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
     3
#
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
     7
#
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
     8
# You can obtain a copy of the license at src/OPENSOLARIS.LICENSE
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    10
# See the License for the specific language governing permissions
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    11
# and limitations under the License.
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    12
#
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    14
# file and include the License file at src/OPENSOLARIS.LICENSE.
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    18
#
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    19
# CDDL HEADER END
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    20
#
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    21
# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    22
#
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    23
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    24
include $(SRC)/Makefile.master
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    25
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    26
PROJECT:sh	= basename `pwd`
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    27
VER 		= $(PROJECT)
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    28
TARBALL		= MalOtf.ttf
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    29
SOURCE_URL	= http://malayalamlinux.sourceforge.net/downloads/fonts/$(TARBALL)
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    30
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    31
FONT = MalOtf.ttf
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    32
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    33
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    34
ROOT_FONT_DIR 	= $(FILEROOT)/usr/share/fonts/TrueType/indic-fonts-core
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    35
ROOT_DOC_DIR 	= $(FILEROOT)/usr/share/doc/indic-fonts-core
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    36
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    37
$(VER)/.installed: $(VER)/.unpacked_withdir
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    38
	$(INSDIR) -m 755 -u root -g bin $(ROOT_FONT_DIR)
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    39
	( cd $(VER); $(INS) $(ROOT_FONT_DIR) -m 0444 -u root -g bin $(FONT); )
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    40
	touch $@
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    41
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    42
all: $(VER)/.unpacked_withdir
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    43
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    44
install: $(VER)/.installed
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    45
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    46
clean:
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    47
	$(RM) -r $(VER) $(ORIG_VER)
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    48
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    49
clobber: clean
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    50
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    51
include $(SRC)/Makefile.targ
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    52
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    53
$(VER)/.unpacked_withdir: $(SOURCE_ARCHIVE)
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    54
	-$(RM) -r $(VER)
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    55
	mkdir $(VER)
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    56
	$(CP) $(SOURCE_ARCHIVE) $(VER)/
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    57
	touch $@
327f8f3c93a4 6940510 Integrate newest Lohit Indic fonts
hnhn
parents:
diff changeset
    58