From owner-ports-jp@jp.FreeBSD.org Sun Mar  2 04:15:37 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id h21JFbC55047;
	Sun, 2 Mar 2003 04:15:37 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from send.nc.u-tokyo.ac.jp (send.nc.u-tokyo.ac.jp [133.11.119.246])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id h21JFbi55042
	for <ports-jp@jp.FreeBSD.org>; Sun, 2 Mar 2003 04:15:37 +0900 (JST)
	(envelope-from koma2@jiro.c.u-tokyo.ac.jp)
Received: from arten12.nc.u-tokyo.ac.jp (arten12.nc.u-tokyo.ac.jp [133.11.119.42])
	by send.nc.u-tokyo.ac.jp (8.9.3/3.7W) with SMTP id EAA20141
	for <ports-jp@jp.FreeBSD.org>; Sun, 2 Mar 2003 04:15:59 +0900 (JST)
Received: from jiro.c.u-tokyo.ac.jp ([157.82.63.17])
 by arten12.nc.u-tokyo.ac.jp (NAVGW 2.5.1.18) with SMTP id M2003030204153614163
 for <ports-jp@jp.FreeBSD.org>; Sun, 02 Mar 2003 04:15:36 +0900
From: KOMATSU Shinichiro <koma2@jiro.c.u-tokyo.ac.jp>
To: ports-jp@jp.FreeBSD.org
Cc: sumikawa@freebsd.org
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="WIyZ46R2i8wDzkSu"
Content-Disposition: inline
X-Editor: JVim 3.0-j2.1a by Ken'ichi Tsuchida (2001 May 5) + skk1.2.17(SKKFEP)
User-Agent: Mutt/1.5.1i-ja.1
Message-Id: <20030301191537.0D35272501@jiro.c.u-tokyo.ac.jp>
Reply-To: ports-jp@jp.FreeBSD.org
Precedence: list
Date: Sun, 2 Mar 2003 04:15:36 +0900
X-Sequence: ports-jp 13569
Subject: [ports-jp 13569] fix permission of misc/lv
Errors-To: owner-ports-jp@jp.FreeBSD.org
Sender: owner-ports-jp@jp.FreeBSD.org
X-Originator: koma2@jiro.c.u-tokyo.ac.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030107


--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=iso-2022-jp
Content-Disposition: inline

$B>.>>$G$9!#%a%s%F%J$N$9$_$+$o$5$s$K$b(B Cc $B$7$^$9!#(B

misc/lv $B$G$9$,!"(Bpermission $B$,$9$Y$F(B bin:bin $B$G(B install $B$5$l$^$9$M!#(B
$B$3$l$O(B root:wheel $B$K$9$Y$-$@$H;W$&$N$G!"(B
$B=$@5$9$k(B patch $B$rAw$j$^$9!#(B

$B$"$H!"$D$$$G$K(B

- HTML documents $B$b(B install
- de-pkg-comment

$B$H$$$C$?JQ99$b$7$F$_$^$7$?!#(B

$B$b$7$3$l$GLdBj$J$1$l$P(B commit $B$7$F$$$?$@$1$J$$$G$7$g$&$+!)(B $B!d(B $B$9$_$+$o$5$s(B

-- 
---------------------------------------
$BEl5~Bg3XBg3X1!Am9gJ82=8&5f2J(B
$B9-0h2J3X@l96Aj4X4pAC2J3X7O(B 
  $B:4!98&5f<<(B  $BGn;N#3G/(B
    $B>.>>(B  $B?80lO/(B            
koma2@jiro.c.u-tokyo.ac.jp
koma2@momonga-linux.org
http://kamuy.c.u-tokyo.ac.jp/~koma2/
---------------------------------------


--WIyZ46R2i8wDzkSu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="misc-lv.patch"

diff --exclude=CVS --exclude=*.log* -urN lv.orig/Makefile lv/Makefile
--- lv.orig/Makefile	Wed Aug 30 19:03:03 2000
+++ lv/Makefile	Sat Mar  1 21:47:07 2003
@@ -7,15 +7,24 @@
 
 PORTNAME=	lv
 PORTVERSION=	4.49.4
+PORTREVISION=	1
 CATEGORIES=	misc
 MASTER_SITES=	http://www.ff.iij4u.or.jp/~nrt/freeware/
 DISTNAME=	lv4494
 
 MAINTAINER=	sumikawa@FreeBSD.org
+COMMENT=	Powerful Multilingual File Viewer
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/src
 GNU_CONFIGURE=	yes
 
 MAN1=		lv.1
+
+post-install:
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+	(cd ${WRKDIR}/${DISTNAME}; \
+	${INSTALL_DATA} *.html hello.sample* ${DOCSDIR})
+.endif
 
 .include <bsd.port.mk>
diff --exclude=CVS --exclude=*.log* -urN lv.orig/files/patch-Makefile.in lv/files/patch-Makefile.in
--- lv.orig/files/patch-Makefile.in	Thu Jan  1 09:00:00 1970
+++ lv/files/patch-Makefile.in	Sat Mar  1 21:48:17 2003
@@ -0,0 +1,23 @@
+--- Makefile.in.orig	Fri Jun 16 17:06:20 2000
++++ Makefile.in	Sat Mar  1 21:46:14 2003
+@@ -64,7 +64,7 @@
+ #
+ 
+ install::
+-	$(INSTALL) -s -o bin -g bin -m 555 lv $(bindir)
++	$(INSTALL) -s -m 555 lv $(bindir)
+ 	if test -f $(bindir)/lgrep; then \
+ 		/bin/rm -f $(bindir)/lgrep; \
+ 	fi
+@@ -72,9 +72,9 @@
+ 	if test ! -d $(lvlibdir); then \
+ 		mkdir -p $(lvlibdir); \
+ 	fi
+-	$(INSTALL) -o bin -g bin -m 444 $(srcdir)/../lv.hlp $(lvlibdir)
++	$(INSTALL) -m 444 $(srcdir)/../lv.hlp $(lvlibdir)
+ 	if test -d $(mandir) -a -d $(mandir)/man1; then \
+-		$(INSTALL) -o bin -g bin -m 444 $(srcdir)/../lv.1 $(mandir)/man1; \
++		$(INSTALL) -m 444 $(srcdir)/../lv.1 $(mandir)/man1; \
+ 	fi
+ 
+ uninstall::
diff --exclude=CVS --exclude=*.log* -urN lv.orig/pkg-comment lv/pkg-comment
--- lv.orig/pkg-comment	Tue Nov 24 13:45:00 1998
+++ lv/pkg-comment	Thu Jan  1 09:00:00 1970
@@ -1 +0,0 @@
-Powerful Multilingual File Viewer
diff --exclude=CVS --exclude=*.log* -urN lv.orig/pkg-plist lv/pkg-plist
--- lv.orig/pkg-plist	Tue Nov 24 13:45:00 1998
+++ lv/pkg-plist	Sat Mar  1 21:43:25 2003
@@ -1,4 +1,9 @@
 bin/lv
 bin/lgrep
 lib/lv/lv.hlp
+%%PORTDOCS%%%%DOCSDIR%%/hello.sample
+%%PORTDOCS%%%%DOCSDIR%%/hello.sample.gif
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/relnote.html
 @dirrm lib/lv
+%%PORTDOCS%%@dirrm %%DOCSDIR%%

--WIyZ46R2i8wDzkSu--
