openbsd-ports/print/texlive/base/patches/patch-texk_dvi2tty_Makefile_in
jasper 26bc9c8629 import texlive 2007
TeXLive is an easy way to get up and running with TeX. It provides a
comprehensive TeX system which includes all the major TeX-related
programs, macro packages, and fonts that are free software, including
support for many languages around the world.

from Edd Barrett <vext01@gmail.com>, with a lot of tweaks by me
input from kili@
feedback and ok simon@
2007-07-17 21:53:25 +00:00

28 lines
1.1 KiB
Plaintext
Executable File

$OpenBSD: patch-texk_dvi2tty_Makefile_in,v 1.1.1.1 2007/07/17 21:53:29 jasper Exp $
--- texk/dvi2tty/Makefile.in.orig Sat Apr 21 17:35:32 2007
+++ texk/dvi2tty/Makefile.in Sat Apr 21 17:38:01 2007
@@ -20,17 +20,17 @@ install: install-exec install-data
uninstall: uninstall-exec uninstall-data
install-exec: $(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
uninstall-exec:
- for p in $(programs); do rm -f $(bindir)/$$p; done
+ for p in $(programs); do rm -f ${DESTDIR}$(bindir)/$$p; done
install-data: dvi2tty.1
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(man1dir)
- $(INSTALL_DATA) $(srcdir)/dvi2tty.1 $(man1dir)/dvi2tty.$(manext)
+ $(SHELL) $(top_srcdir)/../mkinstalldirs ${DESTDIR}$(man1dir)
+ $(INSTALL_DATA) $(srcdir)/dvi2tty.1 ${DESTDIR}$(man1dir)/dvi2tty.$(manext)
uninstall-data:
- rm -f $(man1dir)/dvi2tty.$(manext)
+ rm -f ${DESTDIR}$(man1dir)/dvi2tty.$(manext)
pre-dist-$(distname):
post-dist-$(distname):