aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-12-15 15:24:25 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-12-15 15:24:25 +0000
commit444ad97ed3592cc9fd5d3b40b46389208126dc45 (patch)
treebac9d298275865f2da3c83c28f2e3d83da5020fa /editors
parent9f6c3c0d1bdd3090a5fe8c31288f34d29c9adcf5 (diff)
downloadports-444ad97ed3592cc9fd5d3b40b46389208126dc45.tar.gz
ports-444ad97ed3592cc9fd5d3b40b46389208126dc45.zip
Update to version 1.7
PR: ports/75111 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=124122
Diffstat (limited to 'editors')
-rw-r--r--editors/ved/Makefile14
-rw-r--r--editors/ved/distinfo4
-rw-r--r--editors/ved/files/patch-aa12
-rw-r--r--editors/ved/pkg-plist3
4 files changed, 17 insertions, 16 deletions
diff --git a/editors/ved/Makefile b/editors/ved/Makefile
index 915be9235088..5576eba09893 100644
--- a/editors/ved/Makefile
+++ b/editors/ved/Makefile
@@ -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_REINPLACE= yes
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 @@ BROKEN= "Does not compile on !i386 and !amd64"
.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 --git a/editors/ved/distinfo b/editors/ved/distinfo
index 976dbaec1b0e..6bf8b5511c97 100644
--- a/editors/ved/distinfo
+++ b/editors/ved/distinfo
@@ -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 --git a/editors/ved/files/patch-aa b/editors/ved/files/patch-aa
index fbd25576eacb..71308bf44148 100644
--- a/editors/ved/files/patch-aa
+++ b/editors/ved/files/patch-aa
@@ -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 --git a/editors/ved/pkg-plist b/editors/ved/pkg-plist
deleted file mode 100644
index b04b2a1b303e..000000000000
--- a/editors/ved/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-bin/ved
-%%DATADIR%%/ved.help
-@dirrm %%DATADIR%%