cbd92ff8ac
reorganize port structure all from maintainer Edd Barrett
55 lines
2.4 KiB
Plaintext
Executable File
55 lines
2.4 KiB
Plaintext
Executable File
$OpenBSD: patch-texk_dvipsk_Makefile_in,v 1.2 2008/10/21 20:57:57 steven Exp $
|
|
--- texk/dvipsk/Makefile.in.orig Wed Aug 27 09:38:10 2008
|
|
+++ texk/dvipsk/Makefile.in Wed Aug 27 09:40:14 2008
|
|
@@ -89,10 +89,11 @@ install: install-exec install-data
|
|
uninstall: uninstall-exec uninstall-data
|
|
|
|
install-exec: all
|
|
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir)
|
|
- for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p $(bindir); done
|
|
- rm -f $(bindir)/o$(program)
|
|
- ln -s $(program) $(bindir)/o$(program)
|
|
+ $(SHELL) $(top_srcdir)/../mkinstalldirs $(DESTDIR)/$(bindir)
|
|
+ for p in $(programs); do $(INSTALL_LIBTOOL_PROG) $$p \
|
|
+ $(DESTDIR)/$(bindir); done
|
|
+ rm -f $(DESTDIR)/$(bindir)/o$(program)
|
|
+ ln -s $(program) $(DESTDIR)/$(bindir)/o$(program)
|
|
uninstall-exec:
|
|
for p in $(programs); do rm -f $(bindir)/$$p; done
|
|
rm -f $(bindir)/o$(program)
|
|
@@ -100,20 +101,26 @@ uninstall-exec:
|
|
# config.ps, encoding files, etc., are not installed here, since they
|
|
# need to go through the usual package mechanism.
|
|
install-data: $(program).info
|
|
- $(SHELL) $(top_srcdir)/../mkinstalldirs $(man1dir) $(infodir) $(psheaderdir)/base
|
|
+ $(SHELL) $(top_srcdir)/../mkinstalldirs $(DESTDIR)/$(man1dir) \
|
|
+ $(DESTDIR)/$(infodir) $(DESTDIR)/$(psheaderdir)/base
|
|
# PostScript prologues and encodings.
|
|
- for h in $(prologues); do $(INSTALL_DATA) $$h $(psheaderdir)/base/$$h; done
|
|
+ for h in $(prologues); do $(INSTALL_DATA) $$h \
|
|
+ $(DESTDIR)/$(psheaderdir)/base/$$h; done
|
|
# Info files.
|
|
- $(INSTALL_DATA) $(srcdir)/$(program).i* $(infodir)/
|
|
+ $(INSTALL_DATA) $(srcdir)/$(program).i* $(DESTDIR)/$(infodir)/
|
|
# Man pages.
|
|
- $(INSTALL_DATA) $(srcdir)/$(program).1 $(man1dir)/$(program).$(manext)
|
|
- rm -f $(man1dir)/o$(program).$(manext)
|
|
- ln -s $(program).$(manext) $(man1dir)/o$(program).$(manext)
|
|
- $(INSTALL_DATA) $(srcdir)/afm2tfm.1 $(man1dir)/afm2tfm.$(manext)
|
|
+ $(INSTALL_DATA) $(srcdir)/$(program).1 \
|
|
+ $(DESTDIR)/$(man1dir)/$(program).$(manext)
|
|
+ rm -f $(DESTDIR)/$(man1dir)/o$(program).$(manext)
|
|
+ ln -s $(program).$(manext) \
|
|
+ $(DESTDIR)/$(man1dir)/o$(program).$(manext)
|
|
+ $(INSTALL_DATA) $(srcdir)/afm2tfm.1 \
|
|
+ $(DESTDIR)/$(man1dir)/afm2tfm.$(manext)
|
|
# Post.
|
|
$(POST_INSTALL)
|
|
if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
|
|
- install-info --info-dir=$(infodir) $(infodir)/$(program).info; \
|
|
+ install-info --info-dir=$(DESTDIR)/$(infodir) \
|
|
+ $(DESTDIR)/$(infodir)/$(program).info; \
|
|
else true; fi
|
|
|
|
uninstall-data:
|