Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jun 1997 20:02:00 +0900 (JST)
From:      Kazuhiko Kiriyama(System administrator) <kiri@kiri.toba-cmt.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/3788: Update port w3-2.2.26 (www/w3).
Message-ID:  <199706051102.UAA17514@kiri.toba-cmt.ac.jp>
Resent-Message-ID: <199706051100.EAA07837@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3788
>Category:       ports
>Synopsis:       Update port w3-2.2.26 (www/w3).
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Class:          support
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun  5 04:00:01 PDT 1997
>Last-Modified:
>Originator:     Kazuhiko Kiriyama
>Organization:
Toba National College of Maritime Technology.
                 Department of Electronic Mechanical Engineering
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:
>Description:

	I've updated the port w3-2.2.26 (www/w3).

	Current modifications is

		(1) Change dir installation with install-info.

	Add,Delete and Update files are respecively

	[Add] :
		files/DEINSTALL.tmpl
		files/INSTALL.tmpl
		files/dot.emacs.tmpl
		files/user-install.tmpl

	[Delete] :
		files/dot.emacs
		files/user-install
		pkg/DEINSTALL
		pkg/INSTALL

	[Update] :
		Makefile
		files/md5
		patches/patch-aa
		pkg/PLIST

	I put the diff from ports-current(www/w3) in "Fix:".

>How-To-Repeat:
>Fix:
diff -urN --exclude=CVS --exclude=*.orig ../../current/ports/www/w3/Makefile ./Makefile
--- ../../current/ports/www/w3/Makefile	Sun Feb 16 17:23:26 1997
+++ ./Makefile	Mon Jun  2 17:30:34 1997
@@ -3,36 +3,72 @@
 # Date created:		31 December 1996
 # Whom:			MITA Yoshio <mita@ee.t.u-tokyo.ac.jp>
 #
-# $Id: Makefile,v 1.3 1997/02/15 07:36:42 max Exp $
+# $Id: Makefile,v 1.2 1997/01/04 00:36:48 max Exp $
 #
 
 DISTNAME=	w3-2.2.26
-CATEGORIES=	www
-MASTER_SITES=	ftp://ftp.cs.indiana.edu/pub/elisp/w3/ \
-		ftp://ftp.iij.ad.jp/pub/network/WWW/w3/
+CATEGORIES?=	www
+MASTER_SITES=	ftp://ftp.iij.ad.jp/pub/network/WWW/w3/ \
+		ftp://ftp.cs.indiana.edu/pub/elisp/w3/
 
 MAINTAINER=	kiri@kiri.toba-cmt.ac.jp
 
-BUILD_DEPENDS=	emacs:${PORTSDIR}/editors/emacs
-RUN_DEPENDS=	emacs:${PORTSDIR}/editors/emacs
+BUILD_DEPENDS?=	emacs:${PORTSDIR}/editors/emacs
+RUN_DEPENDS?=	emacs:${PORTSDIR}/editors/emacs
 
 WRKSRC=		${WRKDIR}/w3
-
-DOCDIR=		${PREFIX}/share/doc/w3
+MAKE_ENV+=	EMACSCMD=${EMACSCMD} ELISPDIR=${ELISPDIR} \
+		MKDIR="${MKDIR}" CP=${CP} \
+		INFODIR=${INFODIR} \
+		INSTALL_DATA="${INSTALL_DATA}"
+
+VERSION=	2.2.26
+EMACSCMD?=	emacs
+PORTSDOCDIR=	${PREFIX}/share/doc/w3
 SAMPLEDIR=	${PREFIX}/share/examples/w3
+ELISPDIR?=	${PREFIX}/share/emacs/site-lisp
+INFODIR=	${PREFIX}/info
+ADDIR=		${X11BASE}/lib/X11/app-defaults
+DIRSECTION=	The Emacs editor and associated tools
+INFOFILE=	w3.info
+
+post-build:
+.for f in DEINSTALL INSTALL dot.emacs user-install
+	@${SED} -e "s,%VERSION%,${VERSION},g" \
+ 		-e "s,%PREFIX%,${PREFIX},g" \
+ 		-e "s,%INFODIR%,${INFODIR},g" \
+ 		-e "s,%ELISPDIR%,${ELISPDIR},g" \
+		-e "s,%INFOFILE%,${INFOFILE},g" \
+ 		-e "s,%ADDIR%,${ADDIR},g" \
+		-e "s,%TOUCH%,${TOUCH},g" \
+		-e "s,%MKDIR%,${MKDIR},g" \
+		-e "s,%SAMPLEDIR%,${SAMPLEDIR},g" \
+		-e "s,%DIRSECTION%,${DIRSECTION},g" \
+		< ${FILESDIR}/${f}.tmpl > ${FILESDIR}/${f}
+.endfor
+	@${CP} ${FILESDIR}/DEINSTALL ${FILESDIR}/INSTALL ${PKGDIR}
 
 post-install:
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCDIR}
+	@${MKDIR} ${PORTSDOCDIR}
 	@${MKDIR} ${SAMPLEDIR}
 .for f in dot.emacs dot.mosaic-hotlist-default 
 	@${INSTALL_DATA} ${FILESDIR}/${f} ${SAMPLEDIR}
 .endfor
 	@${INSTALL_SCRIPT} ${FILESDIR}/user-install ${SAMPLEDIR}
 .for f in W3.ad clean-cache Makefile w3.txi
-	@${INSTALL_DATA} ${WRKSRC}/${f}  ${DOCDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${f}  ${PORTSDOCDIR}
 .endfor
 .endif
-	@${SETENV} PKG_PREFIX=${PREFIX} /bin/sh ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
+	@${SETENV} MKDIR="${MKDIR}" TOUCH=${TOUCH} \
+		INFODIR=${INFODIR} INFOFILE=${INFOFILE} \
+		ELISPDIR=${ELISPDIR} ADDIR=${ADDIR} \
+		DIRSECTION="${DIRSECTION}" \
+		/bin/sh ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL  
+
+pre-clean:
+	@${RM} -f ${FILESDIR}/DEINSTALL ${FILESDIR}/INSTALL \
+		${FILESDIR}/dot.emacs ${FILESDIR}/user-install \
+		${PKGDIR}/DEINSTALL ${PKGDIR}/INSTALL 
 
 .include <bsd.port.mk>
diff -urN --exclude=CVS --exclude=*.orig ../../current/ports/www/w3/files/DEINSTALL.tmpl ./files/DEINSTALL.tmpl
--- ../../current/ports/www/w3/files/DEINSTALL.tmpl	Thu Jan  1 09:00:00 1970
+++ ./files/DEINSTALL.tmpl	Sat May 31 21:18:05 1997
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+infodir=${INFODIR:-%INFODIR%}
+infofile=${INFOFILE:-%INFOFILE%}
+elispdir=${ELISPDIR:-%ELISPDIR%}
+addir=${ADDIR:-%ADDIR%}
+
+if [ "X$2" = X"DEINSTALL" ]; then
+	echo "Deleting \"w3\" entry from ${infodir}/dir"
+	install-info --delete ${infodir}/${infofile} ${infodir}/dir
+	OptionStart=";;; Emacs-w3 configuration options"
+	OptionEnd=";;; End of Emacs-w3 configuration options"
+	if  [ "`grep \"^${OptionStart}\"  ${elispdir}/site-start.el`" ]; then 
+		echo "Deleting \"w3\" entry from ${elispdir}/site-start.el"
+		sed -e "/^${OptionStart}/,/^${OptionEnd}/d"\
+			 ${elispdir}/site-start.el \
+					> ${elispdir}/site-start.el.bak
+		mv ${elispdir}/site-start.el.bak ${elispdir}/site-start.el
+	fi
+	OptionStart="!!! Emacs-w3 configuration options"
+	OptionEnd="!!! End of Emacs-w3 configuration options"
+	if  [ "`grep \"^${OptionStart}\"  ${addir}/Emacs`" ]; then 
+		echo "Deleting \"w3\" entry from ${addir}/Emacs"
+		sed -e 's/^![ 	]*\(Emacs\*w3-.*\)$/&/' \
+			-e "/^${OptionStart}/,/^${OptionEnd}/d" \
+			${addir}/Emacs		> ${addir}/Emacs.bak
+		mv ${addir}/Emacs.bak ${addir}/Emacs
+	fi
+else
+	exit 0
+fi
diff -urN --exclude=CVS --exclude=*.orig ../../current/ports/www/w3/files/INSTALL.tmpl ./files/INSTALL.tmpl
--- ../../current/ports/www/w3/files/INSTALL.tmpl	Thu Jan  1 09:00:00 1970
+++ ./files/INSTALL.tmpl	Sat May 31 21:30:55 1997
@@ -0,0 +1,112 @@
+#!/bin/sh
+
+TOUCH=${TOUCH:-%TOUCH%}
+MKDIR=${MKDIR:-"%MKDIR%"}
+
+infodir=${INFODIR:-%INFODIR%}
+infofile=${INFOFILE:-%INFOFILE%}
+elispdir=${ELISPDIR:-%ELISPDIR%}
+addir=${ADDIR:-%ADDIR%}
+
+dirsection=${DIRSECTION:-%DIRSECTION%}
+
+OptionStart="Emacs-w3 configuration options"
+OptionEnd="End of Emacs-w3 configuration options"
+
+if [ "X$2" = X"POST-INSTALL" ]; then
+	if [ ! -f ${elispdir}/site-start.el ]; then 
+		 ${TOUCH} ${elispdir}/site-start.el
+	fi
+	${MKDIR} ${addir}
+	if [ ! -f ${addir}/Emacs ]; then 
+		 ${TOUCH} ${addir}/Emacs
+	fi
+	if [ ! "`grep \"START-INFO-DIR-ENTRY\" ${infodir}/${infofile}`" ]; then
+		echo "INFO-DIR-SECTION ${dirsection}" \
+						>> ${infodir}/${infofile}
+		echo "START-INFO-DIR-ENTRY"	>> ${infodir}/${infofile}
+		echo "* w3: (`basename ${infofile} .info`).		WWW browser." \
+						>> ${infodir}/${infofile}
+		echo "END-INFO-DIR-ENTRY"	>> ${infodir}/${infofile}
+	fi
+	echo "Adding \"w3\" entry to ${infodir}/dir"
+	install-info ${infodir}/${infofile} ${infodir}/dir
+	sed -e "/^;;; ${OptionStart}/,/^;;; ${OptionEnd}/d" \
+		${elispdir}/site-start.el > ${elispdir}/site-start.el.bak
+	mv ${elispdir}/site-start.el.bak ${elispdir}/site-start.el
+	echo "Adding \"w3\" entry to ${elispdir}/site-start.el"
+	echo ";;; ${OptionStart}" \
+						>> ${elispdir}/site-start.el
+	echo "(setq load-path "			>> ${elispdir}/site-start.el
+	echo "	(cons (expand-file-name " >> ${elispdir}/site-start.el
+	echo "		\"${elispdir}/w3\") load-path))" \
+						>> ${elispdir}/site-start.el
+	echo "(autoload 'w3-preview-this-buffer \"w3\" \"WWW Previewer\" t)" \
+						>> ${elispdir}/site-start.el
+	echo "(autoload 'w3-follow-url-at-point" \
+						>> ${elispdir}/site-start.el
+	echo "	\"w3\" \"Find document at pt\" t)" \
+						>> ${elispdir}/site-start.el
+	echo "(autoload 'w3 \"w3\" \"WWW Browser\" t)" \
+						>> ${elispdir}/site-start.el
+	echo "(autoload 'w3-open-local" >> ${elispdir}/site-start.el
+	echo "	\"w3\" \"Open local file for WWW browsing\" t)" \
+						>> ${elispdir}/site-start.el
+	echo "(autoload 'w3-fetch"	>> ${elispdir}/site-start.el
+	echo "	\"w3\" \"Open remote file for WWW browsing\" t)" \
+						>> ${elispdir}/site-start.el
+	echo "(autoload 'w3-use-hotlist" >> ${elispdir}/site-start.el
+	echo "	\"w3\" \"Use shortcuts to view WWW docs\" t)" \
+						>> ${elispdir}/site-start.el
+	echo "(autoload 'w3-show-hotlist" >> ${elispdir}/site-start.el
+	echo "	\"w3\" \"Use shortcuts to view WWW docs\" t)" \
+						>> ${elispdir}/site-start.el
+	echo "(autoload 'w3-follow-link" >> ${elispdir}/site-start.el
+	echo "	\"w3\" \"Follow a hypertext link.\" t)" \
+						>> ${elispdir}/site-start.el
+	echo "(autoload 'w3-batch-fetch" >> ${elispdir}/site-start.el
+	echo "	\"w3\" \"Batch retrieval of URLs\" t)" \
+						>> ${elispdir}/site-start.el
+	echo "(autoload 'url-get-url-at-point" >> ${elispdir}/site-start.el
+	echo "	\"url\" \"Find the url under the cursor\" nil)" \
+						>> ${elispdir}/site-start.el
+	echo "(autoload 'url-file-attributes" \
+						>> ${elispdir}/site-start.el
+	echo "	\"url\" \"File attributes of a URL\" nil)" \
+						>> ${elispdir}/site-start.el
+	echo "(autoload 'url-popup-info"	>> ${elispdir}/site-start.el
+	echo "	\"url\" \"Get info on a URL\" t)" \
+						>> ${elispdir}/site-start.el
+	echo "(autoload 'url-retrieve"		>> ${elispdir}/site-start.el
+	echo "	\"url\" \"Retrieve a URL\" nil)" >> ${elispdir}/site-start.el
+	echo "(autoload 'url-buffer-visiting" \
+						>> ${elispdir}/site-start.el
+	echo "	\"url\" \"Find buffer visiting a URL.\" nil)" \
+						>> ${elispdir}/site-start.el
+	echo "(autoload 'gopher-dispatch-object" \
+						>> ${elispdir}/site-start.el
+	echo "	\"gopher\" \"Fetch gopher dir\" t)" \
+						>> ${elispdir}/site-start.el
+	echo ";;; ${OptionEnd}" \
+						 >> ${elispdir}/site-start.el
+	if [ ! -f ${addir}/Emacs ]; then
+		touch ${addir}/Emacs
+	fi
+	sed -e 's/^![ 	]*\(Emacs\*w3-.*\)$/&/' \
+		-e "/^!!! ${OptionStart}/,/^!!! ${OptionEnd}/d" \
+			${addir}/Emacs > ${addir}/Emacs.bak
+	mv ${addir}/Emacs.bak ${addir}/Emacs
+	echo "Adding \"w3\" entry to ${addir}/Emacs"
+	sed -e 's/^[ 	]*Emacs\*w3-.*$/! &/'	${addir}/Emacs \
+						> ${addir}/Emacs.bak
+	echo "!!! ${OptionStart}"		>> ${addir}/Emacs.bak
+	echo "Emacs*w3-node-style.attributeForeground: purple" \
+						>> ${addir}/Emacs.bak
+	echo "Emacs*w3-visited-node-style.attributeForeground: blue" \
+						>> ${addir}/Emacs.bak
+	echo "!!! End of ${OptionStart}"	>> ${addir}/Emacs.bak
+	mv ${addir}/Emacs.bak ${addir}/Emacs
+	exit 0
+else
+	exit 0
+fi
diff -urN --exclude=CVS --exclude=*.orig ../../current/ports/www/w3/files/dot.emacs ./files/dot.emacs
--- ../../current/ports/www/w3/files/dot.emacs	Sat Jan  4 09:36:51 1997
+++ ./files/dot.emacs	Thu Jan  1 09:00:00 1970
@@ -1,8 +0,0 @@
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Emacs-w3 ;;;;
-;;        Emacs-w3(Ver.2.2.26)                                        ;;
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-(setq url-keep-history t)
-(setq url-be-asynchronous t)
-(setq w3-default-homepage 
-      "file://localhost/usr/share/doc/handbook/handbook.html")
-;;                                                       Emacs-w3 end
diff -urN --exclude=CVS --exclude=*.orig ../../current/ports/www/w3/files/dot.emacs.tmpl ./files/dot.emacs.tmpl
--- ../../current/ports/www/w3/files/dot.emacs.tmpl	Thu Jan  1 09:00:00 1970
+++ ./files/dot.emacs.tmpl	Sat May 31 21:18:05 1997
@@ -0,0 +1,8 @@
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Emacs-w3 ;;;;
+;;        Emacs-w3(Ver.%VERSION%)                                        ;;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+(setq url-keep-history t)
+(setq url-be-asynchronous t)
+(setq w3-default-homepage 
+      "file://localhost/usr/share/doc/handbook/handbook.html")
+;;                                                       Emacs-w3 end
diff -urN --exclude=CVS --exclude=*.orig ../../current/ports/www/w3/files/md5 ./files/md5
--- ../../current/ports/www/w3/files/md5	Sun Feb 16 17:23:26 1997
+++ ./files/md5	Sat May 31 21:18:05 1997
@@ -1 +1 @@
-MD5 (w3-2.2.26.tar.gz) = e12d158809b8084bd0dc3491610b0a43
+MD5 (w3-2.2.26.tar.gz) = b53c81896353eec79911455d67d24339
diff -urN --exclude=CVS --exclude=*.orig ../../current/ports/www/w3/files/user-install ./files/user-install
--- ../../current/ports/www/w3/files/user-install	Sat Jan  4 09:36:55 1997
+++ ./files/user-install	Thu Jan  1 09:00:00 1970
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-PREFIX=/usr/local
-SAMPLEDIR=${PREFIX}/share/examples/w3
-
-if [ ! -f ${HOME}/.mosaic-hotlist-default ]; then
-	cp ${SAMPLEDIR}/dot.mosaic-hotlist-default ${HOME}/.mosaic-hotlist-default
-fi
-
-mv ${HOME}/.emacs ${HOME}/.emacs.org.$$
-sed -e '/^;;* Emacs-w3 ;*$/,/^;; *Emacs-w3 end$/d' < ${HOME}/.emacs.org.$$ > ${HOME}/.emacs
-cat ${SAMPLEDIR}/dot.emacs >> ${HOME}/.emacs
diff -urN --exclude=CVS --exclude=*.orig ../../current/ports/www/w3/files/user-install.tmpl ./files/user-install.tmpl
--- ../../current/ports/www/w3/files/user-install.tmpl	Thu Jan  1 09:00:00 1970
+++ ./files/user-install.tmpl	Sat May 31 21:18:05 1997
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+SAMPLEDIR=%SAMPLEDIR%
+
+if [ ! -f ${HOME}/.mosaic-hotlist-default ]; then
+	cp ${SAMPLEDIR}/dot.mosaic-hotlist-default ${HOME}/.mosaic-hotlist-default
+fi
+
+mv ${HOME}/.emacs ${HOME}/.emacs.org.$$
+sed -e '/^;;* Emacs-w3 ;*$/,/^;; *Emacs-w3 end$/d' < ${HOME}/.emacs.org.$$ > ${HOME}/.emacs
+cat ${SAMPLEDIR}/dot.emacs >> ${HOME}/.emacs
diff -urN --exclude=CVS --exclude=*.orig ../../current/ports/www/w3/patches/patch-aa ./patches/patch-aa
--- ../../current/ports/www/w3/patches/patch-aa	Wed Dec 18 14:26:32 1996
+++ ./patches/patch-aa	Sat May 31 21:18:13 1997
@@ -1,22 +1,31 @@
---- Makefile.org	Sun Oct 29 01:21:56 1995
-+++ Makefile	Sun Dec  1 14:01:52 1996
-@@ -8,12 +8,13 @@
+--- Makefile.orig	Sun Oct 29 01:21:56 1995
++++ Makefile	Sat May 31 19:15:25 1997
+@@ -1,19 +1,19 @@
+ # what emacs is called on your system
+-EMACS = emacs
++EMACS = ${EMACSCMD}
+ 
+ # How to make a directory
+ # need a -p if you want to make the parents!
+-MKDIR = mkdir
++MKDIR ?= mkdir
+ 
  # Various other stuff used
  RM    = rm -f
- CP    = cp
-+INSTALL_DATA =	/usr/bin/install -c -o bin -g bin -m 444
+-CP    = cp
++CP    ?= cp
  
  # where the Info file should go
 -INFODIR = ../info
-+INFODIR = ${PREFIX}/info
++INFODIR ?= ../info
  
  # where the w3 lisp files should go
 -LISPDIR = $$HOME/lisp
-+LISPDIR = ${PREFIX}/share/emacs/site-lisp/w3
++LISPDIR = ${ELISPDIR}/w3
  
  # Change this to be where your .emacs file is stored
  DOTEMACS      = $$HOME/.emacs
-@@ -57,16 +58,16 @@
+@@ -57,16 +57,16 @@
  w3:	docomp.el $(OBJECTS)
  	@echo Build of w3 complete...
  
diff -urN --exclude=CVS --exclude=*.orig ../../current/ports/www/w3/pkg/DEINSTALL ./pkg/DEINSTALL
--- ../../current/ports/www/w3/pkg/DEINSTALL	Sat Jan  4 09:36:57 1997
+++ ./pkg/DEINSTALL	Thu Jan  1 09:00:00 1970
@@ -1,35 +0,0 @@
-#!/bin/sh
-
-infodir=${PKG_PREFIX}/info
-addir=/usr/X11R6/lib/X11/app-defaults
-elispdir=${PKG_PREFIX}/share/emacs/site-lisp
-
-OptionStart="Emacs-w3 configuration options"
-OptionEnd="End of Emacs-w3 configuration options"
-
-if [ "X$2" = X"DEINSTALL" ]; then
-	a=`grep "^\* w3:" ${infodir}/dir`
-	if  [ "${a}" ]; then 
-		echo "Deleting \"w3\" entry from ${infodir}/dir"
-		grep -v "^\* w3:" ${infodir}/dir> ${infodir}/dir.bak
-		mv ${infodir}/dir.bak ${infodir}/dir
-	fi
-	a=`grep "^;;; ${OptionStart}" ${elispdir}/site-start.el`
-	if  [ "${a}" ]; then 
-		echo "Deleting \"w3\" entry from ${elispdir}/site-start.el"
-		sed -e "/^;;; ${OptionStart}/,/^;;; ${OptionEnd}/d"\
-			 ${elispdir}/site-start.el \
-					> ${elispdir}/site-start.el.bak
-		mv ${elispdir}/site-start.el.bak ${elispdir}/site-start.el
-	fi
-	a=`grep "^!!! ${OptionStart}"  ${addir}/Emacs`
-	if  [ "${a}" ]; then 
-		echo "Deleting \"w3\" entry from ${addir}/Emacs"
-		sed -e 's/^![ 	]*\(Emacs\*w3-.*\)$/&/' \
-			-e "/^!!! ${OptionStart}/,/^!!! ${OptionEnd}/d" \
-			${addir}/Emacs		> ${addir}/Emacs.bak
-		mv ${addir}/Emacs.bak ${addir}/Emacs
-	fi
-else
-	exit 0
-fi
diff -urN --exclude=CVS --exclude=*.orig ../../current/ports/www/w3/pkg/INSTALL ./pkg/INSTALL
--- ../../current/ports/www/w3/pkg/INSTALL	Sat Jan  4 09:36:58 1997
+++ ./pkg/INSTALL	Thu Jan  1 09:00:00 1970
@@ -1,96 +0,0 @@
-#!/bin/sh
-
-infodir=${PKG_PREFIX}/info
-addir=/usr/X11R6/lib/X11/app-defaults
-elispdir=${PKG_PREFIX}/share/emacs/site-lisp
-
-OptionStart="Emacs-w3 configuration options"
-OptionEnd="End of Emacs-w3 configuration options"
-
-if [ "X$2" = X"POST-INSTALL" ]; then
-	if [ ! -f ${infodir}/dir ]; then
-		cp ${FILESDIR}/dir ${infodir}
-	fi
-	grep -v "^\* w3:" ${infodir}/dir > ${infodir}/dir.bak
-	mv ${infodir}/dir.bak ${infodir}/dir
-	echo "Adding \"w3\" entry to ${infodir}/dir"
-	echo '* w3: (w3).             WWW browser.'	>> ${infodir}/dir
-	sed -e "/^;;; ${OptionStart}/,/^;;; ${OptionEnd}/d" \
-		${elispdir}/site-start.el > ${elispdir}/site-start.el.bak
-	mv ${elispdir}/site-start.el.bak ${elispdir}/site-start.el
-	echo "Adding \"w3\" entry to ${elispdir}/site-start.el"
-	echo ";;; ${OptionStart}" \
-						>> ${elispdir}/site-start.el
-	echo "(setq load-path "			>> ${elispdir}/site-start.el
-	echo "	(cons (expand-file-name " >> ${elispdir}/site-start.el
-	echo "		\"${elispdir}/w3\") load-path))" \
-						>> ${elispdir}/site-start.el
-	echo "(autoload 'w3-preview-this-buffer \"w3\" \"WWW Previewer\" t)" \
-						>> ${elispdir}/site-start.el
-	echo "(autoload 'w3-follow-url-at-point" \
-						>> ${elispdir}/site-start.el
-	echo "	\"w3\" \"Find document at pt\" t)" \
-						>> ${elispdir}/site-start.el
-	echo "(autoload 'w3 \"w3\" \"WWW Browser\" t)" \
-						>> ${elispdir}/site-start.el
-	echo "(autoload 'w3-open-local" >> ${elispdir}/site-start.el
-	echo "	\"w3\" \"Open local file for WWW browsing\" t)" \
-						>> ${elispdir}/site-start.el
-	echo "(autoload 'w3-fetch"	>> ${elispdir}/site-start.el
-	echo "	\"w3\" \"Open remote file for WWW browsing\" t)" \
-						>> ${elispdir}/site-start.el
-	echo "(autoload 'w3-use-hotlist" >> ${elispdir}/site-start.el
-	echo "	\"w3\" \"Use shortcuts to view WWW docs\" t)" \
-						>> ${elispdir}/site-start.el
-	echo "(autoload 'w3-show-hotlist" >> ${elispdir}/site-start.el
-	echo "	\"w3\" \"Use shortcuts to view WWW docs\" t)" \
-						>> ${elispdir}/site-start.el
-	echo "(autoload 'w3-follow-link" >> ${elispdir}/site-start.el
-	echo "	\"w3\" \"Follow a hypertext link.\" t)" \
-						>> ${elispdir}/site-start.el
-	echo "(autoload 'w3-batch-fetch" >> ${elispdir}/site-start.el
-	echo "	\"w3\" \"Batch retrieval of URLs\" t)" \
-						>> ${elispdir}/site-start.el
-	echo "(autoload 'url-get-url-at-point" >> ${elispdir}/site-start.el
-	echo "	\"url\" \"Find the url under the cursor\" nil)" \
-						>> ${elispdir}/site-start.el
-	echo "(autoload 'url-file-attributes" \
-						>> ${elispdir}/site-start.el
-	echo "	\"url\" \"File attributes of a URL\" nil)" \
-						>> ${elispdir}/site-start.el
-	echo "(autoload 'url-popup-info"	>> ${elispdir}/site-start.el
-	echo "	\"url\" \"Get info on a URL\" t)" \
-						>> ${elispdir}/site-start.el
-	echo "(autoload 'url-retrieve"		>> ${elispdir}/site-start.el
-	echo "	\"url\" \"Retrieve a URL\" nil)" >> ${elispdir}/site-start.el
-	echo "(autoload 'url-buffer-visiting" \
-						>> ${elispdir}/site-start.el
-	echo "	\"url\" \"Find buffer visiting a URL.\" nil)" \
-						>> ${elispdir}/site-start.el
-	echo "(autoload 'gopher-dispatch-object" \
-						>> ${elispdir}/site-start.el
-	echo "	\"gopher\" \"Fetch gopher dir\" t)" \
-						>> ${elispdir}/site-start.el
-	echo ";;; ${OptionEnd}" \
-						 >> ${elispdir}/site-start.el
-	if [ ! -f ${addir}/Emacs ]; then
-		touch ${addir}/Emacs
-	fi
-	sed -e 's/^![ 	]*\(Emacs\*w3-.*\)$/&/' \
-		-e "/^!!! ${OptionStart}/,/^!!! ${OptionEnd}/d" \
-			${addir}/Emacs > ${addir}/Emacs.bak
-	mv ${addir}/Emacs.bak ${addir}/Emacs
-	echo "Adding \"w3\" entry to ${addir}/Emacs"
-	sed -e 's/^[ 	]*Emacs\*w3-.*$/! &/'	${addir}/Emacs \
-						> ${addir}/Emacs.bak
-	echo "!!! ${OptionStart}"		>> ${addir}/Emacs.bak
-	echo "Emacs*w3-node-style.attributeForeground: purple" \
-						>> ${addir}/Emacs.bak
-	echo "Emacs*w3-visited-node-style.attributeForeground: blue" \
-						>> ${addir}/Emacs.bak
-	echo "!!! End of ${OptionStart}"	>> ${addir}/Emacs.bak
-	mv ${addir}/Emacs.bak ${addir}/Emacs
-	exit 0
-else
-	exit 0
-fi
diff -urN --exclude=CVS --exclude=*.orig ../../current/ports/www/w3/pkg/PLIST ./pkg/PLIST
--- ../../current/ports/www/w3/pkg/PLIST	Sat Jan  4 09:36:59 1997
+++ ./pkg/PLIST	Sat May 31 21:20:16 1997
@@ -68,3 +68,6 @@
 share/emacs/site-lisp/w3/xbm-button.elc
 share/emacs/site-lisp/w3/xpm-button.el
 share/emacs/site-lisp/w3/xpm-button.elc
+@dirrm share/emacs/site-lisp/w3
+@dirrm share/examples/w3
+@dirrm share/doc/w3
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706051102.UAA17514>