diff options
author | minskim <minskim@pkgsrc.org> | 2009-02-01 06:05:58 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2009-02-01 06:05:58 +0000 |
commit | e06337047aefffaae66e4588edc17fd9abcf777e (patch) | |
tree | 9e06ebf12002a159e264e48996ef3c5c6e55973d /print/web2c/patches | |
parent | 142729f946fe72d99c0c9e456026cf7ff77fc993 (diff) | |
download | pkgsrc-e06337047aefffaae66e4588edc17fd9abcf777e.tar.gz |
Import web2c-7.5.7 as print/web2c.
Web2C is an implementation of TeX and friends which translates the
original WEB sources written by Donald Knuth into C, so they can be
readily compiled on modern systems.
Diffstat (limited to 'print/web2c/patches')
-rw-r--r-- | print/web2c/patches/patch-aa | 19 | ||||
-rw-r--r-- | print/web2c/patches/patch-ab | 28 | ||||
-rw-r--r-- | print/web2c/patches/patch-ac | 9 | ||||
-rw-r--r-- | print/web2c/patches/patch-ad | 9 | ||||
-rw-r--r-- | print/web2c/patches/patch-ae | 9 | ||||
-rw-r--r-- | print/web2c/patches/patch-af | 26 | ||||
-rw-r--r-- | print/web2c/patches/patch-ag | 33 | ||||
-rw-r--r-- | print/web2c/patches/patch-ah | 10 | ||||
-rw-r--r-- | print/web2c/patches/patch-ai | 20 | ||||
-rw-r--r-- | print/web2c/patches/patch-aj | 22 | ||||
-rw-r--r-- | print/web2c/patches/patch-ak | 13 | ||||
-rw-r--r-- | print/web2c/patches/patch-al | 13 | ||||
-rw-r--r-- | print/web2c/patches/patch-am | 32 | ||||
-rw-r--r-- | print/web2c/patches/patch-an | 20 | ||||
-rw-r--r-- | print/web2c/patches/patch-ao | 72 | ||||
-rw-r--r-- | print/web2c/patches/patch-ap | 74 | ||||
-rw-r--r-- | print/web2c/patches/patch-aq | 15 | ||||
-rw-r--r-- | print/web2c/patches/patch-ar | 15 | ||||
-rw-r--r-- | print/web2c/patches/patch-as | 14 | ||||
-rw-r--r-- | print/web2c/patches/patch-at | 15 |
20 files changed, 468 insertions, 0 deletions
diff --git a/print/web2c/patches/patch-aa b/print/web2c/patches/patch-aa new file mode 100644 index 00000000000..7dfbbfa32e8 --- /dev/null +++ b/print/web2c/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2009/02/01 06:05:58 minskim Exp $ + +--- ../make/tkpathsea.mk.orig 2008-05-29 13:59:08.000000000 -0700 ++++ ../make/tkpathsea.mk +@@ -4,10 +4,9 @@ makeargs = $(MFLAGS) CC='$(CC)' CFLAGS=' + + # This is wrong: the library doesn't depend on kpsewhich.c or + # acconfig.h. But what to do? +-$(kpathsea): $(kpathsea_srcdir)/*.c $(kpathsea_srcdir)/*.h \ +- $(top_srcdir)/../make/paths.mk +- cd $(kpathsea_dir) && $(MAKE) $(makeargs) ++$(kpathsea): ++ true + +-$(kpathsea_dir)/paths.h: $(kpathsea_srcdir)/texmf.cnf +- cd $(kpathsea_dir) && $(MAKE) $(makeargs) ++$(kpathsea_dir)/paths.h: ++ true + # End of tkpathsea.mk. diff --git a/print/web2c/patches/patch-ab b/print/web2c/patches/patch-ab new file mode 100644 index 00000000000..69b0f297db7 --- /dev/null +++ b/print/web2c/patches/patch-ab @@ -0,0 +1,28 @@ +$NetBSD: patch-ab,v 1.1.1.1 2009/02/01 06:05:58 minskim Exp $ + +--- ../make/common.mk.orig 2007-01-20 03:03:18.000000000 -0800 ++++ ../make/common.mk +@@ -17,7 +17,7 @@ LIBTOOL = $(SHELL) $(kpathsea_parent)/li + # You can change [X]CPPFLAGS, [X]CFLAGS, or [X]DEFS, but + # please don't change ALL_CPPFLAGS or ALL_CFLAGS. + # prog_cflags is set by subdirectories of web2c. +-ALL_CPPFLAGS = $(DEFS) -I. -I$(srcdir) -I$(kpathsea_parent) \ ++ALL_CPPFLAGS = $(DEFS) -I. -I$(srcdir) -I$(KPATHSEA_PREFIX)/include \ + -I$(kpathsea_srcdir_parent) $(prog_cflags) $(CPPFLAGS) + ALL_CFLAGS = $(ALL_CPPFLAGS) $(CFLAGS) + ALL_CXXFLAGS = $(ALL_CPPFLAGS) $(CXXFLAGS) +@@ -51,11 +51,11 @@ UNINSTALL_LIBTOOL_LIBS = $(LIBTOOL) --mo + UNINSTALL_LIBTOOL_PROG = $(LIBTOOL) --mode=uninstall $(RM) + + # We use these for many things. +-kpathsea_parent = .. ++kpathsea_parent = $(KPATHSEA_PREFIX)/include + kpathsea_dir = $(kpathsea_parent)/kpathsea + kpathsea_srcdir_parent = $(top_srcdir)/.. +-kpathsea_srcdir = $(kpathsea_srcdir_parent)/kpathsea +-kpathsea = $(kpathsea_dir)/libkpathsea.la ++kpathsea_srcdir = $(KPATHSEA_PREFIX)/include/kpathsea ++kpathsea = $(KPATHSEA_PREFIX)/lib/libkpathsea.la + + @MAINT@ifeq ($(CC), gcc) + @MAINT@XDEFS = -Wpointer-arith $(warn_more) diff --git a/print/web2c/patches/patch-ac b/print/web2c/patches/patch-ac new file mode 100644 index 00000000000..4d36a32ddd2 --- /dev/null +++ b/print/web2c/patches/patch-ac @@ -0,0 +1,9 @@ +$NetBSD: patch-ac,v 1.1.1.1 2009/02/01 06:05:58 minskim Exp $ + +--- lib/Makefile.in.orig 2008-01-30 06:56:21.000000000 -0800 ++++ lib/Makefile.in +@@ -30,4 +30,3 @@ Makefile: Makefile.in ../config.status + + kpse_include ../make/clean.mk + kpse_include ../make/rdepend.mk +-kpse_include lib/depend.mk diff --git a/print/web2c/patches/patch-ad b/print/web2c/patches/patch-ad new file mode 100644 index 00000000000..5f1e90f832c --- /dev/null +++ b/print/web2c/patches/patch-ad @@ -0,0 +1,9 @@ +$NetBSD: patch-ad,v 1.1.1.1 2009/02/01 06:05:58 minskim Exp $ + +--- web2c/Makefile.in.orig 2008-04-15 16:20:46.000000000 -0700 ++++ web2c/Makefile.in +@@ -71,4 +71,3 @@ clean:: + rm -f y_tab.c y_tab.h y.out* yacc.* $(LEX_OUTPUT_ROOT).c + + kpse_include ../make/rdepend.mk +-kpse_include web2c/depend.mk diff --git a/print/web2c/patches/patch-ae b/print/web2c/patches/patch-ae new file mode 100644 index 00000000000..12275fbfc9e --- /dev/null +++ b/print/web2c/patches/patch-ae @@ -0,0 +1,9 @@ +$NetBSD: patch-ae,v 1.1.1.1 2009/02/01 06:05:58 minskim Exp $ + +--- window/Makefile.in.orig 2008-01-30 06:56:21.000000000 -0800 ++++ window/Makefile.in +@@ -35,4 +35,3 @@ distclean:: + rm -f x11.c + + kpse_include ../make/rdepend.mk +-kpse_include window/depend.mk diff --git a/print/web2c/patches/patch-af b/print/web2c/patches/patch-af new file mode 100644 index 00000000000..91934b335a6 --- /dev/null +++ b/print/web2c/patches/patch-af @@ -0,0 +1,26 @@ +$NetBSD: patch-af,v 1.1.1.1 2009/02/01 06:05:58 minskim Exp $ + +--- mpware/Makefile.in.orig 2008-01-30 06:56:21.000000000 -0800 ++++ mpware/Makefile.in +@@ -46,11 +46,11 @@ Makefile: Makefile.in ../config.status + + install: install-exec install-data + install-exec: $(programs) +- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) $(scriptdir) +- $(INSTALL_PROGRAM) newer $(bindir)/newer +- $(INSTALL_LIBTOOL_PROG) dmp $(bindir) +- $(INSTALL_LIBTOOL_PROG) mpto $(bindir) +- $(INSTALL_LIBTOOL_PROG) makempx $(bindir) ++ $(SHELL) $(top_srcdir)/../mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(scriptdir) ++ $(INSTALL_PROGRAM) newer $(DESTDIR)$(bindir)/newer ++ $(INSTALL_LIBTOOL_PROG) dmp $(DESTDIR)$(bindir) ++ $(INSTALL_LIBTOOL_PROG) mpto $(DESTDIR)$(bindir) ++ $(INSTALL_LIBTOOL_PROG) makempx $(DESTDIR)$(bindir) + install-data: + + kpse_include ../make/tkpathsea.mk +@@ -60,4 +60,3 @@ mostlyclean:: + rm -f testex1 testex2 + + kpse_include ../make/rdepend.mk +-kpse_include mpware/depend.mk diff --git a/print/web2c/patches/patch-ag b/print/web2c/patches/patch-ag new file mode 100644 index 00000000000..85106a99416 --- /dev/null +++ b/print/web2c/patches/patch-ag @@ -0,0 +1,33 @@ +$NetBSD: patch-ag,v 1.1.1.1 2009/02/01 06:05:58 minskim Exp $ + +--- ../make/man.mk.orig 2006-01-17 13:41:51.000000000 -0800 ++++ ../make/man.mk +@@ -29,7 +29,7 @@ txt: $(manfiles:.1=.txt) + # At present, all but VERSION should be unused. + sedscript: + cp /dev/null sedscript +- for f in $(kpathsea_dir)/paths.h; do \ ++ for f in $(KPATHSEA_PREFIX)/include/kpathsea/paths.h; do \ + sed -n -e '/^#define/s/#define[ ][ ]*\([A-Z_a-z][A-Z_a-z]*\)[ ][ ]*\(.*\)/s%@\1@%\2%/p' \ + $$f \ + | sed -e 's/"//g' -e 's/[ ]*\/\*[^*]*\*\///g' >>sedscript;\ +@@ -51,16 +51,16 @@ sedscript: + echo 's%@LOCALMODES@%$(localmodes)%' >>sedscript + + install-man: manfiles +- $(top_srcdir)/../mkinstalldirs $(man1dir) ++ $(top_srcdir)/../mkinstalldirs $(DESTDIR)$(man1dir) + for nameone in $(manfiles); do \ + name=`basename $${nameone} .1`; \ +- $(INSTALL_DATA) $${name}.1 $(man1dir)/$${name}.$(manext); \ ++ $(INSTALL_DATA) $${name}.1 $(DESTDIR)$(man1dir)/$${name}.$(manext); \ + done + + uninstall-man: + for nameone in $(manfiles); do \ + name=`basename $${nameone} .1`; \ +- rm -f $(man1dir)/$${name}.$(manext); \ ++ rm -f $(DESTDIR)$(man1dir)/$${name}.$(manext); \ + done + + install-data: install-man diff --git a/print/web2c/patches/patch-ah b/print/web2c/patches/patch-ah new file mode 100644 index 00000000000..07fda24af60 --- /dev/null +++ b/print/web2c/patches/patch-ah @@ -0,0 +1,10 @@ +$NetBSD: patch-ah,v 1.1.1.1 2009/02/01 06:05:58 minskim Exp $ + +--- pdftexdir/Makefile.in.orig 2008-07-17 10:58:14.000000000 -0700 ++++ pdftexdir/Makefile.in +@@ -67,5 +67,3 @@ depend: + XXCFLAGS=-MM XCFLAGS=-MM $(MAKE) -k $(OBJS) ttf2afm.o pdftosrc.o | \ + grep -v "^$(CC)\|$(CXX)\|$(AR)\|make\" | \ + sed 's: [^ ]*/\.\./libs/[^ ]*::g' > $(srcdir)/depend.mk +- +-kpse_include pdftexdir/depend.mk diff --git a/print/web2c/patches/patch-ai b/print/web2c/patches/patch-ai new file mode 100644 index 00000000000..42266bba43b --- /dev/null +++ b/print/web2c/patches/patch-ai @@ -0,0 +1,20 @@ +$NetBSD: patch-ai,v 1.1.1.1 2009/02/01 06:05:58 minskim Exp $ + +--- omegafonts/Makefile.in.orig 2008-03-01 15:49:05.000000000 -0800 ++++ omegafonts/Makefile.in +@@ -53,12 +53,12 @@ install: install-exec + install-exec:: install-links + + install-programs: $(programs) +- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) +- for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done ++ $(SHELL) $(top_srcdir)/../mkinstalldirs $(DESTDIR)$(bindir) ++ for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(DESTDIR)$(bindir); done + + install-links: install-programs + for f in ""$(linked_programs); do \ +- cd $(bindir) && (rm -f $$f; $(LN) omfonts $$f); done ++ cd $(DESTDIR)$(bindir) && (rm -f $$f; $(LN) omfonts $$f); done + + Makefile: Makefile.in ../config.status + cd .. && $(SHELL) config.status diff --git a/print/web2c/patches/patch-aj b/print/web2c/patches/patch-aj new file mode 100644 index 00000000000..4211c3a9afb --- /dev/null +++ b/print/web2c/patches/patch-aj @@ -0,0 +1,22 @@ +$NetBSD: patch-aj,v 1.1.1.1 2009/02/01 06:05:58 minskim Exp $ + +--- otps/Makefile.in.orig 2008-01-30 06:56:21.000000000 -0800 ++++ otps/Makefile.in +@@ -36,9 +36,9 @@ outocp: outocp.o + $(programs): $(proglib) $(kpathsea) + + install-programs: $(programs) +- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) +- for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done +- for p in $(scripts); do $(INSTALL_SCRIPT) $(srcdir)/$$p $(scriptdir); done ++ $(SHELL) $(top_srcdir)/../mkinstalldirs $(DESTDIR)$(bindir) ++ for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(DESTDIR)$(bindir); done ++ for p in $(scripts); do $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(scriptdir); done + + Makefile: Makefile.in ../config.status + cd .. && $(SHELL) config.status +@@ -50,4 +50,3 @@ clean:: + rm -f y_tab.c y_tab.h y.out* yacc.* $(LEX_OUTPUT_ROOT).c + + kpse_include ../make/rdepend.mk +-kpse_include otps/depend.mk diff --git a/print/web2c/patches/patch-ak b/print/web2c/patches/patch-ak new file mode 100644 index 00000000000..07a50b57d67 --- /dev/null +++ b/print/web2c/patches/patch-ak @@ -0,0 +1,13 @@ +$NetBSD: patch-ak,v 1.1.1.1 2009/02/01 06:05:58 minskim Exp $ + +--- ../../libs/icu-xetex/Makefile.in.orig 2008-03-04 05:26:36.000000000 -0800 ++++ ../../libs/icu-xetex/Makefile.in +@@ -179,7 +179,7 @@ $(top_builddir)/config/Makefile.inc: $(s + + $(top_builddir)/config/icu-config: $(top_builddir)/Makefile $(top_srcdir)/config/icu-config-top $(top_srcdir)/config/icu-config-bottom $(top_builddir)/config/Makefile.inc @platform_make_fragment@ $(top_srcdir)/config/make2sh.sed + -$(RMV) $@ +- $(INSTALL_SCRIPT) $(top_srcdir)/config/icu-config-top $@ ++ cp $(top_srcdir)/config/icu-config-top $@ + chmod u+w $@ + @echo "# Following from @platform_make_fragment@" >> $@ + sed -f $(top_srcdir)/config/make2sh.sed < $(top_builddir)/config/Makefile.inc | grep -v '#M#' | uniq >> $@ diff --git a/print/web2c/patches/patch-al b/print/web2c/patches/patch-al new file mode 100644 index 00000000000..c8c9d104c47 --- /dev/null +++ b/print/web2c/patches/patch-al @@ -0,0 +1,13 @@ +$NetBSD: patch-al,v 1.1.1.1 2009/02/01 06:05:58 minskim Exp $ + +--- luatexdir/image/image.h.orig 2008-04-28 01:45:24.000000000 -0700 ++++ luatexdir/image/image.h +@@ -22,7 +22,7 @@ $Id: image.h 1125 2008-03-25 19:36:52Z h + #ifndef IMAGE_H + # define IMAGE_H + +-# include <../libpng/png.h> ++# include <png.h> + + # define JPG_UINT16 unsigned int + # define JPG_UINT32 unsigned long diff --git a/print/web2c/patches/patch-am b/print/web2c/patches/patch-am new file mode 100644 index 00000000000..184f6485404 --- /dev/null +++ b/print/web2c/patches/patch-am @@ -0,0 +1,32 @@ +$NetBSD: patch-am,v 1.1.1.1 2009/02/01 06:05:58 minskim Exp $ + +--- man/Makefile.in.orig 2008-01-30 06:56:21.000000000 -0800 ++++ man/Makefile.in +@@ -32,19 +32,15 @@ localmodes = modes + # The programs are listed in alphabetical order. + # + manfiles= \ +- amstex.1 \ + bibtex.1 \ + cweb.1 \ + dmp.1 \ + dvicopy.1 \ + dvitomp.1 \ + dvitype.1 \ +- eplain.1 \ +- etex.1 \ + gftodvi.1 \ + gftopk.1 \ + gftype.1 \ +- latex.1 \ + makempx.1 \ + mf.1 \ + mft.1 \ +@@ -53,7 +49,6 @@ manfiles= \ + newer.1 \ + omega.1 \ + patgen.1 \ +- pdfetex.1 \ + pdftex.1 \ + pdftosrc.1 \ + pktogf.1 \ diff --git a/print/web2c/patches/patch-an b/print/web2c/patches/patch-an new file mode 100644 index 00000000000..e668020f9bc --- /dev/null +++ b/print/web2c/patches/patch-an @@ -0,0 +1,20 @@ +$NetBSD: patch-an,v 1.1.1.1 2009/02/01 06:05:58 minskim Exp $ + +--- doc/Makefile.in.orig 2008-04-29 15:40:29.000000000 -0700 ++++ doc/Makefile.in +@@ -49,12 +49,12 @@ Makefile: Makefile.in ../config.status + install: install-exec install-data + install-exec: + install-data: web2c.info +- $(SHELL) $(top_srcdir)/../mkinstalldirs $(infodir) +- $(INSTALL_DATA) $(srcdir)/web2c.i* $(infodir)/ ++ $(SHELL) $(top_srcdir)/../mkinstalldirs $(DESTDIR)$(infodir) ++ $(INSTALL_DATA) $(srcdir)/web2c.i* $(DESTDIR)$(infodir)/ + # + $(POST_INSTALL) + if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \ +- install-info --info-dir=$(infodir) $(infodir)/web2c.info; \ ++ install-info --info-dir=$(infodir) $(DESTDIR)$(infodir)/web2c.info; \ + else true; fi + + check: all diff --git a/print/web2c/patches/patch-ao b/print/web2c/patches/patch-ao new file mode 100644 index 00000000000..3cf95b6966f --- /dev/null +++ b/print/web2c/patches/patch-ao @@ -0,0 +1,72 @@ +$NetBSD: patch-ao,v 1.1.1.1 2009/02/01 06:05:58 minskim Exp $ + +--- Makefile.in.orig 2008-08-12 16:46:59.000000000 -0700 ++++ Makefile.in +@@ -816,29 +816,29 @@ install: install-exec install-data + install-exec:: install-programs + + # Installation directories. +-$(bindir):: +- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) +-$(texpooldir):: +- $(SHELL) $(top_srcdir)/../mkinstalldirs $(texpooldir) +-$(mfpooldir):: +- $(SHELL) $(top_srcdir)/../mkinstalldirs $(mfpooldir) +-$(mppooldir):: +- $(SHELL) $(top_srcdir)/../mkinstalldirs $(mppooldir) +-$(fmtdir):: +- $(SHELL) $(top_srcdir)/../mkinstalldirs $(fmtdir) +-$(basedir):: +- $(SHELL) $(top_srcdir)/../mkinstalldirs $(basedir) +-$(memdir):: +- $(SHELL) $(top_srcdir)/../mkinstalldirs $(memdir) +-$(web2cdir):: +- $(SHELL) $(top_srcdir)/../mkinstalldirs $(web2cdir) ++$(DESTDIR)$(bindir):: ++ $(SHELL) $(top_srcdir)/../mkinstalldirs $(DESTDIR)$(bindir) ++$(DESTDIR)$(texpooldir):: ++ $(SHELL) $(top_srcdir)/../mkinstalldirs $(DESTDIR)$(texpooldir) ++$(DESTDIR)$(mfpooldir):: ++ $(SHELL) $(top_srcdir)/../mkinstalldirs $(DESTDIR)$(mfpooldir) ++$(DESTDIR)$(mppooldir):: ++ $(SHELL) $(top_srcdir)/../mkinstalldirs $(DESTDIR)$(mppooldir) ++$(DESTDIR)$(fmtdir):: ++ $(SHELL) $(top_srcdir)/../mkinstalldirs $(DESTDIR)$(fmtdir) ++$(DESTDIR)$(basedir):: ++ $(SHELL) $(top_srcdir)/../mkinstalldirs $(DESTDIR)$(basedir) ++$(DESTDIR)$(memdir):: ++ $(SHELL) $(top_srcdir)/../mkinstalldirs $(DESTDIR)$(memdir) ++$(DESTDIR)$(web2cdir):: ++ $(SHELL) $(top_srcdir)/../mkinstalldirs $(DESTDIR)$(web2cdir) + + # Installing the binaries. Each of the *dir/*.mk files (except etex) + # add to this target via a dependency-only rule, to install their + # respective engines. +-install-programs: $(programs) $(basic_engines) $(bindir) ++install-programs: $(programs) $(basic_engines) $(DESTDIR)$(bindir) + for p in $(programs) $(basic_engines); do \ +- $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done ++ $(INSTALL_LIBTOOL_PROG) $$p $(DESTDIR)$(bindir); done + + # We do not attempt to install any of the per-format symlinks, leaving + # that to a separate run of texlinks. +@@ -874,13 +874,14 @@ install-mpost-mems: mems $(memdir) + (cd $(bindir) && (rm -f $$base; $(LN) mpost $$base)); done + + # Auxiliary files. +-install-data:: $(web2cdir) ++install-data:: $(DESTDIR)$(web2cdir) + cd doc && $(MAKE) $(install_makeargs) install-data + cd man && $(MAKE) $(install_makeargs) install-data +- $(INSTALL_DATA) $(srcdir)/tiedir/tie.1 $(man1dir)/tie.$(manext) +- $(INSTALL_DATA) $(srcdir)/ctiedir/ctie.1 $(man1dir)/ctie.$(manext) +- $(INSTALL_DATA) $(srcdir)/synctexdir/man1/synctex.1 $(man1dir)/synctex.$(manext) +- $(INSTALL_DATA) $(srcdir)/synctexdir/man5/synctex.5 $(man5dir)/synctex.5 ++ $(INSTALL_DATA) $(srcdir)/tiedir/tie.1 $(DESTDIR)$(man1dir)/tie.$(manext) ++ $(INSTALL_DATA) $(srcdir)/ctiedir/ctie.1 $(DESTDIR)$(man1dir)/ctie.$(manext) ++ $(INSTALL_DATA) $(srcdir)/synctexdir/man1/synctex.1 $(DESTDIR)$(man1dir)/synctex.$(manext) ++ $(top_srcdir)/../mkinstalldirs $(DESTDIR)$(man5dir) ++ $(INSTALL_DATA) $(srcdir)/synctexdir/man5/synctex.5 $(DESTDIR)$(man5dir)/synctex.5 + + # Dummy target. + uninstall uninstall-exec uninstall-data: diff --git a/print/web2c/patches/patch-ap b/print/web2c/patches/patch-ap new file mode 100644 index 00000000000..9dde469b256 --- /dev/null +++ b/print/web2c/patches/patch-ap @@ -0,0 +1,74 @@ +$NetBSD: patch-ap,v 1.1.1.1 2009/02/01 06:05:59 minskim Exp $ + +--- luatexdir/luatexlib.mk.orig 2008-05-31 16:09:36.000000000 -0700 ++++ luatexdir/luatexlib.mk +@@ -42,14 +42,14 @@ endif + + + $(LIBLUADEP): +- mkdir -p $(LIBLUADIR) && cd $(LIBLUADIR) && cp -f $(LIBLUASRCDIR)/* . && $(MAKE) $(luatarget) ++ cd $(LIBLUADIR) && $(MAKE) $(luatarget) + + # slnunicode + SLNUNICODEDIR=../../libs/slnunicode + SLNUNICODESRCDIR=$(srcdir)/$(SLNUNICODEDIR) + SLNUNICODEDEP=$(SLNUNICODEDIR)/slnunico.o + $(SLNUNICODEDEP): $(SLNUNICODEDIR)/slnunico.c $(SLNUNICODEDIR)/slnudata.c +- mkdir -p $(SLNUNICODEDIR) && cd $(SLNUNICODEDIR) && cp -f $(SLNUNICODESRCDIR)/* . && $(CC) $(CFLAGS) -I$(LIBLUADIR) -o slnunico.o -c slnunico.c ++ mkdir -p $(SLNUNICODEDIR) && cd $(SLNUNICODEDIR) && $(CC) $(CFLAGS) -I$(LIBLUADIR) -o slnunico.o -c slnunico.c + + # zziplib + +@@ -88,7 +88,7 @@ LUAZIPDEP=$(LUAZIPDIR)/src/luazip.o + LUAZIPINC=-I../../lua51 -I../$(ZZIPLIBSRCDIR) -I../$(ZZIPLIBDIR) + + $(LUAZIPDEP): $(LUAZIPDIR)/src/luazip.c +- mkdir -p $(LUAZIPDIR) && cd $(LUAZIPDIR) && cp -R $(LUAZIPSRCDIR)/* . && \ ++ mkdir -p $(LUAZIPDIR) && cd $(LUAZIPDIR) && \ + cd src && $(CC) $(CFLAGS) $(LUAZIPINC) -g -o luazip.o -c luazip.c + + # luafilesystem +@@ -99,15 +99,14 @@ LUAFSDEP=$(LUAFSDIR)/src/lfs.o + LUAFSINC=-I../../lua51 + + $(LUAFSDEP): $(LUAFSDIR)/src/lfs.c $(LUAFSDIR)/src/lfs.h +- mkdir -p $(LUAFSDIR) && cd $(LUAFSDIR) && cp -R $(LUAFSSRCDIR)/* . && \ +- cd src && $(CC) $(CFLAGS) $(LUAFSINC) -g -o lfs.o -c lfs.c ++ cd $(LUAFSDIR)/src && $(CC) $(CFLAGS) $(LUAFSINC) -g -o lfs.o -c lfs.c + + # luapeg + LUAPEGDIR=../../libs/luapeg + LUAPEGSRCDIR=$(srcdir)/$(LUAPEGDIR) + LUAPEGDEP=$(LUAPEGDIR)/lpeg.o + $(LUAPEGDEP): $(LUAPEGDIR)/lpeg.c +- mkdir -p $(LUAPEGDIR) && cd $(LUAPEGDIR) && cp -f $(LUAPEGSRCDIR)/* . && $(CC) $(CFLAGS) -I$(LIBLUADIR) -g -o lpeg.o -c lpeg.c ++ mkdir -p $(LUAPEGDIR) && cd $(LUAPEGDIR) && $(CC) $(CFLAGS) -I$(LIBLUADIR) -g -o lpeg.o -c lpeg.c + + + # luamd5 +@@ -115,13 +114,13 @@ LUAMDVDIR=../../libs/luamd5 + LUAMDVSRCDIR=$(srcdir)/$(LUAMDVDIR) + LUAMDVDEP=$(LUAMDVDIR)/md5lib.o $(LUAMDVDIR)/md5.o + $(LUAMDVDEP): $(LUAMDVDIR)/md5lib.c $(LUAMDVDIR)/md5.h $(LUAMDVDIR)/md5.c +- mkdir -p $(LUAMDVDIR) && cd $(LUAMDVDIR) && cp -f $(LUAMDVSRCDIR)/* . && $(CC) $(CFLAGS) -I$(LIBLUADIR) -g -o md5.o -c md5.c && $(CC) $(CFLAGS) -I$(LIBLUADIR) -g -o md5lib.o -c md5lib.c ++ cd $(LUAMDVDIR) && $(CC) $(CFLAGS) -I$(LIBLUADIR) -g -o md5.o -c md5.c && $(CC) $(CFLAGS) -I$(LIBLUADIR) -g -o md5lib.o -c md5lib.c + + .PHONY: always + + # luaff +-LUAFFDIR=../../libs/luafontforge +-LUAFFSRCDIR=$(srcdir)/$(LUAFFDIR) ++LUAFFDIR=../../libs/luafontforge/src ++LUAFFSRCDIR=$(srcdir)/../../libs/luafontforge + LUAFFDEP=$(LUAFFDIR)/libff.a + $(LUAFFDEP): always + mkdir -p $(LUAFFDIR) && cp -f $(LUAFFSRCDIR)/Makefile $(LUAFFDIR) +@@ -136,7 +135,7 @@ LUAZLIBSRCDIR=$(srcdir)/$(LUAZLIBDIR) + LUAZLIBDEP=$(LUAZLIBDIR)/lgzip.o $(LUAZLIBDIR)/lzlib.o + LUAZLIBINC=-I$(ZLIBSRCDIR) -I$(LIBLUASRCDIR) + $(LUAZLIBDEP): $(LUAZLIBDIR)/lgzip.c $(LUAZLIBDIR)/lzlib.c +- mkdir -p $(LUAZLIBDIR) && cd $(LUAZLIBDIR) && cp -f $(LUAZLIBSRCDIR)/* . && $(CC) $(CFLAGS) $(LUAZLIBINC) -g -o lgzip.o -c lgzip.c && $(CC) $(CFLAGS) $(LUAZLIBINC) -g -o lzlib.o -c lzlib.c ++ mkdir -p $(LUAZLIBDIR) && cd $(LUAZLIBDIR) && $(CC) $(CFLAGS) $(LUAZLIBINC) -g -o lgzip.o -c lgzip.c && $(CC) $(CFLAGS) $(LUAZLIBINC) -g -o lzlib.o -c lzlib.c + + + # Convenience variables. diff --git a/print/web2c/patches/patch-aq b/print/web2c/patches/patch-aq new file mode 100644 index 00000000000..00317bf3f2b --- /dev/null +++ b/print/web2c/patches/patch-aq @@ -0,0 +1,15 @@ +$NetBSD: patch-aq,v 1.1.1.1 2009/02/01 06:05:59 minskim Exp $ + +--- omegadir/omega.mk.orig 2008-07-03 15:16:18.000000000 -0700 ++++ omegadir/omega.mk +@@ -212,8 +212,8 @@ omegafonts/omfonts: + # Installation. + install-omega: install-omega-exec + install-programs: @OMEGA@ install-omega-exec +-install-omega-exec: $(omega_programs) $(bindir) install-omega-links +- for p in omega; do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done ++install-omega-exec: $(omega_programs) $(DESTDIR)$(bindir) install-omega-links ++ for p in omega; do $(INSTALL_LIBTOOL_PROG) $$p $(DESTDIR)$(bindir); done + cd otps && $(MAKE) $(install_makeargs) install-programs + cd omegafonts && $(MAKE) $(install_makeargs) install-programs + diff --git a/print/web2c/patches/patch-ar b/print/web2c/patches/patch-ar new file mode 100644 index 00000000000..4c6017762a7 --- /dev/null +++ b/print/web2c/patches/patch-ar @@ -0,0 +1,15 @@ +$NetBSD: patch-ar,v 1.1.1.1 2009/02/01 06:05:59 minskim Exp $ + +--- luatexdir/luatex.mk.orig 2008-06-02 07:54:32.000000000 -0700 ++++ luatexdir/luatex.mk +@@ -121,8 +121,8 @@ luatex.fmt: luatex + install-luatex: install-luatex-exec + + install-programs: @LTEX@ install-luatex-exec +-install-luatex-exec: $(luatex) $(bindir) +- for p in luatex; do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done ++install-luatex-exec: $(luatex) $(DESTDIR)$(bindir) ++ for p in luatex; do $(INSTALL_LIBTOOL_PROG) $$p $(DESTDIR)$(bindir); done + cd $(DESTDIR)$(bindir) && rm -f texlua && $(LN) luatex texlua + cd $(DESTDIR)$(bindir) && rm -f texluac && $(LN) luatex texluac + diff --git a/print/web2c/patches/patch-as b/print/web2c/patches/patch-as new file mode 100644 index 00000000000..8362be51c84 --- /dev/null +++ b/print/web2c/patches/patch-as @@ -0,0 +1,14 @@ +$NetBSD: patch-as,v 1.1.1.1 2009/02/01 06:05:59 minskim Exp $ + +--- alephdir/aleph.mk.orig 2008-05-28 11:29:28.000000000 -0700 ++++ alephdir/aleph.mk +@@ -159,7 +159,7 @@ lamed.fmt: aleph + # Installation. + install-aleph: install-aleph-exec + install-programs: @ALEPH@ install-aleph-exec +-install-aleph-exec: aleph $(bindir) +- for p in aleph; do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done ++install-aleph-exec: aleph $(DESTDIR)$(bindir) ++ for p in aleph; do $(INSTALL_LIBTOOL_PROG) $$p $(DESTDIR)$(bindir); done + + # end of aleph.mk diff --git a/print/web2c/patches/patch-at b/print/web2c/patches/patch-at new file mode 100644 index 00000000000..ccc58abd534 --- /dev/null +++ b/print/web2c/patches/patch-at @@ -0,0 +1,15 @@ +$NetBSD: patch-at,v 1.1.1.1 2009/02/01 06:05:59 minskim Exp $ + +--- pdftexdir/pdftex.mk.orig 2008-07-10 23:51:52.000000000 -0700 ++++ pdftexdir/pdftex.mk +@@ -111,8 +111,8 @@ pdflatex.fmt: pdftex + # Installation. + install-pdftex: install-pdftex-exec + install-programs: @PETEX@ install-pdftex-exec +-install-pdftex-exec: $(pdftex) $(bindir) +- for p in pdftex; do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done ++install-pdftex-exec: $(pdftex) $(DESTDIR)$(bindir) ++ for p in pdftex; do $(INSTALL_LIBTOOL_PROG) $$p $(DESTDIR)$(bindir); done + + # + # ttf2afm |