ports/59006: Update port: editors/ved to 1.6

KATO Tsuguru tkato at prontomail.com
Thu Nov 6 15:10:30 UTC 2003


>Number:         59006
>Category:       ports
>Synopsis:       Update port: editors/ved to 1.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 06 07:10:15 PST 2003
>Closed-Date:
>Last-Modified:
>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 at 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
+ at dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list