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