1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/japanese/lynx/files/patch-aa
1999-07-04 13:51:09 +00:00

38 lines
1.3 KiB
Plaintext

--- makefile.in.orig Fri May 28 23:04:01 1999
+++ makefile.in Sun Jul 4 17:13:39 1999
@@ -50,11 +50,11 @@
LIBDIR= $(DESTDIR)$(libdir)
## Where you want the doc-files installed
-docdir= @libdir@/lynx_doc
+docdir= @datadir@/doc/lynx
DOCDIR= $(DESTDIR)$(docdir)
## Where you want the help-files installed
-helpdir= @libdir@/lynx_help
+helpdir= $(prefix)/share/lynx_help
HELPDIR= $(DESTDIR)$(helpdir)
##set the relative location of the WWW library Implementation directory,
@@ -358,10 +358,9 @@
-rm -f $(HELPDIR)/help_files.sed
@echo Updating $(libdir)/lynx.cfg
$(SHELL) -c 'if test -f $(LIBDIR)/lynx.cfg ; then \
- mv $(LIBDIR)/lynx.cfg $(LIBDIR)/lynx.tmp ; \
- else \
- cp $(srcdir)/lynx.cfg $(LIBDIR)/lynx.tmp ; \
+ mv -f $(LIBDIR)/lynx.cfg $(LIBDIR)/lynx.oldcfg ; \
fi'
+ cp $(srcdir)/lynx.cfg $(LIBDIR)/lynx.tmp
@echo Updating $(libdir)/lynx.cfg to point to installed help-files
@ECHO_CC@sed -e '/^HELPFILE:http/s@^@#@' \
-e '/^#HELPFILE:file/s@#@@' \
@@ -371,6 +370,7 @@
-e '/^HELPFILE:file/s@$(COMPRESS_EXT)$(COMPRESS_EXT)$$@$(COMPRESS_EXT)@' \
$(LIBDIR)/lynx.tmp >$(LIBDIR)/lynx.cfg
chmod 644 $(LIBDIR)/lynx.cfg
+ cp -p $(LIBDIR)/lynx.cfg $(LIBDIR)/lynx.cfg.sample
-rm -f $(LIBDIR)/lynx.tmp
$(INSTALL_DATA) $(srcdir)/COPYHEADER $(DOCDIR)/COPYHEADER
$(INSTALL_DATA) $(srcdir)/COPYING $(DOCDIR)/COPYING