source: trunk/dports/tex/texlive/patch-texk_web2c_Makefile_in @ 30880

Last change on this file since 30880 was 30880, checked in by milosh@…, 13 years ago

A tentative texlive port.

  • Property svn:executable set to *
File size: 5.4 KB
Line 
1$OpenBSD: patch-texk_web2c_Makefile_in,v 1.1.1.1 2007/07/17 21:53:27 jasper Exp $
2--- texk/web2c/Makefile.in.orig Wed Jan 10 17:39:42 2007
3+++ texk/web2c/Makefile.in      Fri May  4 20:28:39 2007
4@@ -788,25 +788,25 @@ install-dumps: install-tex-dumps install-mf-dumps inst
5 
6 # Installation directories.
7 $(bindir)::
8-       $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
9+       $(SHELL) $(top_srcdir)/../mkinstalldirs ${DESTDIR}$(bindir)
10 $(texpooldir)::
11-       $(SHELL) $(top_srcdir)/../mkinstalldirs $(texpooldir)
12+       $(SHELL) $(top_srcdir)/../mkinstalldirs ${DESTDIR}$(texpooldir)
13 $(mfpooldir)::
14-       $(SHELL) $(top_srcdir)/../mkinstalldirs $(mfpooldir)
15+       $(SHELL) $(top_srcdir)/../mkinstalldirs ${DESTDIR}$(mfpooldir)
16 $(mppooldir)::
17-       $(SHELL) $(top_srcdir)/../mkinstalldirs $(mppooldir)
18+       $(SHELL) $(top_srcdir)/../mkinstalldirs ${DESTDIR}$(mppooldir)
19 $(fmtdir)::
20-       $(SHELL) $(top_srcdir)/../mkinstalldirs $(fmtdir)
21+       $(SHELL) $(top_srcdir)/../mkinstalldirs ${DESTDIR}$(fmtdir)
22 $(basedir)::
23-       $(SHELL) $(top_srcdir)/../mkinstalldirs $(basedir)
24+       $(SHELL) $(top_srcdir)/../mkinstalldirs ${DESTDIR}$(basedir)
25 $(memdir)::
26-       $(SHELL) $(top_srcdir)/../mkinstalldirs $(memdir)
27+       $(SHELL) $(top_srcdir)/../mkinstalldirs ${DESTDIR}$(memdir)
28 $(web2cdir)::
29-       $(SHELL) $(top_srcdir)/../mkinstalldirs $(web2cdir)
30+       $(SHELL) $(top_srcdir)/../mkinstalldirs ${DESTDIR}$(web2cdir)
31 
32 # Installing the programs.
33 install-programs: $(programs) $(bindir)
34-       for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
35+       for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p ${DESTDIR}$(bindir); done
36 
37 # Installation of each of the three main engines.
38 install-tex: install-tex-exec install-tex-data
39@@ -829,15 +829,15 @@ install-mpost-dumps: install-mpost-mems
40 install-programs: install-tex-programs
41 install-tex-programs: tex $(bindir)
42        tex="tex"; \
43-         for p in $$tex; do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
44+         for p in $$tex; do $(INSTALL_LIBTOOL_PROG) $$p ${DESTDIR}$(bindir); done
45 install-programs: install-mf-programs
46 install-mf-programs: mf $(mfn) $(bindir)
47        mf="mf $(mfn)"; \
48-         for p in $$mf; do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
49+         for p in $$mf; do $(INSTALL_LIBTOOL_PROG) $$p ${DESTDIR}$(bindir); done
50 install-programs: install-mpost-programs
51 install-mpost-programs: mpost $(bindir)
52        mpost="mpost"; \
53-         for p in $$mpost; do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
54+         for p in $$mpost; do $(INSTALL_LIBTOOL_PROG) $$p ${DESTDIR}$(bindir); done
55 
56 # The links to {mf,mp,tex} for each format and for {ini,vir}{mf,mp,tex},
57 # plus the equivalents for e-TeX, Omega, and pdf[ex]TeX.
58@@ -860,34 +860,34 @@ install-mpost-links: install-mpost-programs
59 install-fmts: install-tex-fmts
60 install-tex-fmts: fmts $(fmtdir)
61        fmts="$(all_fmts)"; \
62-         for f in $$fmts; do $(INSTALL_DATA) $$f $(fmtdir)/$$f; done
63-       cd $(fmtdir) && (rm -f plain.fmt; $(LN) tex.fmt plain.fmt)
64+         for f in $$fmts; do $(INSTALL_DATA) $$f ${DESTDIR}$(fmtdir)/$$f; done
65+       cd ${DESTDIR}$(fmtdir) && (rm -f plain.fmt; $(LN) tex.fmt plain.fmt)
66        fmts="$(fmts)"; \
67          for f in $$fmts; do base=`basename $$f .fmt`; \
68-           (cd $(bindir) && (rm -f $$base; $(LN) tex $$base)); done
69+           (cd ${DESTDIR}$(bindir) && (rm -f $$base; $(LN) tex $$base)); done
70 
71 install-bases: install-mf-bases
72 install-mf-bases: bases $(basedir)
73        bases="$(all_bases)"; \
74-         for f in $$bases; do $(INSTALL_DATA) $$f $(basedir)/$$f; done
75-       cd $(basedir) && (rm -f plain.base; $(LN) mf.base plain.base)
76+         for f in $$bases; do $(INSTALL_DATA) $$f ${DESTDIR}$(basedir)/$$f; done
77+       cd ${DESTDIR}$(basedir) && (rm -f plain.base; $(LN) mf.base plain.base)
78        bases="$(bases)"; \
79          for f in $$bases; do base=`basename $$f .base`;\
80-           (cd $(bindir) && (rm -f $$base; $(LN) mf $$base)); done
81+           (cd ${DESTDIR}$(bindir) && (rm -f $$base; $(LN) mf $$base)); done
82 
83 install-mems: install-mpost-mems
84 install-mpost-mems: mems $(memdir)
85        mems="$(all_mems)"; \
86-         for f in $$mems; do $(INSTALL_DATA) $$f $(memdir)/$$f; done
87-       cd $(memdir) && (rm -f plain.mem; $(LN) mpost.mem plain.mem)
88+         for f in $$mems; do $(INSTALL_DATA) $$f ${DESTDIR}$(memdir)/$$f; done
89+       cd ${DESTDIR}$(memdir) && (rm -f plain.mem; $(LN) mpost.mem plain.mem)
90        mems="$(mems)"; \
91          for f in $$mems; do base=`basename $$f .mem`; \
92-            (cd $(bindir) && (rm -f $$base; $(LN) mpost $$base)); done
93+            (cd ${DESTDIR}$(bindir) && (rm -f $$base; $(LN) mpost $$base)); done
94 
95 install-tex-pool: tex.pool $(texpooldir)
96-       $(INSTALL_DATA) tex.pool $(texpooldir)/tex.pool
97+       $(INSTALL_DATA) tex.pool ${DESTDIR}$(texpooldir)/tex.pool
98 install-mf-pool: mf.pool $(mfpooldir)
99-       $(INSTALL_DATA) mf.pool $(mfpooldir)/mf.pool
100+       $(INSTALL_DATA) mf.pool ${DESTDIR}$(mfpooldir)/mf.pool
101 install-mpost-pool: # no longer used, the strings are in the binary
102 # install-mpost-pool: mp.pool $(mppooldir)
103 #      $(INSTALL_DATA) mp.pool $(mppooldir)/mp.pool
104@@ -896,9 +896,9 @@ install-mpost-pool: # no longer used, the strings are
105 install-data:: $(web2cdir)
106        cd doc && $(MAKE) $(install_makeargs) install-data
107        cd man && $(MAKE) $(install_makeargs) install-data
108-       $(INSTALL_DATA) $(srcdir)/tiedir/tie.1 $(man1dir)/tie.$(manext)
109-       $(INSTALL_DATA) $(srcdir)/ctiedir/ctie.1 $(man1dir)/ctie.$(manext)
110-       $(INSTALL_DATA) fmtutil.cnf $(web2cdir)/fmtutil.cnf
111+       $(INSTALL_DATA) $(srcdir)/tiedir/tie.1 ${DESTDIR}$(man1dir)/tie.$(manext)
112+       $(INSTALL_DATA) $(srcdir)/ctiedir/ctie.1 ${DESTDIR}$(man1dir)/ctie.$(manext)
113+       $(INSTALL_DATA) fmtutil.cnf ${DESTDIR}$(web2cdir)/fmtutil.cnf
114 
115 # Dummy target.
116 uninstall uninstall-exec uninstall-data:
Note: See TracBrowser for help on using the repository browser.