aboutsummaryrefslogtreecommitdiff
path: root/editors/ved
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2010-09-01 08:18:27 +0000
committerWen Heping <wen@FreeBSD.org>2010-09-01 08:18:27 +0000
commit6f7da3fb29d3d6b1bea0984ad333226d2707c25b (patch)
tree2bc4f58331446c5d48719ac555bc3d82e27148cf /editors/ved
parentce556b2ee34f37e92f666cb90fffca2f6fbbab76 (diff)
downloadports-6f7da3fb29d3d6b1bea0984ad333226d2707c25b.tar.gz
ports-6f7da3fb29d3d6b1bea0984ad333226d2707c25b.zip
Notes
Diffstat (limited to 'editors/ved')
-rw-r--r--editors/ved/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/editors/ved/Makefile b/editors/ved/Makefile
index b805308fa15e..3af72af37c37 100644
--- a/editors/ved/Makefile
+++ b/editors/ved/Makefile
@@ -7,13 +7,14 @@
PORTNAME= ved
PORTVERSION= 1.7
+PORTREVISION= 1
CATEGORIES= editors
MASTER_SITES= ftp://ftp.berlios.de/pub/ved/
MAINTAINER= ports@FreeBSD.org
COMMENT= A small and fast screen-oriented editor
-USE_GMAKE= yes
+BUILD_DEPENDS= smake:${PORTSDIR}/devel/smake
MAN1= ved.1
PLIST_FILES= bin/ved %%DATADIR%%/ved.help
@@ -21,10 +22,6 @@ PLIST_DIRS= %%DATADIR%%
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 800030
-BROKEN= does not compile
-.endif
-
.if ${ARCH} == "ia64"
BROKEN= does not compile on ia64
.endif
@@ -32,6 +29,9 @@ BROKEN= does not compile on ia64
post-patch:
${REINPLACE_CMD} -e 's|^COPTOPT=.*$$|COPTOPT= ${CFLAGS}|g ; \
s| gcc| ${CC}|g' ${WRKSRC}/RULES/i386-freebsd-cc.rul
+ ${REINPLACE_CMD} -e 's|fexecve|fexecve_ved|g' ${WRKSRC}/include/schily.h
+ ${REINPLACE_CMD} -e 's|fexecve|fexecve_ved|g' ${WRKSRC}/libschily/fexec.c
+
.for file in ved.h ved.1
${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/ved/${file}
.endfor
@@ -40,6 +40,9 @@ post-patch:
&& ${LN} -sf i386-freebsd-cc.rul ${arch}-freebsd-cc.rul
.endfor
+do-build:
+ (cd ${WRKSRC} && smake)
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ved/OBJ/${ARCH}-freebsd-cc/ved \
${PREFIX}/bin