ports/111326: [patch] [ports/japanese/lynx] Fix a BROKEN flag and update to the latest stable release

Watanabe Kazuhiro CQG00620 at nifty.ne.jp
Fri Apr 6 16:10:07 UTC 2007


>Number:         111326
>Category:       ports
>Synopsis:       [patch] [ports/japanese/lynx] Fix a BROKEN flag and update to the latest stable release
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 06 16:10:05 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Watanabe Kazuhiro
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD capricorn.sign.local 7.0-CURRENT FreeBSD 7.0-CURRENT #3: Mon Apr 2 20:06:29 JST 2007 nabe at capricorn:/FreeBSD/obj/FreeBSD/HEAD/src/sys/GENERIC i386

>Description:
In the current version of ports/japanese/lynx (ja-lynx-2.8.4.rel1),
there are two problems about installation and deinstallation.

(1) First, if you run 'make install' in the port directory, a newly
    installed configulation file 'lynx.cfg' (not old one) is renamed
    to 'lynx.oldcfg' by mistake (and the another version of 'lynx.cfg'
    is installed later).

    This failure is occured by a wrong patch description (patch-aa).

    Then if you run 'make deinstall', the file 'lynx.oldcfg' is
    renamed to 'lynx.cfg' and leaved alone by the deinstall script
    described in pkg-plist.  This step is correct if the file
    'lynx.oldcfg' is a true backup file...

(2) If you install or deinstall the software from a binary package,
    that causes error messages due to the port's wrong pkg-plist
    lines:

$ cat -n /usr/ports/japanese/lynx/pkg-plist | head -n 6
     1 bin/lynx
     2 etc/lynx.cfg.sample
     3 @exec test -f %B/lynx.cfg && mv -f %B/lynx.cfg %B/lynx.oldcfg
     4 @exec cp -f %D/%F %B/lynx.cfg
     5 @unexec rm -f %B/lynx.cfg
     6 @unexec test -f %B/lynx.oldcfg && mv -f %B/lynx.oldcfg %B/lynx.cfg
$

    Whether the test(1) commands (in line 3 and 6) has failed or not,
    the aim of these lines are archived.

    But if the test(1) command has failed, pkg_add(8) and
    pkg_delete(8) commands outputs an error message.

>How-To-Repeat:
# cd /usr/ports/japanese/lynx
# find /usr/local | sort > before-install.txt
# make TRYBROKEN=yes install package deinstall
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Leaves behind config file on deinstall.

It is scheduled to be removed on or after 2007-04-10.

===>  Vulnerability check disabled, database not found
------------------------------------- snip -------------------------------------
===>  Installing for ja-lynx-2.8.4.rel1
===>   ja-lynx-2.8.4.rel1 depends on executable in : unzip - found
===>   ja-lynx-2.8.4.rel1 depends on executable in : zip - found
===>   Generating temporary packing list
===>  Checking if japanese/lynx already installed
mv -f /usr/local/bin/lynx /usr/local/bin/lynx.old
mv: rename /usr/local/bin/lynx to /usr/local/bin/lynx.old: No such file or direc
tory
*** Error code 1 (ignored)
install  -s -o root -g wheel -m 555 lynx /usr/local/bin/lynx
install  -o root -g wheel -m 444 ./lynx.man /usr/local/man/man1/lynx.1
mv -f /usr/local/etc/lynx.cfg /usr/local/etc/lynx.oldcfg
mv: rename /usr/local/etc/lynx.cfg to /usr/local/etc/lynx.oldcfg: No such file o
r directory
*** Error code 1 (ignored)
install  -o root -g wheel -m 444 ./lynx.cfg /usr/local/etc/lynx.cfg
------------------------------------- snip -------------------------------------
Updating /usr/local/etc/lynx.cfg
/bin/sh -c 'if test -f /usr/local/etc/lynx.cfg ; then  mv -f /usr/local/etc/lynx
.cfg /usr/local/etc/lynx.oldcfg ;  fi'
cp ./lynx.cfg /usr/local/etc/lynx.tmp
Updating /usr/local/etc/lynx.cfg to point to installed help-files
sed	-e '/^HELPFILE:http/s!^!#!'  -e '/^#HELPFILE:file/s!#!!'  -e '/^HELPFILE
:file/s!/PATH_TO/lynx_help!/usr/local/share/lynx_help!'  -e '/^[A-Z_]*:/s!/PATH_
TO/lynx_doc!/usr/local/share/doc/lynx!'  -e '/^HELPFILE:file/s!$!.gz!'  -e '/^HE
LPFILE:file/s!.gz.gz$!.gz!'  /usr/local/etc/lynx.tmp >/usr/local/etc/lynx.cfg
chmod 644 /usr/local/etc/lynx.cfg
cp -p /usr/local/etc/lynx.cfg /usr/local/etc/lynx.cfg.sample
rm -f /usr/local/etc/lynx.tmp
------------------------------------- snip -------------------------------------
===>  Building package for ja-lynx-2.8.4.rel1
Creating package /usr/ports/packages/All/ja-lynx-2.8.4.rel1.tbz
Registering depends: unzip-5.52_3 zip-2.32.
Creating bzip'd tar ball in '/usr/ports/packages/All/ja-lynx-2.8.4.rel1.tbz'
===>  Deinstalling for japanese/lynx
===>   Deinstalling ja-lynx-2.8.4.rel1
# find /usr/local | sort > after-deinstall.txt
# diff -u before-install.txt after-deinstall.txt 
--- before-install.txt	Fri Apr  6 18:08:42 2007
+++ after-deinstall.txt	Fri Apr  6 18:11:30 2007
@@ -1040,6 +1040,7 @@
 /usr/local/etc/kazehakase/smartbookmarks.xml
 /usr/local/etc/lftp.conf
 /usr/local/etc/lftp.conf.sample
+/usr/local/etc/lynx.cfg
 /usr/local/etc/mtree
 /usr/local/etc/mtree/BSD.gnome.dist
 /usr/local/etc/orbit2rc
# rm /usr/local/etc/lynx.cfg
# pkg_add /usr/ports/packages/All/ja-lynx-2.8.4.rel1.tbz 
pkg_add: command 'test -f /usr/local/etc/lynx.cfg && mv -f /usr/local/etc/lynx.c
fg /usr/local/etc/lynx.oldcfg' failed
# pkg_delete /var/db/pkg/ja-lynx-2.8.4.rel1/
pkg_delete: unexec command for 'test -f /usr/local/etc/lynx.oldcfg && mv -f /usr
/local/etc/lynx.oldcfg /usr/local/etc/lynx.cfg' failed
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
# find /usr/local | sort > after-pkg_delete.txt
# diff -u before-install.txt after-pkg_delete.txt 
# 

>Fix:
 * Fix these installation/deinstallation problems.
 * Update to the latest stable release (lynx2.8.6rel.4).
 * Remove patch-ab and patch-ad.  I've been tested lynx2.8.6 without
   the latter patch that is CJK specific. It seems that there is no
   problem.

The patch file (patch-aa), pkg-plist, and Makefile are based on
ports/www/lynx.

diff -urN lynx.orig/Makefile lynx/Makefile
--- lynx.orig/Makefile	Sun Feb 11 10:23:29 2007
+++ lynx/Makefile	Fri Apr  6 21:34:23 2007
@@ -7,54 +7,58 @@
 
 PORTNAME=	lynx
 PORTVERSION=	${VERSION}.${MINOR_VERSION:S/.//}
-CATEGORIES=	japanese www
-MASTER_SITES=   http://lynx.isc.org/current/
+CATEGORIES=	japanese www ipv6
+MASTER_SITES=	http://lynx.isc.org/current/ \
+		http://ftp2.uk.freebsd.org/sites/lynx.isc.org/current/
 DISTNAME=	${PORTNAME}${VERSION}${MINOR_VERSION}
 
-PATCHFILES=	${PORTNAME}${VERSION}${MINOR_VERSION}a.patch.gz \
-		${PORTNAME}${VERSION}${MINOR_VERSION}b.patch.gz
-
-PATCH_SITES=	http://lynx.isc.org/current/
-
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A terminal-based World-Wide Web Client with multi-byte modification
 
-BROKEN=		Leaves behind config file on deinstall
-DEPRECATED=	${BROKEN}
-EXPIRATION_DATE=2007-04-10
+VERSION=	2.8.6
+MINOR_VERSION=	rel.4
+
+CONFLICTS=	lynx-2.* lynx-ssl-2.*
 
 WRKSRC=		${WRKDIR}/${PORTNAME}${VERSION:S/./-/g}
+USE_BZIP2=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS+=--with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
+		--enable-nsl-fork --enable-ipv6 \
+		--enable-cjk --enable-justify-elts --enable-internal-links
+
+.if defined(ENABLE_COLOR_STYLE)
+PLIST_SUB+=	ENABLE_COLOR_STYLE=""
+.else
+CONFIGURE_ARGS+=--disable-color-style
+PLIST_SUB+=	ENABLE_COLOR_STYLE="@comment "
+.endif
 
-VERSION=	2.8.4
-MINOR_VERSION=	rel.1
+.if defined(ENABLE_DEFAULT_COLORS)
+CONFIGURE_ARGS+=--enable-default-colors
+.endif
 
-USE_BZIP2?=	YES
-GNU_CONFIGURE=  YES
-CONFIGURE_ARGS= --with-screen=ncurses --with-zlib \
-		--libdir="${PREFIX}/${L_ETCDIR}" \
-		--enable-nsl-fork --enable-defaults-colors --enable-prettysrc \
-		--enable-persistent-cookies --enable-gzip-help \
-		 --enable-cjk
+MAKE_ARGS=	helpdir=${L_HELP} docdir=${DOCSDIR}
 MAKEFILE=	makefile
-MAKE_ARGS=	DOCDIR=${PREFIX}/${L_DOCDIR} HELPDIR=${PREFIX}/${L_HELPDIR}
-PLIST_SUB=	DOCDIR=${L_DOCDIR} HELPDIR=${L_HELPDIR} \
-		HELPFILE_SUFFIX=${HELPFILE_SUFFIX}
-INSTALL_TARGET= install install-help
 MAN1=		lynx.1
 
-RUN_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip \
-		zip:${PORTSDIR}/archivers/zip
+.if !defined(NOPORTDOCS)
+INSTALL_TARGET=	install-full
+.else
+INSTALL_TARGET=	install install-help
+.endif
+
+L_LIB=		${PREFIX}/etc
+L_HELP=		${PREFIX}/share/lynx_help
 
-L_ETCDIR=	etc
-L_DOCDIR=	share/doc/lynx
-L_HELPDIR=	share/lynx_help
-HELPFILE_SUFFIX= .gz
+post-patch:
+	@${REINPLACE_CMD} -e 's|-lssl -lcrypto|-L${OPENSSLLIB} &|g' \
+		${WRKSRC}/configure
 
 post-install:
 .if !defined(NOPORTDOCS)
-	@(cd ${WRKSRC} ; make install-doc)
-	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${L_DOCDIR}
+	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
 .endif
-	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${L_HELPDIR}
+	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}
 
 .include <bsd.port.mk>
diff -urN lynx.orig/distinfo lynx/distinfo
--- lynx.orig/distinfo	Fri Nov 25 08:02:02 2005
+++ lynx/distinfo	Sat Mar 24 21:19:28 2007
@@ -1,9 +1,3 @@
-MD5 (lynx2.8.4rel.1.tar.bz2) = 6916c0127839f1e454052b683e4691c4
-SHA256 (lynx2.8.4rel.1.tar.bz2) = 99e72086198f271cb5169f965116453ee2b38d9aea321193f3178e785d06eb1e
-SIZE (lynx2.8.4rel.1.tar.bz2) = 1940531
-MD5 (lynx2.8.4rel.1a.patch.gz) = 84a00365afe757edabdb55cb6d73e10d
-SHA256 (lynx2.8.4rel.1a.patch.gz) = 2abb4b8cdc029fa803dd0c332704a99b1a669b34497054173557a01f157a3982
-SIZE (lynx2.8.4rel.1a.patch.gz) = 3065
-MD5 (lynx2.8.4rel.1b.patch.gz) = 34e2c40e93c412e792a7989f30619662
-SHA256 (lynx2.8.4rel.1b.patch.gz) = 3aff513ec8b57c8e3d0cd1b19013cb36e9086bcdc7d226db47b8789cbc70c663
-SIZE (lynx2.8.4rel.1b.patch.gz) = 3475
+MD5 (lynx2.8.6rel.4.tar.bz2) = dc80497b7dda6a28fd80404684d27548
+SHA256 (lynx2.8.6rel.4.tar.bz2) = c7d876d52d08e4e593e8f3a04ba6d6c86685570828d1b7a16723702c7643c2a3
+SIZE (lynx2.8.6rel.4.tar.bz2) = 2291156
diff -urN lynx.orig/files/patch-aa lynx/files/patch-aa
--- lynx.orig/files/patch-aa	Sun Jul  4 22:51:04 1999
+++ lynx/files/patch-aa	Thu Apr  5 17:43:52 2007
@@ -1,37 +1,46 @@
---- 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)
+--- makefile.in.orig	Mon Sep  4 08:25:39 2006
++++ makefile.in	Thu Apr  5 17:42:33 2007
+@@ -360,13 +360,9 @@
+ 		if test "$(COMPRESS_PROG)" != "" ; then \
+ 			(cd $(HELPDIR) && $(COMPRESS_PROG) $$files ) \
+ 		fi'
+-	@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.default
++	cp $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.tmp ;
++	@echo Updating $(sysconfdir)/lynx.cfg.default to point to installed help-files
+ 	@ECHO_CC at sed	-e '/^HELPFILE:http/s!^!#!' \
+ 		-e '/^#HELPFILE:file/s!#!!' \
+ 		$(SYSCONFDIR)/lynx.tmp | \
+@@ -374,9 +370,9 @@
+ 	$(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.default
+ 	-rm -f $(SYSCONFDIR)/lynx.tmp
++	-[ ! -f $(SYSCONFDIR)/lynx.cfg ] && $(INSTALL_DATA) $(SYSCONFDIR)/lynx.cfg.default $(SYSCONFDIR)/lynx.cfg
  
- ## Where you want the doc-files installed
--docdir= @libdir@/lynx_doc
-+docdir= @datadir@/doc/lynx
- DOCDIR= $(DESTDIR)$(docdir)
+ LYHelp.h : help_files.sed LYHelp.hin
+ 	@echo Creating $@
+@@ -398,11 +394,11 @@
+ 	$(SHELL) -c 'SHELL=$(SHELL) $(SHELL) $(scripts_dir)/cfg_defs.sh $(srcdir)'
  
- ## Where you want the help-files installed
--helpdir= @libdir@/lynx_help
-+helpdir= $(prefix)/share/lynx_help
- HELPDIR= $(DESTDIR)$(helpdir)
+ install-cfg : $(SYSCONFDIR)
+-	@$(SHELL) $(scripts_dir)/install-cfg.sh "$(INSTALL_DATA)" $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.cfg
++	@$(SHELL) $(scripts_dir)/install-cfg.sh "$(INSTALL_DATA)" $(srcdir)/lynx.cfg $(SYSCONFDIR)/lynx.cfg.default
  
- ##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 at 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
+ install-lss : $(SYSCONFDIR)
+-	-mv -f $(SYSCONFDIR)/lynx.lss $(SYSCONFDIR)/lynx.oldlss
+-	$(INSTALL_DATA) $(srcdir)/samples/lynx.lss $(SYSCONFDIR)/lynx.lss
++	$(INSTALL_DATA) $(srcdir)/samples/lynx.lss $(SYSCONFDIR)/lynx.lss.default
++	-[ ! -f $(SYSCONFDIR)/lynx.lss ] && $(INSTALL_DATA) $(SYSCONFDIR)/lynx.lss.default $(SYSCONFDIR)/lynx.lss
+ 
+ uninstall ::
+ @MSG_DIR_MAKE@	cd po && $(MAKE) CC="$(CC)" uninstall
diff -urN lynx.orig/files/patch-ab lynx/files/patch-ab
--- lynx.orig/files/patch-ab	Wed Jan 23 02:16:14 2002
+++ lynx/files/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- userdefs.h.bak	Fri Jun 23 19:15:08 2000
-+++ userdefs.h	Mon Jan 15 22:30:35 2001
-@@ -361,7 +361,7 @@
-  * not necessarily try a different filename when they are called, making it
-  * impossible to rename the file.  Others make world-writable files.
-  */
--/*#define USE_MKSTEMP */
-+#define USE_MKSTEMP
- 
- /********************************
-  * Comment this line out to let the user enter his/her email address
diff -urN lynx.orig/files/patch-ad lynx/files/patch-ad
--- lynx.orig/files/patch-ad	Thu Jul 13 18:38:56 2000
+++ lynx/files/patch-ad	Thu Jan  1 09:00:00 1970
@@ -1,44 +0,0 @@
---- src/LYHistory.c.orig	Sat Apr  1 09:33:40 2000
-+++ src/LYHistory.c	Thu Jul 13 17:43:32 2000
-@@ -528,6 +528,20 @@
- 	} else {
- 	    StrAllocCopy(Title, NO_TITLE);
- 	}
-+	if (HTCJK == JAPANESE) {
-+	    char *tmp;
-+
-+	    if ((tmp = (char *)calloc(strlen(Title)*2, sizeof(char *))) == NULL)
-+		outofmem(__FILE__, "showhistory");
-+	    *tmp = '\0';
-+	    if (kanji_code == EUC) {
-+		TO_EUC(Title, tmp);
-+	    } else if (kanji_code == SJIS) {
-+		TO_SJIS(Title, tmp);
-+	    }
-+	    if (*tmp) StrAllocCopy(Title, tmp);
-+	    FREE(tmp);
-+	}
- 	fprintf(fp0,
- 		"%s<em>%d</em>. <tab id=t%d><a href=\"LYNXHIST:%d\">%s</a>\n",
- 		(x > 99 ? "" : x < 10 ? "  " : " "),
-@@ -765,6 +779,20 @@
- 		StrAllocCopy(Title , NO_TITLE);
- 	} else {
- 	    StrAllocCopy(Title , NO_TITLE);
-+	}
-+	if (HTCJK == JAPANESE) {
-+	    char *tmp;
-+
-+	    if ((tmp = (char *)calloc(strlen(Title)*2, sizeof(char *))) == NULL)
-+		outofmem(__FILE__, "LYShowVisitedLinks");
-+	    *tmp = '\0';
-+	    if (kanji_code == EUC) {
-+		TO_EUC(Title, tmp);
-+	    } else if (kanji_code == SJIS) {
-+		TO_SJIS(Title, tmp);
-+	    }
-+	    if (*tmp) StrAllocCopy(Title, tmp);
-+		FREE(tmp);
- 	}
- 	if (vl->address != NULL && *vl->address != '\0') {
- 	    StrAllocCopy(Address, vl->address);
diff -urN lynx.orig/pkg-descr lynx/pkg-descr
--- lynx.orig/pkg-descr	Sun Jul  4 22:51:08 1999
+++ lynx/pkg-descr	Sat Apr 22 00:22:55 2000
@@ -1,11 +1,5 @@
 lynx is a program which allows a user to access World-Wide Web servers
 and other information servers.  It uses only ascii representation so
-that it can be used from ascii-terminals and dialin-lines.
+that it can be used from ascii-terminals and dial-in lines.
 
-And this package is modified for multi-byte.
-Modified point is following:
-  . History and VisitedLinks
-  . Editing to FORM TEXTFIELD and TEXTAREA
-  . Bookmark
-
---- Porting by shige at FreeBSD.ORG
+WWW: http://lynx.isc.org/current/
diff -urN lynx.orig/pkg-plist lynx/pkg-plist
--- lynx.orig/pkg-plist	Wed Jan 23 02:16:14 2002
+++ lynx/pkg-plist	Thu Apr  5 17:53:57 2007
@@ -1,68 +1,108 @@
 bin/lynx
-etc/lynx.cfg.sample
- at exec test -f %B/lynx.cfg && mv -f %B/lynx.cfg %B/lynx.oldcfg
- at exec cp -f %D/%F %B/lynx.cfg
- at unexec rm -f %B/lynx.cfg
- at unexec test -f %B/lynx.oldcfg && mv -f %B/lynx.oldcfg %B/lynx.cfg
-%%HELPDIR%%/COPYHEADER
-%%HELPDIR%%/COPYING
-%%HELPDIR%%/Lynx_users_guide.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/about_lynx.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/alt_edit_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/bashlike_edit_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/bookmark_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/cookie_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/dired_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/edit_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/environments.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/follow_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/gopher_types_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/history_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/keystroke_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/movement_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/option_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/other_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/print_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/scrolling_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/test_display.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/visited_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/keystrokes/xterm_help.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/lynx-dev.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/lynx_help_main.html%%HELPFILE_SUFFIX%%
-%%HELPDIR%%/lynx_url_support.html%%HELPFILE_SUFFIX%%
-%%PORTDOCS%%%%DOCDIR%%/CHANGES
-%%PORTDOCS%%%%DOCDIR%%/CHANGES.orig
-%%PORTDOCS%%%%DOCDIR%%/COPYHEADER
-%%PORTDOCS%%%%DOCDIR%%/COPYING
-%%PORTDOCS%%%%DOCDIR%%/PROBLEMS
-%%PORTDOCS%%%%DOCDIR%%/README
-%%PORTDOCS%%%%DOCDIR%%/samples/blue-background.lss
-%%PORTDOCS%%%%DOCDIR%%/samples/bright-blue.lss
-%%PORTDOCS%%%%DOCDIR%%/samples/cernrules.txt
-%%PORTDOCS%%%%DOCDIR%%/samples/installdirs.html
-%%PORTDOCS%%%%DOCDIR%%/samples/jumpsUnix.html
-%%PORTDOCS%%%%DOCDIR%%/samples/jumpsVMS.html
-%%PORTDOCS%%%%DOCDIR%%/samples/lynx-keymaps
-%%PORTDOCS%%%%DOCDIR%%/samples/lynx.com
-%%PORTDOCS%%%%DOCDIR%%/samples/lynx.lss
-%%PORTDOCS%%%%DOCDIR%%/samples/mailcap
-%%PORTDOCS%%%%DOCDIR%%/samples/mailto-form.pl
-%%PORTDOCS%%%%DOCDIR%%/samples/mild-colors.lss
-%%PORTDOCS%%%%DOCDIR%%/samples/mime.types
-%%PORTDOCS%%%%DOCDIR%%/test/ALT88592.html
-%%PORTDOCS%%%%DOCDIR%%/test/ISO_LATIN1_test.html
-%%PORTDOCS%%%%DOCDIR%%/test/README.txt
-%%PORTDOCS%%%%DOCDIR%%/test/TestComment.html
-%%PORTDOCS%%%%DOCDIR%%/test/c1.html
-%%PORTDOCS%%%%DOCDIR%%/test/iso8859-1.html
-%%PORTDOCS%%%%DOCDIR%%/test/iso88592.html
-%%PORTDOCS%%%%DOCDIR%%/test/raw8bit.html
-%%PORTDOCS%%%%DOCDIR%%/test/sgml.html
-%%PORTDOCS%%%%DOCDIR%%/test/spaces.html
-%%PORTDOCS%%%%DOCDIR%%/test/tabtest.html
-%%PORTDOCS%%%%DOCDIR%%/test/unicode.html
-%%PORTDOCS%%@dirrm %%DOCDIR%%/test
-%%PORTDOCS%%@dirrm %%DOCDIR%%/samples
-%%PORTDOCS%%@dirrm %%DOCDIR%%
- at dirrm %%HELPDIR%%/keystrokes
- at dirrm %%HELPDIR%%
+ at unexec if [ -f %D/etc/lynx.cfg ] && cmp -s %D/etc/lynx.cfg %D/etc/lynx.cfg.default; then rm -f %D/etc/lynx.cfg; fi
+etc/lynx.cfg.default
+ at exec if [ ! -f %D/etc/lynx.cfg ] ; then cp -p %D/%F %B/lynx.cfg; fi
+%%ENABLE_COLOR_STYLE%%@unexec if [ -f %D/etc/lynx.lss ] && cmp -s %D/etc/lynx.lss %D/etc/lynx.lss.default; then rm -f %D/etc/lynx.lss; fi
+%%ENABLE_COLOR_STYLE%%etc/lynx.lss.default
+%%ENABLE_COLOR_STYLE%%@exec if [ ! -f %D/etc/lynx.lss ] ; then cp -p %D/%F %B/lynx.lss; fi
+ at exec mkdir -p %D/share/lynx_help
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/COPYHEADER
+%%PORTDOCS%%@exec ln -sf %D/%F %D/share/lynx_help
+%%PORTDOCS%%%%DOCSDIR%%/COPYHEADER.asc
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%@exec ln -sf %D/%F %D/share/lynx_help
+%%PORTDOCS%%%%DOCSDIR%%/COPYING.asc
+%%PORTDOCS%%%%DOCSDIR%%/PROBLEMS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/docs/CHANGES2.3
+%%PORTDOCS%%%%DOCSDIR%%/docs/CHANGES2.4
+%%PORTDOCS%%%%DOCSDIR%%/docs/CHANGES2.5
+%%PORTDOCS%%%%DOCSDIR%%/docs/CHANGES2.6
+%%PORTDOCS%%%%DOCSDIR%%/docs/CHANGES2.7
+%%PORTDOCS%%%%DOCSDIR%%/docs/CHANGES2.8
+%%PORTDOCS%%%%DOCSDIR%%/docs/CRAWL.announce
+%%PORTDOCS%%%%DOCSDIR%%/docs/FM.announce
+%%PORTDOCS%%%%DOCSDIR%%/docs/IBMPC-charsets.announce
+%%PORTDOCS%%%%DOCSDIR%%/docs/OS-390.announce
+%%PORTDOCS%%%%DOCSDIR%%/docs/README.TRST
+%%PORTDOCS%%%%DOCSDIR%%/docs/README.chartrans
+%%PORTDOCS%%%%DOCSDIR%%/docs/README.defines
+%%PORTDOCS%%%%DOCSDIR%%/docs/README.jp
+%%PORTDOCS%%%%DOCSDIR%%/docs/README.metrics
+%%PORTDOCS%%%%DOCSDIR%%/docs/README.rootcerts
+%%PORTDOCS%%%%DOCSDIR%%/docs/README.ssl
+%%PORTDOCS%%%%DOCSDIR%%/docs/README.sslcerts
+%%PORTDOCS%%%%DOCSDIR%%/docs/SOCKETSHR.announce
+%%PORTDOCS%%%%DOCSDIR%%/docs/TCPWARE.announce
+%%PORTDOCS%%%%DOCSDIR%%/docs/VMSWAIS.announce
+%%PORTDOCS%%%%DOCSDIR%%/docs/djgpp.key
+%%PORTDOCS%%%%DOCSDIR%%/docs/pdcurses.key
+%%PORTDOCS%%%%DOCSDIR%%/docs/slang.key
+%%PORTDOCS%%%%DOCSDIR%%/docs/win-386.announce
+%%PORTDOCS%%%%DOCSDIR%%/samples/blue-background.lss
+%%PORTDOCS%%%%DOCSDIR%%/samples/bright-blue.lss
+%%PORTDOCS%%%%DOCSDIR%%/samples/cernrules.txt
+%%PORTDOCS%%%%DOCSDIR%%/samples/installdirs.html
+%%PORTDOCS%%%%DOCSDIR%%/samples/jumpsUnix.html
+%%PORTDOCS%%%%DOCSDIR%%/samples/jumpsVMS.html
+%%PORTDOCS%%%%DOCSDIR%%/samples/keepviewer
+%%PORTDOCS%%%%DOCSDIR%%/samples/lynx-keymaps
+%%PORTDOCS%%%%DOCSDIR%%/samples/lynx.com
+%%PORTDOCS%%%%DOCSDIR%%/samples/lynx.lss
+%%PORTDOCS%%%%DOCSDIR%%/samples/lynxdump
+%%PORTDOCS%%%%DOCSDIR%%/samples/mailcap
+%%PORTDOCS%%%%DOCSDIR%%/samples/mailto-form.pl
+%%PORTDOCS%%%%DOCSDIR%%/samples/mild-colors.lss
+%%PORTDOCS%%%%DOCSDIR%%/samples/mime.types
+%%PORTDOCS%%%%DOCSDIR%%/samples/oldlynx
+%%PORTDOCS%%%%DOCSDIR%%/test/ALT88592.html
+%%PORTDOCS%%%%DOCSDIR%%/test/ISO_LATIN1_test.html
+%%PORTDOCS%%%%DOCSDIR%%/test/README.txt
+%%PORTDOCS%%%%DOCSDIR%%/test/TestComment.html
+%%PORTDOCS%%%%DOCSDIR%%/test/c1.html
+%%PORTDOCS%%%%DOCSDIR%%/test/iso-8859-1.html
+%%PORTDOCS%%%%DOCSDIR%%/test/iso-8859-2.html
+%%PORTDOCS%%%%DOCSDIR%%/test/koi8-r.html
+%%PORTDOCS%%%%DOCSDIR%%/test/quickbrown.html
+%%PORTDOCS%%%%DOCSDIR%%/test/raw8bit.html
+%%PORTDOCS%%%%DOCSDIR%%/test/sgml.html
+%%PORTDOCS%%%%DOCSDIR%%/test/spaces.html
+%%PORTDOCS%%%%DOCSDIR%%/test/special_urls.html
+%%PORTDOCS%%%%DOCSDIR%%/test/tabtest.html
+%%PORTDOCS%%%%DOCSDIR%%/test/tags.html
+%%PORTDOCS%%%%DOCSDIR%%/test/test-styles.html
+%%PORTDOCS%%%%DOCSDIR%%/test/unicode.html
+%%PORTDOCS%%%%DOCSDIR%%/test/utf-8-demo.html
+%%PORTDOCS%%share/lynx_help/COPYHEADER
+%%PORTDOCS%%share/lynx_help/COPYING
+share/lynx_help/Lynx_users_guide.html
+share/lynx_help/about_lynx.html
+share/lynx_help/keystrokes/alt_edit_help.html
+share/lynx_help/keystrokes/bashlike_edit_help.html
+share/lynx_help/keystrokes/bookmark_help.html
+share/lynx_help/keystrokes/cookie_help.html
+share/lynx_help/keystrokes/dired_help.html
+share/lynx_help/keystrokes/edit_help.html
+share/lynx_help/keystrokes/environments.html
+share/lynx_help/keystrokes/follow_help.html
+share/lynx_help/keystrokes/gopher_types_help.html
+share/lynx_help/keystrokes/history_help.html
+share/lynx_help/keystrokes/keystroke_help.html
+share/lynx_help/keystrokes/movement_help.html
+share/lynx_help/keystrokes/option_help.html
+share/lynx_help/keystrokes/other_help.html
+share/lynx_help/keystrokes/print_help.html
+share/lynx_help/keystrokes/scrolling_help.html
+share/lynx_help/keystrokes/test_display.html
+share/lynx_help/keystrokes/visited_help.html
+share/lynx_help/keystrokes/xterm_help.html
+share/lynx_help/lynx-dev.html
+share/lynx_help/lynx_help_main.html
+share/lynx_help/lynx_url_support.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/samples
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/test
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at dirrm share/lynx_help/keystrokes
+ at dirrm share/lynx_help
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list