www/lynx-current: Update to 2.9.0d9

PR:		257812
This commit is contained in:
Piotr Smyrak 2021-08-14 22:59:43 -06:00 committed by Adam Weinberger
parent ecab55da8d
commit a48d43a45f
4 changed files with 30 additions and 27 deletions

View File

@ -1,10 +1,11 @@
# Created by: ache
PORTNAME= lynx
PORTVERSION= 2.9.0d6
PORTVERSION= 2.9.0d9
CATEGORIES= www
MASTER_SITES= http://invisible-mirror.net/archives/lynx/tarballs/ \
ftp://invisible-island.net/lynx/tarballs/
ftp://ftp.invisible-island.net/lynx/tarballs/
PKGNAMESUFFIX= -current
DISTNAME= ${PORTNAME}${PORTVERSION:S/p/pre./:S/d/dev./}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1605020628
SHA256 (lynx2.9.0dev.6.tar.bz2) = 78f0be7f81f4b84d8d33b45a05145f015e35355109be350e461de5c03abf53b2
SIZE (lynx2.9.0dev.6.tar.bz2) = 2730690
SHA256 (lynx2.9.0dev.9.tar.bz2) = 6fd6dd3f57681ad58d3397c273b430a411ae049b367fd4909b3d70b722da501a
SIZE (lynx2.9.0dev.9.tar.bz2) = 2746988

View File

@ -1,45 +1,45 @@
--- makefile.in.orig 2019-08-26 20:21:48 UTC
+++ makefile.in
@@ -324,7 +324,7 @@ install-doc : $(DOCDIR) $(HELPDIR)
--- makefile.in.orig 2021-08-01 20:50:51.000000000 +0200
+++ makefile.in 2021-08-13 17:31:19.742347000 +0200
@@ -325,7 +325,7 @@
cd $(HELPDIR) && rm -f $$name ;\
r= ;\
test "$(LN_S)" = "ln -s" || r=`echo $(helpdir)|sed -e "s%[^/]\+%..%g" -e "s%^.%%"`; \
- cd $(HELPDIR) && ( $(LN_S) $$r$(docdir)/$$name . || cp $(DOCDIR)/$$name . );\
+ cd $(HELPDIR) && ( $(LN_S) ../doc/lynx/$$name . || cp $(DOCDIR)/$$name . );\
done'
-$(SHELL) -c 'case `id|sed -e "s/(.*//"` in uid=0) chown -R root $(DOCDIR);; esac'
@@ -393,14 +393,10 @@ install-help : $(CFG2HTML) help_files.sed $(HELPDIR) $
done';\
$(SHELL) -c 'set -x; \
case `id|sed -e "s/(.*//"` in \
@@ -403,14 +403,10 @@
if test "$(COMPRESS_PROG)" != "" ; then \
(cd $(HELPDIR) && $(COMPRESS_PROG) $$files ) \
fi'
- @echo Updating $(sysconfdir)/lynx.cfg
- @echo "Updating $(sysconfdir)/lynx.cfg"
- @ECHO_CC@$(SHELL) -c \
- 'if test -f $(SYSCONFDIR)/lynx.cfg ; then \
- mv $(SYSCONFDIR)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ; \
- else \
- cp $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ; \
- fi'
- @echo Updating $(sysconfdir)/lynx.cfg to point to installed help-files
+ @echo Updating $(sysconfdir)/lynx.cfg.sample
- @echo "Updating $(sysconfdir)/lynx.cfg to point to installed help-files"
+ @echo "Updating $(sysconfdir)/lynx.cfg.sample"
+ cp $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.tmp
+ rm -f $(SYSCONFDIR)/lynx.cfg.sample
+ @echo Updating $(sysconfdir)/lynx.cfg.sample to point to installed help-files
+ @echo "Updating $(sysconfdir)/lynx.cfg.sample to point to installed help-files"
@ECHO_CC@sed -e '/^HELPFILE:http/s!^!#!' \
-e '/^#HELPFILE:file/s!#!!' \
$(SYSCONFDIR)/lynx.tmp | \
@@ -408,8 +404,8 @@ install-help : $(CFG2HTML) help_files.sed $(HELPDIR) $
@@ -418,8 +414,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
- >$(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
@@ -432,17 +428,15 @@ cfg_defs.h : $(scripts_dir)/cfg_defs.sh $(scripts_dir)
@@ -442,17 +438,15 @@
$(SHELL) -c 'SHELL=$(SHELL) $(SHELL) $(scripts_dir)/cfg_defs.sh $(srcdir)'
install-cfg : $(SYSCONFDIR)
@ -51,11 +51,12 @@
+ @$(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
-rm -f $(BINDIR)/$(binary_PROG)
-rm -f $(MANDIR)/$(actual_PROG).1
- -rm -f $(SYSCONFDIR)/lynx.cfg
- -rm -f $(SYSCONFDIR)/lynx.lss
@MSG_DIR_MAKE@ ( cd $(PO_DIR) && $(MAKE_RECUR) uninstall )
-rm -f $(BINDIR)/$(binary_PROG) ;\
- rm -f $(MANDIR)/$(actual_PROG).1 ;\
- rm -f $(SYSCONFDIR)/lynx.cfg ;\
- rm -f $(SYSCONFDIR)/lynx.lss
+ rm -f $(MANDIR)/$(actual_PROG).1
uninstall \
uninstall-help ::

View File

@ -73,6 +73,7 @@ man/man1/lynx.1.gz
%%PORTDOCS%%%%DOCSDIR%%/test/cp-1252.html
%%PORTDOCS%%%%DOCSDIR%%/test/cp-1252a.html
%%PORTDOCS%%%%DOCSDIR%%/test/image.jpg
%%PORTDOCS%%%%DOCSDIR%%/test/idna-tr46.html
%%PORTDOCS%%%%DOCSDIR%%/test/iso-8859-1.html
%%PORTDOCS%%%%DOCSDIR%%/test/iso-8859-1a.html
%%PORTDOCS%%%%DOCSDIR%%/test/iso-8859-2.html