source: trunk/dports/tex/texlive/patch-texk_web2c_xetexdir_xetex_mk @ 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: 1.7 KB
Line 
1$OpenBSD: patch-texk_web2c_xetexdir_xetex_mk,v 1.1.1.1 2007/07/17 21:53:28 jasper Exp $
2--- texk/web2c/xetexdir/xetex.mk.orig   Sat Jan 20 12:44:35 2007
3+++ texk/web2c/xetexdir/xetex.mk        Fri May  4 20:28:40 2007
4@@ -275,7 +275,7 @@ xefmts: $(all_xefmts)
5 
6 xefmtdir = $(web2cdir)/xetex
7 $(xefmtdir)::
8-       $(SHELL) $(top_srcdir)/../mkinstalldirs $(xefmtdir)
9+       $(SHELL) $(top_srcdir)/../mkinstalldirs ${DESTDIR}$(xefmtdir)
10 
11 xetex.fmt: xetex
12        $(dumpenv) $(MAKE) progname=xetex files="xetex.ini unicode-letters.tex plain.tex cmr10.tfm" prereq-check
13@@ -294,7 +294,7 @@ install-xetex-dumps: install-xetex-fmts
14 
15 install-programs: @XETEX@ install-xetex-programs
16 install-xetex-programs: xetex $(bindir)
17-       for p in xetex; do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
18+       for p in xetex; do $(INSTALL_LIBTOOL_PROG) $$p ${DESTDIR}$(bindir); done
19 
20 install-links: @XETEX@ install-xetex-links
21 install-xetex-links: install-xetex-programs
22@@ -304,13 +304,13 @@ install-xetex-links: install-xetex-programs
23 install-fmts: @XETEX@ install-xetex-fmts
24 install-xetex-fmts: xefmts $(xefmtdir)
25        xefmts="$(all_xefmts)"; \
26-         for f in $$xefmts; do $(INSTALL_DATA) $$f $(xefmtdir)/$$f; done
27+         for f in $$xefmts; do $(INSTALL_DATA) $$f ${DESTDIR}$(xefmtdir)/$$f; done
28        xefmts="$(xefmts)"; \
29          for f in $$xefmts; do base=`basename $$f .fmt`; \
30-           (cd $(bindir) && (rm -f $$base; $(LN) xetex $$base)); done
31+           (cd ${DESTDIR}$(bindir) && (rm -f $$base; $(LN) xetex $$base)); done
32 
33 install-data:: @XETEX@ install-xetex-data
34 install-xetex-pool: xetex.pool $(texpooldir)
35-       $(INSTALL_DATA) xetex.pool $(texpooldir)/xetex.pool
36+       $(INSTALL_DATA) xetex.pool ${DESTDIR}$(texpooldir)/xetex.pool
37 
38 # end of xetex.mk
Note: See TracBrowser for help on using the repository browser.