aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/zile/Makefile16
-rw-r--r--editors/zile/distinfo6
2 files changed, 16 insertions, 6 deletions
diff --git a/editors/zile/Makefile b/editors/zile/Makefile
index 8e826d2d52c1..f87620c8ea66 100644
--- a/editors/zile/Makefile
+++ b/editors/zile/Makefile
@@ -6,19 +6,24 @@
#
PORTNAME= zile
-PORTVERSION= 2.3.0
+PORTVERSION= 2.3.4
CATEGORIES= editors
MASTER_SITES= GNU
MAINTAINER= ports@FreeBSD.org
COMMENT= Small emacs-like text editor
+BUILD_DEPENDS= help2man:${PORTSDIR}/misc/help2man
+
+USE_LUA= 5.0+
+LUA_COMPS= lua:build
+USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= LIBS="-lgnuregex"
+CONFIGURE_ENV= LIBS="-lgnuregex" \
+ ac_cv_path_LUA="${LUA_CMD}"
CONFIGURE_ARGS= --without-included-regex
MAN1= zile.1
-INFO= zile
PLIST_FILES= bin/zile %%DATADIR%%/FAQ %%DATADIR%%/dotzile.sample
PLIST_DIRS= %%DATADIR%%
@@ -31,4 +36,9 @@ post-patch:
@${REINPLACE_CMD} -e \
's|: install-exec-local|:|g' ${WRKSRC}/lib/Makefile.in
+pre-build:
+ @${RM} -f ${WRKSRC}/src/tbl_funcs.h
+ @(cd ${BUILD_WRKSRC}/src; ${SETENV} ${MAKE_ENV} ${GMAKE} \
+ ${MAKE_FLAGS} ${MAKEFILE} tbl_funcs.h)
+
.include <bsd.port.mk>
diff --git a/editors/zile/distinfo b/editors/zile/distinfo
index 324f40ef5a1e..900a697e4475 100644
--- a/editors/zile/distinfo
+++ b/editors/zile/distinfo
@@ -1,3 +1,3 @@
-MD5 (zile-2.3.0.tar.gz) = c35fd88c9045eaffb83aa46abe7e9d27
-SHA256 (zile-2.3.0.tar.gz) = 4cd7208cea60218fc84ee7f59504e1460524ec1f9a7bbfb79d0ee3a756a6ee96
-SIZE (zile-2.3.0.tar.gz) = 706902
+MD5 (zile-2.3.4.tar.gz) = c296056172e99498f5e6459325f0c6b7
+SHA256 (zile-2.3.4.tar.gz) = dd85ae2312eb0e8d2b791b57856c51f2951b73d472f09ce6caa7af4b6f9140d4
+SIZE (zile-2.3.4.tar.gz) = 622075