1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/japanese/lynx/files/patch-makefile.in
Pawel Pekala a80d61a390 - Add staging support
- Convert to USES=tar:bzip2
- Use @sample for configuration files
- Remove Enable word from options descriptions
2014-05-18 16:21:50 +00:00

35 lines
1.4 KiB
Plaintext

--- makefile.in.orig 2008-09-22 00:49:47.000000000 +0200
+++ makefile.in 2014-05-18 13:31:04.012681258 +0200
@@ -319,7 +319,7 @@
fi'
$(SHELL) -c 'for name in COPYING COPYHEADER; do \
cd $(HELPDIR) && rm -f $$name ;\
- cd $(HELPDIR) && ( $(LN_S) $(DOCDIR)/$$name . || cp $(DOCDIR)/$$name . );\
+ cd $(HELPDIR) && ( $(LN_S) $(docdir)/$$name . || cp $(DOCDIR)/$$name . );\
done'
-$(SHELL) -c 'case `id|sed -e "s/(.*//"` in uid=0) chown -R root $(DOCDIR);; esac'
@@ -396,8 +396,8 @@
$(SHELL) $(scripts_dir)/cfg_path.sh lynx_doc $(helpdir) | \
sed -e '/^HELPFILE:file/s!$$!$(COMPRESS_EXT)!' \
-e '/^HELPFILE:file/s!$(COMPRESS_EXT)$(COMPRESS_EXT)$$!$(COMPRESS_EXT)!' \
- >$(SYSCONFDIR)/lynx.cfg
- chmod 644 $(SYSCONFDIR)/lynx.cfg
+ >$(SYSCONFDIR)/lynx.cfg.sample
+ chmod 644 $(SYSCONFDIR)/lynx.cfg.sample
-rm -f $(SYSCONFDIR)/lynx.tmp
LYHelp.h : help_files.sed $(srcdir)/LYHelp.hin
@@ -420,10 +420,9 @@
$(SHELL) -c 'SHELL=$(SHELL) $(SHELL) $(scripts_dir)/cfg_defs.sh $(srcdir)'
install-cfg : $(SYSCONFDIR)
- @$(SHELL) $(scripts_dir)/install-cfg.sh "$(INSTALL_DATA)" $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.cfg
install-lss : $(SYSCONFDIR)
- @$(SHELL) $(scripts_dir)/install-lss.sh "$(INSTALL_DATA)" $(srcdir)/samples/lynx.lss $(SYSCONFDIR)/lynx.lss
+ @$(SHELL) $(scripts_dir)/install-lss.sh "$(INSTALL_DATA)" $(srcdir)/samples/lynx.lss $(SYSCONFDIR)/lynx.lss.sample
uninstall ::
@MSG_DIR_MAKE@ cd $(PO_DIR) && $(MAKE_RECUR) uninstall