aboutsummaryrefslogtreecommitdiff
path: root/editors/ved/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-06 20:24:17 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-06 20:24:17 +0000
commit5b7ca00e9d5d70675777239bfe5f13cafd71e232 (patch)
treee9ae3c3b24457ed4a30a7e18d00421adb81574c0 /editors/ved/Makefile
parent5c07faa16939b312257d55bbceba9c8be550f8ec (diff)
downloadports-5b7ca00e9d5d70675777239bfe5f13cafd71e232.tar.gz
ports-5b7ca00e9d5d70675777239bfe5f13cafd71e232.zip
- Update to version 1.6
- Unbreak on -current PR: 59006 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=93249
Diffstat (limited to 'editors/ved/Makefile')
-rw-r--r--editors/ved/Makefile26
1 files changed, 10 insertions, 16 deletions
diff --git a/editors/ved/Makefile b/editors/ved/Makefile
index 12cb82b04c17..f6eff33d66c5 100644
--- a/editors/ved/Makefile
+++ b/editors/ved/Makefile
@@ -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>