Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 1999 16:56:39 +0900 (JST)
From:      takamune@avrl.mei.co.jp
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11128: Update: japanese/bookview
Message-ID:  <199904140756.QAA58606@dream.avrl.mei.co.jp>

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

>Number:         11128
>Category:       ports
>Synopsis:       Update: japanese/bookview
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 14 01:00:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Kazutoki TAKAMUNE
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
Matsushita Electric Industrial Co., Ltd.
>Environment:

This port works on both
    FreeBSD 2.2.8-STABLE(Mon Apr  5 12:57:15 JST 1999)
and
    FreeBSD 3.1-STABLE(Wed Apr  7 13:38:19 JST 1999)
machines with ja-tcl-8.0.5/ja-tk-8.0.5.

But, I haven't tested on FreeBSD 4.0-CURRENT !

>Description:

Please apply this patch to upgrade port (of which I'm the maintainer).

Changes:
  - Updates japanese/bookview for the latest version 2.4.1.
  - No files have been added or removed.
  - Makefile
	o  Append a spare site to MASTER_SITES.
	o  Scrape the path of wish8.0jp from RUN_DEPENDS.
	o  Remove the procedure of install-info in post-install.
	   (Info files are installed by do-install.)
	o  Move the stage of making ${PREFIX}/info/dir to pre-install.
	   And make it in a diffrent way: cp -p /usr/share/info/dir-tmpl.
  - pkg/DESCR
	o  Revise the version of Tcl/Tk.
	o  Append the WEB page information.
  - pkg/PLIST
	o  Sort lines.

>How-To-Repeat:
>Fix:
diff -x CVS -Nur /usr/ports/japanese/bookview/Makefile japanese/bookview/Makefile
--- /usr/ports/japanese/bookview/Makefile	Mon Mar 15 12:51:02 1999
+++ japanese/bookview/Makefile	Wed Apr 14 12:00:00 1999
@@ -1,32 +1,32 @@
 # New ports collection makefile for:	bookview
-# Version required:		2.2
+# Version required:		2.4.1
 # Date created:			2 Oct 1997
 # Whom:				Motoyuki Kasahara <m-kasahr@sra.co.jp>
 #
 # $Id: Makefile,v 1.3 1999/03/13 07:30:16 taoka Exp $
 #
 
-DISTNAME=	bookview-2.2.1
-PKGNAME=	ja-bookview-2.2.1
+DISTNAME=	bookview-2.4.1
+PKGNAME=	ja-bookview-2.4.1
 CATEGORIES=	japanese
 MASTER_SITES=	ftp://ftp.sra.co.jp/pub/net/ndtp/bookview/ \
-		ftp://ftp.sra.co.jp/pub/net/ndtp/bookview/old/
+		ftp://ftp.sra.co.jp/pub/net/ndtp/bookview/old/ \
+		ftp://ftp.mei.co.jp/free/others/Dictionary/ndtp/bookview/
 
 MAINTAINER=	takamune@avrl.mei.co.jp
 
-RUN_DEPENDS=	${PREFIX}/bin/wish8.0jp:${PORTSDIR}/japanese/tk80
+RUN_DEPENDS=	wish8.0jp:${PORTSDIR}/japanese/tk80
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	WISH=${PREFIX}/bin/wish8.0jp \
 		INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
 		INSTALL_DATA="${INSTALL_DATA}"
 
-post-install:
-	if [ ! -f ${PREFIX}/info/dir ]; then \
-	  ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
-	fi
-.for info in bookview bookview-ja
-	install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
-.endfor
+.include <bsd.port.pre.mk>
 
-.include <bsd.port.mk>
+pre-install:
+.if !exists(${PREFIX}/info/dir)
+	${CP} -p ${INFODIR}/dir-tmpl ${PREFIX}/info/dir
+.endif
+
+.include <bsd.port.post.mk>
diff -x CVS -Nur /usr/ports/japanese/bookview/files/md5 japanese/bookview/files/md5
--- /usr/ports/japanese/bookview/files/md5	Mon Mar 15 12:51:02 1999
+++ japanese/bookview/files/md5	Wed Apr 14 12:00:00 1999
@@ -1 +1 @@
-MD5 (bookview-2.2.1.tar.gz) = 712f02b9f1eab7821faafdc93377c3fa
+MD5 (bookview-2.4.1.tar.gz) = 132b30dd4adfb473051363b3cc649f47
diff -x CVS -Nur /usr/ports/japanese/bookview/pkg/DESCR japanese/bookview/pkg/DESCR
--- /usr/ports/japanese/bookview/pkg/DESCR	Wed Apr 22 00:08:13 1998
+++ japanese/bookview/pkg/DESCR	Wed Apr 14 12:00:00 1999
@@ -1,8 +1,11 @@
 BookView is a NDTP (Network Dictionary Transfer Protocol) client
-written in Tcl/Tk.  It requires Tcl7.6jp and Tk4.2jp (Japanized
-version).  BookView can talk to the following servers:
-
-	NDTPD version 1.0beta2 and later
-	dserver version 2.2betapl2
+written in Tcl/Tk.  It requires Tcl8.0jp and Tk8.0jp (Japanized
+version).  BookView can talk to NDTPD and dserver.
 
 -- Motoyuki Kasahara <m-kasahr@sra.co.jp>
+
+
+You can get information about BookView from
+	http://www.sra.co.jp/people/m-kasahr/bookview/
+
+-- Kazutoki TAKAMUNE <takamune@avrl.mei.co.jp>
diff -x CVS -Nur /usr/ports/japanese/bookview/pkg/PLIST japanese/bookview/pkg/PLIST
--- /usr/ports/japanese/bookview/pkg/PLIST	Tue Jan 26 11:33:05 1999
+++ japanese/bookview/pkg/PLIST	Wed Apr 14 12:00:00 1999
@@ -1,17 +1,22 @@
 bin/bookview
+@unexec install-info --delete %D/info/bookview-ja.info %D/info/dir
+@unexec install-info --delete %D/info/bookview.info %D/info/dir
+info/bookview-ja.info
+info/bookview.info
+@exec [ -f %B/dir ] || cp -p /usr/share/info/dir-tmpl %B/dir
+@exec install-info %B/bookview-ja.info %B/dir
+@exec install-info %B/bookview.info %B/dir
 share/bookview/arrow.xbm
-share/bookview/back.xbm
-share/bookview/copyright.xbm
-share/bookview/menu.xbm
-share/bookview/next.xbm
-share/bookview/space.xbm
-share/bookview/help.txt
+share/bookview/copyright.gif
+share/bookview/find.gif
+share/bookview/finder.tcl
 share/bookview/help-ja.txt
+share/bookview/help.tcl
+share/bookview/help.txt
+share/bookview/menu.gif
+share/bookview/ndtp.tcl
+share/bookview/next.gif
+share/bookview/prev.gif
+share/bookview/setup.tcl
+share/bookview/space.xbm
 @dirrm share/bookview
-@unexec install-info --delete %D/info/bookview.info    %D/info/dir
-@unexec install-info --delete %D/info/bookview-ja.info %D/info/dir
-info/bookview.info
-info/bookview-ja.info
-@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
-@exec install-info %D/info/bookview.info    %D/info/dir
-@exec install-info %D/info/bookview-ja.info %D/info/dir

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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