src/xorg/fonts/bpg-georgian/Makefile
author Jon Tibble <meths@btinternet.com>
Sat, 06 Oct 2012 16:01:36 +0100
changeset 579 869467bff179
parent 524 e797e89cdb7e
permissions -rw-r--r--
Added tag oi_151a_prestable7 for changeset c2c4df884677

#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#

#
# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
# Copyright 2011 Every City Ltd. All rights reserved.
#

include $(SRC)/Makefile.master

PROJECT		= bpg-georgian
VER 		= $(PROJECT)
TARBALL		= BPG_Fonts.zip
WGET_OPT	= -O $(SOURCE_ARCHIVES)/$(TARBALL)
SOURCE_URL	= http://dlc.openindiana.org/gpl/sol-11-exp-201011-GPLSource/l10n/src/g11n/downloads/BPG_Fonts.zip

ROOT_FONT_DIR 	= $(FONTROOT)/$(PROJECT)
ROOT_DOC_DIR 	= $(FILEROOT)/usr/share/doc/ttf-$(PROJECT)

FONTS_RENAME = \
	BPG_Algeti.ttf \
	BPG_Chveulebrivi.ttf \
	BPG_Courier.ttf \
	BPG_Courier_S.ttf \
	BPG_Elite.ttf \
	BPG_Glaho.ttf \
	BPG_Ingiri.ttf \
	BPG_Nino_Medium_Cond.ttf \
	BPG_Nino_Medium.ttf \
	BPG_Sans.ttf \
	BPG_Sans_Medium.ttf \
	BPG_Sans_Modern.ttf \
	BPG_Sans_Regular.ttf \
	BPG_Serif.ttf \
	BPG_Serif_Modern.ttf

FONTS =	$(FONTS_RENAME) \
	../fonts.dir \
	../fonts.scale

DOCS =	README.txt

VERFONTS = $(FONTS_RENAME:%.ttf=$(VER)/%.ttf)

all: $(VER)/.created $(VERFONTS)

install: $(VER)/.created $(VERFONTS) $(VER)/.installed

include ../Makefile.fonts
include $(SRC)/Makefile.targ

$(VER)/.created: $(SOURCE_ARCHIVE)
	-$(RM) -r $(VER)
	-mkdir $(VER)
	( cd $(VER) ; $(UNPACKARCHIVE) $(SOURCE_ARCHIVE) . )
	touch $@ $(VER)/.unpacked

$(VER)/%.ttf: $(VER)/%_GPL\&GNU.ttf
	cp "$<" $@

$(VER)/README.txt: $(VER)/Docs/BPG_GPL\&GNU_Fonts.txt
	cp $(VER)/Docs/BPG_GPL\&GNU_Fonts.txt $@