ports/75111: Update port: editors/ved to 1.7

KATO Tsuguru tkato432 at yahoo.com
Wed Dec 15 14:10:22 UTC 2004


>Number:         75111
>Category:       ports
>Synopsis:       Update port: editors/ved to 1.7
>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:   Wed Dec 15 14:10:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 1.7

Remove file:
pkg-plist

>How-To-Repeat:
>Fix:

Binary files /usr/ports/editors/ved/.vedtmp.1001 and editors/ved/.vedtmp.1001 differ
diff -urN /usr/ports/editors/ved/Makefile editors/ved/Makefile
--- /usr/ports/editors/ved/Makefile	Fri Feb 27 18:57:43 2004
+++ editors/ved/Makefile	Wed Dec 15 02:34:14 2004
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	ved
-PORTVERSION=	1.6
-PORTREVISION=	1
+PORTVERSION=	1.7
 CATEGORIES=	editors
 MASTER_SITES=	ftp://ftp.berlios.de/pub/ved/
 
@@ -18,6 +17,8 @@
 USE_GMAKE=	yes
 
 MAN1=		ved.1
+PLIST_FILES=	bin/ved %%DATADIR%%/ved.help
+PLIST_DIRS=	%%DATADIR%%
 
 .include <bsd.port.pre.mk>
 
@@ -26,12 +27,15 @@
 .endif
 
 post-patch:
+	${REINPLACE_CMD} -e 's|^COPTOPT=.*$$|COPTOPT= ${CFLAGS}|g ; \
+		 s| gcc| ${CC}|g' ${WRKSRC}/RULES/i386-freebsd-cc.rul 
 .for file in ved.h ved.1
 	${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/ved/${file}
 .endfor
-.if ${ARCH} == amd64
-	${CP} ${WRKSRC}/RULES/i386-freebsd-cc.rul ${WRKSRC}/RULES/amd64-freebsd-cc.rul
-.endif
+.for arch in alpha amd64 ia64 sparc64
+	cd ${WRKSRC}/RULES \
+		&& ${LN} -sf i386-freebsd-cc.rul ${arch}-freebsd-cc.rul
+.endfor
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ved/OBJ/${ARCH}-freebsd-cc/ved \
diff -urN /usr/ports/editors/ved/distinfo editors/ved/distinfo
--- /usr/ports/editors/ved/distinfo	Thu Jan 29 20:24:43 2004
+++ editors/ved/distinfo	Wed Dec 15 02:15:31 2004
@@ -1,2 +1,2 @@
-MD5 (ved-1.6.tar.gz) = e37113a29d0c832a0910acdf3cc5da75
-SIZE (ved-1.6.tar.gz) = 459310
+MD5 (ved-1.7.tar.gz) = fedd6bd289cb315db57b79a99d9acbb1
+SIZE (ved-1.7.tar.gz) = 512815
diff -urN /usr/ports/editors/ved/files/patch-aa editors/ved/files/patch-aa
--- /usr/ports/editors/ved/files/patch-aa	Fri Nov  7 10:59:41 2003
+++ editors/ved/files/patch-aa	Wed Dec 15 02:18:00 2004
@@ -1,11 +1,11 @@
---- ved/ved.h.orig	Wed Dec 27 13:32:40 2000
-+++ ved/ved.h		Sun Dec 31 18:41:11 2000
+--- ved/ved.h.orig	Sat Mar 13 06:33:40 2004
++++ ved/ved.h	Wed Dec 15 02:17:42 2004
 @@ -134,7 +134,7 @@
- #	define HELPFILE UC "/doc/cmds/ved.help"
+ #	define	HELPFILE UC "/doc/cmds/ved.help"
  #else
- #	define DEFSHELL	"/bin/sh"
--#	define HELPFILE UC "/opt/schily/man/help/ved.help"
-+#	define HELPFILE UC "%%DATADIR%%/ved.help"
+ #	define	DEFSHELL	"/bin/sh"
+-#	define	HELPFILE UC "/opt/schily/man/help/ved.help"
++#	define	HELPFILE UC "%%DATADIR%%/ved.help"
  #endif
  
  /*
diff -urN /usr/ports/editors/ved/pkg-plist editors/ved/pkg-plist
--- /usr/ports/editors/ved/pkg-plist	Fri Nov  7 10:59:42 2003
+++ editors/ved/pkg-plist	Thu Jan  1 09:00:00 1970
@@ -1,3 +0,0 @@
-bin/ved
-%%DATADIR%%/ved.help
- at dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list