pkgsrc/print/ja-ptex-bin/patches/patch-ad

85 lines
3.1 KiB
Text
Raw Normal View History

$NetBSD: patch-ad,v 1.3 2006/11/12 08:51:54 hira Exp $
--- texk/dvipsk/Makefile.in.orig 2006-11-12 17:09:31.000000000 +0900
+++ texk/dvipsk/Makefile.in 2006-11-12 17:21:04.000000000 +0900
Update ja-ptex-bin to 3.1.9. It's mostly a bug fix release. - Use teTeX3. - Use print/teTeX/module.mk framework. - Don't modify installed teTeX-texmf files. - Remove INSTALL and DEINSTALL (no longer needed). - Make pjbibtex work (patch-al). Some fixes and improvements were submitted by minskim@ on tech-pkg-ja mailing list. This should fix PR pkg/32592. Changes from 3.1.8 to 3.1.9 2005/10/17: mkconf: Don't add tex/platex to search path of platex. ptex: Fix bug with TFM that uses LIG/ at begining of word. Changes from 3.1.7 to 3.1.8 2005/03/07: Makefile.in: Do run mktexlsr in `make install'. Makefile.in: INSTALL.txt: Adapt changes of teTeX-3.0's TEXMF directory. 2004/12/14: ptex: Fix handle of control sequence name. ptex: Fix recognition of ^^ after control sequence. ptex: Fix line feed position in terminal/log. Changes from 3.1.6 to 3.1.7 2004/12/09: ptex: Fix control sequence name that includes ^^ format. ptex: Sync a range of non-printable characters to 3.1.4. mkconf: Create TEXINPUTS for sjis, jis and euc encodings. Changes from 3.1.5 to 3.1.6 2004/12/02: ptex: Adapt tetex-2.99.4.20041128-beta. INSTALL.txt: Add comments for filename and TDS. Changes from 3.1.4 to 3.1.5 2004/11/29: ptex: Don't recognize ^^ format control sequence and next character as kanji. ptex: Output non-printable messages as ^^ format. 2004/11/08: ptex: After reading JIS encoded files, disable `kanjiin' state at end of file. 2004/10/12: pltotf: Fix build of TFM files from SJIS coded PL files. Changes from 3.1.3 to 3.1.4 2004/09/02: ptex: Don't recognize as kanji in following case: - Charactor of the end of line is a first byte of kanji. - ^^ format control sequence is a first byte of kanji. - Use \char in equation. ptex: Don't recognize as invalid character if a single byte character is a first byte of kanji. ptex: Make strict kanji recognition in \string. jbibtex: Dealing with CR. Correct Japaense translation of the contract. Changes from 3.1.2 to 3.1.3: 2003/10/07: ptex: Fix \kansujichar doesn't set a expected character with -kanji=sjis. 2003/09/30: ptex: Don't print non-printable characters to terminal/log. 2003/08/05: pconvert: Change usage message. Add $target option to fixwrites if it's pltotf, tftopl and pdvitype.
2006-06-24 12:52:23 +02:00
@@ -19,6 +19,7 @@
ac_include ../make/cross.mk
ac_include ../make/texi.mk
prog_cflags = -DUNIX -DKPATHSEA -DNeedFunctionPrototypes -DSHIFTLOWCHARS
+psheaderdir = $(texmflcl)/dvips
# The `t[mp]-' business is so that we don't create an empty .pro file,
# if running squeeze fails for some reason. A dependency on squeeze
Update ja-ptex-bin to 3.1.9. It's mostly a bug fix release. - Use teTeX3. - Use print/teTeX/module.mk framework. - Don't modify installed teTeX-texmf files. - Remove INSTALL and DEINSTALL (no longer needed). - Make pjbibtex work (patch-al). Some fixes and improvements were submitted by minskim@ on tech-pkg-ja mailing list. This should fix PR pkg/32592. Changes from 3.1.8 to 3.1.9 2005/10/17: mkconf: Don't add tex/platex to search path of platex. ptex: Fix bug with TFM that uses LIG/ at begining of word. Changes from 3.1.7 to 3.1.8 2005/03/07: Makefile.in: Do run mktexlsr in `make install'. Makefile.in: INSTALL.txt: Adapt changes of teTeX-3.0's TEXMF directory. 2004/12/14: ptex: Fix handle of control sequence name. ptex: Fix recognition of ^^ after control sequence. ptex: Fix line feed position in terminal/log. Changes from 3.1.6 to 3.1.7 2004/12/09: ptex: Fix control sequence name that includes ^^ format. ptex: Sync a range of non-printable characters to 3.1.4. mkconf: Create TEXINPUTS for sjis, jis and euc encodings. Changes from 3.1.5 to 3.1.6 2004/12/02: ptex: Adapt tetex-2.99.4.20041128-beta. INSTALL.txt: Add comments for filename and TDS. Changes from 3.1.4 to 3.1.5 2004/11/29: ptex: Don't recognize ^^ format control sequence and next character as kanji. ptex: Output non-printable messages as ^^ format. 2004/11/08: ptex: After reading JIS encoded files, disable `kanjiin' state at end of file. 2004/10/12: pltotf: Fix build of TFM files from SJIS coded PL files. Changes from 3.1.3 to 3.1.4 2004/09/02: ptex: Don't recognize as kanji in following case: - Charactor of the end of line is a first byte of kanji. - ^^ format control sequence is a first byte of kanji. - Use \char in equation. ptex: Don't recognize as invalid character if a single byte character is a first byte of kanji. ptex: Make strict kanji recognition in \string. jbibtex: Dealing with CR. Correct Japaense translation of the contract. Changes from 3.1.2 to 3.1.3: 2003/10/07: ptex: Fix \kansujichar doesn't set a expected character with -kanji=sjis. 2003/09/30: ptex: Don't print non-printable characters to terminal/log. 2003/08/05: pconvert: Change usage message. Add $target option to fixwrites if it's pltotf, tftopl and pdvitype.
2006-06-24 12:52:23 +02:00
@@ -37,13 +38,16 @@
pprescan.o papersiz.o color.o bbox.o hps.o t1part.o
program = dvips
-programs = afm2tfm $(program)
+programs = pdvips
default all: $(programs) $(prologues) dvips.info
$(program): $(kpathsea) $(objects)
$(kpathsea_link) $(objects) $(LOADLIBES)
+pdvips: $(program)
+ rm -f pdvips
+ ln $(program) pdvips
afm2tfm: $(kpathsea) afm2tfm.o
$(kpathsea_link) afm2tfm.o $(LOADLIBES)
# Omit LOADLIBES since no need to dynamically link with kpathsea.
@@ -87,11 +91,8 @@
install-exec: all
$(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
- rm -f $(bindir)/o$(program)
- ln -s $(program) $(bindir)/o$(program)
uninstall-exec:
for p in $(programs); do rm -f $(bindir)/$$p; done
- rm -f $(bindir)/o$(program)
install-data: $(program).info
$(SHELL) $(top_srcdir)/../mkinstalldirs $(man1dir) $(infodir) $(psheaderdir)/base
@@ -110,31 +111,18 @@
# $(INSTALL_DATA) $(srcdir)/psfonts.map $(psheaderdir)/base/psfonts.map; \
# else true; fi
Update ja-ptex-bin to 3.1.9. It's mostly a bug fix release. - Use teTeX3. - Use print/teTeX/module.mk framework. - Don't modify installed teTeX-texmf files. - Remove INSTALL and DEINSTALL (no longer needed). - Make pjbibtex work (patch-al). Some fixes and improvements were submitted by minskim@ on tech-pkg-ja mailing list. This should fix PR pkg/32592. Changes from 3.1.8 to 3.1.9 2005/10/17: mkconf: Don't add tex/platex to search path of platex. ptex: Fix bug with TFM that uses LIG/ at begining of word. Changes from 3.1.7 to 3.1.8 2005/03/07: Makefile.in: Do run mktexlsr in `make install'. Makefile.in: INSTALL.txt: Adapt changes of teTeX-3.0's TEXMF directory. 2004/12/14: ptex: Fix handle of control sequence name. ptex: Fix recognition of ^^ after control sequence. ptex: Fix line feed position in terminal/log. Changes from 3.1.6 to 3.1.7 2004/12/09: ptex: Fix control sequence name that includes ^^ format. ptex: Sync a range of non-printable characters to 3.1.4. mkconf: Create TEXINPUTS for sjis, jis and euc encodings. Changes from 3.1.5 to 3.1.6 2004/12/02: ptex: Adapt tetex-2.99.4.20041128-beta. INSTALL.txt: Add comments for filename and TDS. Changes from 3.1.4 to 3.1.5 2004/11/29: ptex: Don't recognize ^^ format control sequence and next character as kanji. ptex: Output non-printable messages as ^^ format. 2004/11/08: ptex: After reading JIS encoded files, disable `kanjiin' state at end of file. 2004/10/12: pltotf: Fix build of TFM files from SJIS coded PL files. Changes from 3.1.3 to 3.1.4 2004/09/02: ptex: Don't recognize as kanji in following case: - Charactor of the end of line is a first byte of kanji. - ^^ format control sequence is a first byte of kanji. - Use \char in equation. ptex: Don't recognize as invalid character if a single byte character is a first byte of kanji. ptex: Make strict kanji recognition in \string. jbibtex: Dealing with CR. Correct Japaense translation of the contract. Changes from 3.1.2 to 3.1.3: 2003/10/07: ptex: Fix \kansujichar doesn't set a expected character with -kanji=sjis. 2003/09/30: ptex: Don't print non-printable characters to terminal/log. 2003/08/05: pconvert: Change usage message. Add $target option to fixwrites if it's pltotf, tftopl and pdvitype.
2006-06-24 12:52:23 +02:00
# psfonts_jp.map.
- $(INSTALL) -d $(texmf)/fonts/map/dvips/ptex
- $(INSTALL_DATA) $(srcdir)/psfonts_jp.map $(texmf)/fonts/map/dvips/ptex/psfonts_jp.map
+ $(INSTALL) -d $(texmflcl)/fonts/map/dvips/ptex
+ $(INSTALL_DATA) $(srcdir)/psfonts_jp.map $(texmflcl)/fonts/map/dvips/ptex/psfonts_jp.map
# Info files.
- cd $(srcdir) && for i in $(program).i*; do \
- $(INSTALL_DATA) $$i $(infodir)/$$i; done
# Man pages.
- $(INSTALL_DATA) $(srcdir)/$(program).1 $(man1dir)/$(program).$(manext)
- rm -f $(man1dir)/o$(program).$(manext)
- ln -s $(program).$(manext) $(man1dir)/o$(program).$(manext)
- $(INSTALL_DATA) $(srcdir)/afm2tfm.1 $(man1dir)/afm2tfm.$(manext)
# TeX macros.
# cd $(srcdir)/tex && for m in *.tex; do \
# $(INSTALL_DATA) $$m $(dvips_plain_macrodir)/$$m; done
$(POST_INSTALL)
- if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
- install-info --info-dir=$(infodir) $(infodir)/$(program).info; \
- else true; fi
uninstall-data:
$(PRE_UNINSTALL)
- if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
- install-info --delete --info-dir=$(infodir) $(infodir)/$(program).info; \
- else true; fi
$(NORMAL_UNINSTALL)
- rm -f $(infodir)/dvips.i*
# for h in $(prologues); do rm -f $(psheaderdir)/base/$$h; done
# cd $(srcdir)/reencode && for e in *.enc; do rm -f $(psheaderdir)/base/$$e; \
# done
@@ -146,7 +134,6 @@
# else true; fi
rm -f $(texmf)/fonts/map/dvips/ptex/psfonts_jp.map
rmdir $(texmf)/fonts/map/dvips/ptex
- rm -f $(man1dir)/dvips.$(manext) $(man1dir)/afm2tfm.$(manext)
distname = dvipsk
program_files = *.texi *.info* *.lpro psfonts.map *.1 texc.script \