From: tomo Date: Fri, 11 Dec 2009 03:18:35 +0000 (+0000) Subject: New file. X-Git-Tag: chise-fonts-installer-0_1~30 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=273f585a0a83d68c7568c5c128876779cf8964d3;p=chise%2Fchise-fonts-installer.git New file. --- diff --git a/BDF/CBETA/Makefile.in b/BDF/CBETA/Makefile.in new file mode 100644 index 0000000..b9153d0 --- /dev/null +++ b/BDF/CBETA/Makefile.in @@ -0,0 +1,48 @@ +VERSION = @PACKAGE_VERSION@ + +RM = /bin/rm -f +TAR = tar +WGET = wget +MKDIR = mkdir -p +SUDO = + +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +datadir = @datadir@ + +FONTS_DIR = $(datadir)/fonts +BDF_FONTS_DIR = $(datadir)/fonts/BDF +PCF_FONTS_DIR = $(datadir)/fonts/PCF +CBETA_BDF_FONTS_DIR = $(BDF_FONTS_DIR)/CBETA +CBETA_PCF_FONTS_DIR = $(PCF_FONTS_DIR)/CBETA + +CHISE_FONTS_URL = http://kanji.zinbun.kyoto-u.ac.jp/projects/chise/dist/fonts + +BDF_FILES = cbeta-48.bdf + +OPTS = @ac_configure_args@ + +all: get + +get: $(BDF_FILES) + + +cbeta-48.bdf: + $(WGET) $(CHISE_FONTS_URL)/BDF/CBETA/cbeta-48.bdf + + +install: + $(MKDIR) $(CBETA_BDF_FONTS_DIR) + ( $(TAR) -cf - *.bdf ) | \ + ( cd $(CBETA_BDF_FONTS_DIR) && $(TAR) -xf - ) + $(MKDIR) $(CBETA_PCF_FONTS_DIR) + for file in $(BDF_FILES) ; do \ + FONT=`basename $${file} .bdf`.pcf.gz ; \ + bdftopcf $${file} | gzip -best > $(CBETA_PCF_FONTS_DIR)/$${FONT} ; \ + done + cd $(CBETA_PCF_FONTS_DIR) && mkfontdir + + +distclean: + -$(RM) *.bdf Makefile diff --git a/BDF/ETL-VN2/Makefile.in b/BDF/ETL-VN2/Makefile.in new file mode 100644 index 0000000..a73ca8e --- /dev/null +++ b/BDF/ETL-VN2/Makefile.in @@ -0,0 +1,48 @@ +VERSION = @PACKAGE_VERSION@ + +RM = /bin/rm -f +TAR = tar +WGET = wget +MKDIR = mkdir -p +SUDO = + +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +datadir = @datadir@ + +FONTS_DIR = $(datadir)/fonts +BDF_FONTS_DIR = $(datadir)/fonts/BDF +PCF_FONTS_DIR = $(datadir)/fonts/PCF +ETL_VN2_BDF_FONTS_DIR = $(BDF_FONTS_DIR)/ETL-VN2 +ETL_VN2_PCF_FONTS_DIR = $(PCF_FONTS_DIR)/ETL-VN2 + +CHISE_FONTS_URL = http://kanji.zinbun.kyoto-u.ac.jp/projects/chise/dist/fonts + +BDF_FILES = ltcvn24.bdf + +OPTS = @ac_configure_args@ + +all: get + +get: $(BDF_FILES) + + +ltcvn24.bdf: + $(WGET) $(CHISE_FONTS_URL)/BDF/ETL-VN2/ltcvn24.bdf + + +install: + $(MKDIR) $(ETL_VN2_BDF_FONTS_DIR) + ( $(TAR) -cf - *.bdf ) | \ + ( cd $(ETL_VN2_BDF_FONTS_DIR) && $(TAR) -xf - ) + $(MKDIR) $(ETL_VN2_PCF_FONTS_DIR) + for file in $(BDF_FILES) ; do \ + FONT=`basename $${file} .bdf`.pcf.gz ; \ + bdftopcf $${file} | gzip -best > $(ETL_VN2_PCF_FONTS_DIR)/$${FONT} ; \ + done + cd $(ETL_VN2_PCF_FONTS_DIR) && mkfontdir + + +distclean: + -$(RM) *.bdf Makefile diff --git a/BDF/Makefile.in b/BDF/Makefile.in new file mode 100644 index 0000000..7120632 --- /dev/null +++ b/BDF/Makefile.in @@ -0,0 +1,52 @@ +VERSION = @PACKAGE_VERSION@ + +TAR = tar +WGET = wget +SUDO = + +prefix = @prefix@ +exec_prefix = @exec_prefix@ +BINDIR = @bindir@ +LIBDIR = @libdir@ +OPTS = @ac_configure_args@ + + +all: build-etl-vn2 build-thai-xtis build-zinbun build-cbeta + +install: install-etl-vn2 install-thai-xtis install-zinbun install-cbeta + + +build-etl-vn2: + cd ETL-VN2 && make + +install-etl-vn2: + cd ETL-VN2 && make install + + +build-thai-xtis: + cd Thai-XTIS && make + +install-thai-xtis: + cd Thai-XTIS && make install + + +build-zinbun: + cd Zinbun && make + +install-zinbun: + cd Zinbun && make install + + +build-cbeta: + cd CBETA && make + +install-cbeta: + cd CBETA && make install + + +distclean: + cd ETL-VN2 && make distclean + cd Thai-XTIS && make distclean + cd Zinbun && make distclean + cd CBETA && make distclean + -$(RM) Makefile diff --git a/BDF/Thai-XTIS/Makefile.in b/BDF/Thai-XTIS/Makefile.in new file mode 100644 index 0000000..479c50e --- /dev/null +++ b/BDF/Thai-XTIS/Makefile.in @@ -0,0 +1,51 @@ +VERSION = @PACKAGE_VERSION@ + +RM = /bin/rm -f +TAR = tar +WGET = wget +MKDIR = mkdir -p +SUDO = + +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +datadir = @datadir@ + +FONTS_DIR = $(datadir)/fonts +BDF_FONTS_DIR = $(datadir)/fonts/BDF +PCF_FONTS_DIR = $(datadir)/fonts/PCF +THAI_XTIS_BDF_FONTS_DIR = $(BDF_FONTS_DIR)/Thai-XTIS +THAI_XTIS_PCF_FONTS_DIR = $(PCF_FONTS_DIR)/Thai-XTIS + +CHISE_FONTS_URL = http://kanji.zinbun.kyoto-u.ac.jp/projects/chise/dist/fonts + +BDF_FILES = th12n.bdf th_x18.bdf + +OPTS = @ac_configure_args@ + +all: get + +get: $(BDF_FILES) + + +th12n.bdf: + $(WGET) $(CHISE_FONTS_URL)/BDF/Thai-XTIS/th12n.bdf + +th_x18.bdf: + $(WGET) $(CHISE_FONTS_URL)/BDF/Thai-XTIS/th_x18.bdf + + +install: + $(MKDIR) $(THAI_XTIS_BDF_FONTS_DIR) + ( $(TAR) -cf - *.bdf ) | \ + ( cd $(THAI_XTIS_BDF_FONTS_DIR) && $(TAR) -xf - ) + $(MKDIR) $(THAI_XTIS_PCF_FONTS_DIR) + for file in $(BDF_FILES) ; do \ + FONT=`basename $${file} .bdf`.pcf.gz ; \ + bdftopcf $${file} | gzip -best > $(THAI_XTIS_PCF_FONTS_DIR)/$${FONT} ; \ + done + cd $(THAI_XTIS_PCF_FONTS_DIR) && mkfontdir + + +distclean: + -$(RM) *.bdf Makefile diff --git a/BDF/Zinbun/Makefile.in b/BDF/Zinbun/Makefile.in new file mode 100644 index 0000000..95b6589 --- /dev/null +++ b/BDF/Zinbun/Makefile.in @@ -0,0 +1,61 @@ +VERSION = @PACKAGE_VERSION@ + +RM = /bin/rm -f +TAR = tar +WGET = wget +MKDIR = mkdir -p +SUDO = + +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +datadir = @datadir@ + +FONTS_DIR = $(datadir)/fonts +BDF_FONTS_DIR = $(datadir)/fonts/BDF +PCF_FONTS_DIR = $(datadir)/fonts/PCF +ZINBUN_BDF_FONTS_DIR = $(BDF_FONTS_DIR)/Zinbun +ZINBUN_PCF_FONTS_DIR = $(PCF_FONTS_DIR)/Zinbun + +CHISE_FONTS_URL = http://kanji.zinbun.kyoto-u.ac.jp/projects/chise/dist/fonts + +BDF_FILES = ekan-dk2.bdf ekan-dk3.bdf \ + jef-c3-48.bdf kaizuka48.bdf kaizuka128.bdf + +OPTS = @ac_configure_args@ + +all: get + +get: $(BDF_FILES) + + +ekan-dk2.bdf: + $(WGET) $(CHISE_FONTS_URL)/BDF/Zinbun/ekan-dk2.bdf + +ekan-dk3.bdf: + $(WGET) $(CHISE_FONTS_URL)/BDF/Zinbun/ekan-dk3.bdf + +jef-c3-48.bdf: + $(WGET) $(CHISE_FONTS_URL)/BDF/Zinbun/jef-c3-48.bdf + +kaizuka48.bdf: + $(WGET) $(CHISE_FONTS_URL)/BDF/Zinbun/kaizuka48.bdf + +kaizuka128.bdf: + $(WGET) $(CHISE_FONTS_URL)/BDF/Zinbun/kaizuka128.bdf + + +install: + $(MKDIR) $(ZINBUN_BDF_FONTS_DIR) + ( $(TAR) -cf - *.bdf ) | \ + ( cd $(ZINBUN_BDF_FONTS_DIR) && $(TAR) -xf - ) + $(MKDIR) $(ZINBUN_PCF_FONTS_DIR) + for file in $(BDF_FILES) ; do \ + FONT=`basename $${file} .bdf`.pcf.gz ; \ + bdftopcf $${file} | gzip -best > $(ZINBUN_PCF_FONTS_DIR)/$${FONT} ; \ + done + cd $(ZINBUN_PCF_FONTS_DIR) && mkfontdir + + +distclean: + -$(RM) *.bdf Makefile diff --git a/TrueType/Makefile.in b/TrueType/Makefile.in new file mode 100644 index 0000000..77859b1 --- /dev/null +++ b/TrueType/Makefile.in @@ -0,0 +1,28 @@ +VERSION = @PACKAGE_VERSION@ + +TAR = tar +WGET = wget +SUDO = + +prefix = @prefix@ +exec_prefix = @exec_prefix@ +BINDIR = @bindir@ +LIBDIR = @libdir@ +OPTS = @ac_configure_args@ + + +all: build-zinbun + +install: install-zinbun + + +build-zinbun: + cd Zinbun && make + +install-zinbun: + cd Zinbun && make install + + +distclean: + cd Zinbun && make distclean + -$(RM) Makefile diff --git a/TrueType/Zinbun/Makefile.in b/TrueType/Zinbun/Makefile.in new file mode 100644 index 0000000..f26e851 --- /dev/null +++ b/TrueType/Zinbun/Makefile.in @@ -0,0 +1,44 @@ +VERSION = @PACKAGE_VERSION@ + +RM = /bin/rm -f +TAR = tar +WGET = wget +MKDIR = mkdir -p +SUDO = + +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +datadir = @datadir@ + +FONTS_DIR = $(datadir)/fonts +TTF_FONTS_DIR = $(datadir)/fonts/TrueType +ZINBUN_FONTS_DIR = $(TTF_FONTS_DIR)/Zinbun + +CHISE_FONTS_URL = http://kanji.zinbun.kyoto-u.ac.jp/projects/chise/dist/fonts + +OPTS = @ac_configure_args@ + +all: get + +get: rui6-eudc.ttf fonts.dir fonts.alias + + +rui6-eudc.ttf: + $(WGET) $(CHISE_FONTS_URL)/TrueType/Zinbun/rui6-eudc.ttf + +fonts.dir: + $(WGET) $(CHISE_FONTS_URL)/TrueType/Zinbun/fonts.dir + +fonts.alias: + $(WGET) $(CHISE_FONTS_URL)/TrueType/Zinbun/fonts.alias + + +install: + $(MKDIR) $(ZINBUN_FONTS_DIR) + ( $(TAR) -cf - *.ttf fonts.dir fonts.alias ) | \ + ( cd $(ZINBUN_FONTS_DIR) && $(TAR) -xf - ) + + +distclean: + -$(RM) *.ttf fonts.dir fonts.alias Makefile