From tkato@prontomail.com  Thu Nov  6 07:02:25 2003
Return-Path: <tkato@prontomail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 41C0616A4CE
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu,  6 Nov 2003 07:01:24 -0800 (PST)
Received: from hfep07.dion.ne.jp (hfep07.dion.ne.jp [203.181.105.73])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7542643FBD
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu,  6 Nov 2003 07:01:21 -0800 (PST)
	(envelope-from tkato@prontomail.com)
Received: from localhost ([61.204.120.61]) by hfep07.dion.ne.jp with SMTP
          id <20031106150117554.CIOS@hfep07.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Fri, 7 Nov 2003 00:01:17 +0900
Message-Id: <20031107000018.1a679c02.tkato@prontomail.com>
Date: Fri, 7 Nov 2003 00:00:18 +0900
From: KATO Tsuguru <tkato@prontomail.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: editors/ved to 1.6

>Number:         59006
>Category:       ports
>Synopsis:       Update port: editors/ved to 1.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 06 07:10:15 PST 2003
>Closed-Date:    Thu Nov 06 12:24:32 PST 2003
>Last-Modified:  Thu Nov 06 12:24:32 PST 2003
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 1.6

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/editors/ved/Makefile editors/ved/Makefile
--- /usr/ports/editors/ved/Makefile	Mon Nov  3 20:13:15 2003
+++ editors/ved/Makefile	Thu Nov  6 02:50:37 2003
@@ -6,34 +6,28 @@
 #
 
 PORTNAME=	ved
-PORTVERSION=	1.5
+PORTVERSION=	1.6
 CATEGORIES=	editors
-MASTER_SITES=	ftp://ftp.fokus.gmd.de/pub/unix/ved/
+MASTER_SITES=	ftp://ftp.berlios.de/pub/ved/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A small and fast screen-oriented editor.
+COMMENT=	A small and fast screen-oriented editor
 
+USE_REINPLACE=	yes
 USE_GMAKE=	yes
 
 MAN1=		ved.1
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN=         "Does not compile"
-.endif
-
 post-patch:
-.for F in ved.h ved.1
-	${SED} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/ved/$F \
-		> ${WRKSRC}/ved/foo
-	${MV} ${WRKSRC}/ved/foo ${WRKSRC}/ved/$F
+.for file in ved.h ved.1
+	${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/ved/${file}
 .endfor
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ved/OBJ/${ARCH}-freebsd-cc/ved \
 		${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/ved/ved.1 ${PREFIX}/man/man1
-	${INSTALL_DATA} ${WRKSRC}/ved/ved.help ${PREFIX}/share
+	${INSTALL_MAN} ${WRKSRC}/ved/ved.1 ${MANPREFIX}/man/man1
+	@${MKDIR} ${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/ved/ved.help ${DATADIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/editors/ved/distinfo editors/ved/distinfo
--- /usr/ports/editors/ved/distinfo	Mon Jan  1 23:12:47 2001
+++ editors/ved/distinfo	Thu Nov  6 02:54:59 2003
@@ -1 +1 @@
-MD5 (ved-1.5.tar.gz) = 20b6784188cfa2b6b0e436411e252515
+MD5 (ved-1.6.tar.gz) = e37113a29d0c832a0910acdf3cc5da75
diff -urN /usr/ports/editors/ved/files/patch-aa editors/ved/files/patch-aa
--- /usr/ports/editors/ved/files/patch-aa	Mon Jan  1 23:12:47 2001
+++ editors/ved/files/patch-aa	Thu Nov  6 02:45:42 2003
@@ -5,7 +5,7 @@
  #else
  #	define DEFSHELL	"/bin/sh"
 -#	define HELPFILE UC "/opt/schily/man/help/ved.help"
-+#	define HELPFILE UC "%%PREFIX%%/share/ved.help"
++#	define HELPFILE UC "%%DATADIR%%/ved.help"
  #endif
  
  /*
diff -urN /usr/ports/editors/ved/files/patch-ab editors/ved/files/patch-ab
--- /usr/ports/editors/ved/files/patch-ab	Mon Jan  1 23:12:47 2001
+++ editors/ved/files/patch-ab	Thu Nov  6 02:45:27 2003
@@ -13,8 +13,8 @@
 -.SH "SEE ALSO"
 -.BR change "(1),"
 -.BR match "(1)."
-+.B %%PREFIX%%/share/ved.help
-+The on-line help file is installed in %%PREFIX%%/share
++.B %%DATADIR%%/ved.help
++The on-line help file is installed in %%DATADIR%%
  .SH NOTES
  To edit files greater than 2 GB, you need to compile
  .B ved
diff -urN /usr/ports/editors/ved/pkg-plist editors/ved/pkg-plist
--- /usr/ports/editors/ved/pkg-plist	Mon Jan  1 23:12:47 2001
+++ editors/ved/pkg-plist	Thu Nov  6 02:50:59 2003
@@ -1,2 +1,3 @@
 bin/ved
-share/ved.help
+%%DATADIR%%/ved.help
+@dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Thu Nov 6 12:24:24 PST 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=59006 
>Unformatted:
