source: trunk/dports/tex/texlive/patch-texk_web2c_alephdir_aleph_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
RevLine 
[30880]1$OpenBSD: patch-texk_web2c_alephdir_aleph_mk,v 1.1.1.1 2007/07/17 21:53:28 jasper Exp $
2--- texk/web2c/alephdir/aleph.mk.orig   Tue Jan 17 21:41:51 2006
3+++ texk/web2c/alephdir/aleph.mk        Fri May  4 20:28:39 2007
4@@ -142,7 +142,7 @@ afmts: $(all_afmts)
5 
6 afmtdir = $(web2cdir)/aleph
7 $(afmtdir)::
8-       $(SHELL) $(top_srcdir)/../mkinstalldirs $(afmtdir)
9+       $(SHELL) $(top_srcdir)/../mkinstalldirs ${DESTDIR}$(afmtdir)
10 
11 aleph.fmt: aleph
12        $(dumpenv) $(MAKE) progname=aleph files="omega.ini" prereq-check
13@@ -161,7 +161,7 @@ install-aleph-dumps: install-aleph-fmts
14 # The actual binary executables and pool files.
15 install-programs: @ALEPH@ install-aleph-programs
16 install-aleph-programs: aleph $(bindir)
17-       for p in aleph; do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
18+       for p in aleph; do $(INSTALL_LIBTOOL_PROG) $$p ${DESTDIR}$(bindir); done
19 
20 install-links: @ALEPH@ install-aleph-links
21 install-aleph-links: install-aleph-programs
22@@ -171,14 +171,14 @@ install-aleph-links: install-aleph-programs
23 install-fmts: @ALEPH@ install-aleph-fmts
24 install-aleph-fmts: afmts $(afmtdir)
25        afmts="$(all_afmts)"; \
26-         for f in $$afmts; do $(INSTALL_DATA) $$f $(afmtdir)/$$f; done
27+         for f in $$afmts; do $(INSTALL_DATA) $$f ${DESTDIR}$(afmtdir)/$$f; done
28        afmts="$(afmts)"; \
29          for f in $$afmts; do base=`basename $$f .fmt`; \
30-           (cd $(bindir) && (rm -f $$base; $(LN) aleph $$base)); done
31+           (cd ${DESTDIR}$(bindir) && (rm -f $$base; $(LN) aleph $$base)); done
32 
33 # Auxiliary files.
34 install-data:: @ALEPH@ install-aleph-data
35 install-aleph-pool: aleph.pool $(texpooldir)
36-       $(INSTALL_DATA) aleph.pool $(texpooldir)/aleph.pool
37+       $(INSTALL_DATA) aleph.pool ${DESTDIR}$(texpooldir)/aleph.pool
38 
39 # end of aleph.mk
Note: See TracBrowser for help on using the repository browser.