libdrawtext

view examples/Makefile @ 9:9d44f6b0591f

fixed for macosx
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 20 Sep 2011 15:16:35 +0300
parents fe0c54e574ae
children 462bcb69de15
line source
1 fonts = fonts/linux-libertine.ttf fonts/klingon.ttf fonts/sazanami-mincho.ttf
3 .PHONY: all
4 all: $(fonts)
5 cd simple; $(MAKE)
6 cd unicode; $(MAKE)
8 fonts/linux-libertine.ttf:
9 mkdir -p fonts
10 wget http://downloads.sourceforge.net/project/linuxlibertine/linuxlibertine/5.1.3-2/LinLibertineTTF_5.1.3_2011_06_21.tgz
11 mkdir -p linlibertine
12 cd linlibertine; tar xzvf ../LinLibertineTTF_5.1.3_2011_06_21.tgz
13 rm -f LinLibertineTTF_5.1.3_2011_06_21.tgz
14 cp linlibertine/LinLibertine_R.ttf $@
16 fonts/sazanami-mincho.ttf:
17 mkdir -p fonts
18 wget -O sazanami-20040629.tar.bz2 'http://sourceforge.jp/frs/redir.php?m=iij&f=/efont/10087/sazanami-20040629.tar.bz2'
19 tar xjvf sazanami-20040629.tar.bz2
20 rm -f sazanami-20040629.tar.bz2
21 cp sazanami-20040629/sazanami-mincho.ttf $@
23 fonts/klingon.ttf:
24 mkdir -p fonts
25 wget http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-00-53-45-33/tlh_2D00_pIqaD_2D00_US.zip
26 unzip -o tlh_2D00_pIqaD_2D00_US.zip
27 rm -f tlh_2D00_pIqaD_2D00_US.zip
28 cp tlh-pIqaD-US/pIqaD.ttf $@