View | Details | Raw Unified | Return to bug 134281
Collapse All | Expand All

(-)editors/zile/Makefile (-16 / +6 lines)
Lines 6-44 Link Here
6
#
6
#
7
7
8
PORTNAME=	zile
8
PORTNAME=	zile
9
PORTVERSION=	2.3.4
9
PORTVERSION=	2.3.7
10
CATEGORIES=	editors
10
CATEGORIES=	editors
11
MASTER_SITES=	GNU
11
MASTER_SITES=	GNU
12
12
13
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
14
COMMENT=	Small emacs-like text editor
14
COMMENT=	Small emacs-like text editor
15
15
16
BUILD_DEPENDS=	help2man:${PORTSDIR}/misc/help2man
17
18
USE_LUA=	5.0+
19
LUA_COMPS=	lua:build
20
USE_GMAKE=	yes
16
USE_GMAKE=	yes
21
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
22
CONFIGURE_ENV=	LIBS="-lgnuregex" \
18
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
23
		ac_cv_path_LUA="${LUA_CMD}"
24
CONFIGURE_ARGS=	--without-included-regex
19
CONFIGURE_ARGS=	--without-included-regex
25
20
26
MAN1=		zile.1
21
MAN1=		zile.1
27
PLIST_FILES=	bin/zile %%DATADIR%%/FAQ %%DATADIR%%/dotzile.sample
22
PLIST_FILES=	bin/zile %%DATADIR%%/FAQ %%DATADIR%%/dotzile.sample
28
PLIST_DIRS=	%%DATADIR%%
23
PLIST_DIRS=	%%DATADIR%%
29
24
25
CPPFLAGS=	-isystem /usr/include/gnu
26
LDFLAGS=	-lgnuregex
27
30
post-patch:
28
post-patch:
31
	@${REINPLACE_CMD} -e \
29
	@${REINPLACE_CMD} -e \
32
		's|<regex\.h>|<gnu/regex.h>|g ; \
30
		's|-pedantic||g' ${WRKSRC}/configure
33
		 s|-pedantic||g' ${WRKSRC}/configure
34
	@${REINPLACE_CMD} -e \
35
		's|"regex\.h"|<gnu/regex.h>|g' ${WRKSRC}/src/search.c
36
	@${REINPLACE_CMD} -e \
31
	@${REINPLACE_CMD} -e \
37
		's|: install-exec-local|:|g' ${WRKSRC}/lib/Makefile.in
32
		's|: install-exec-local|:|g' ${WRKSRC}/lib/Makefile.in
38
33
39
pre-build:
40
	@${RM} -f ${WRKSRC}/src/tbl_funcs.h
41
	@(cd ${BUILD_WRKSRC}/src; ${SETENV} ${MAKE_ENV} ${GMAKE} \
42
		${MAKE_FLAGS} ${MAKEFILE} tbl_funcs.h)
43
44
.include <bsd.port.mk>
34
.include <bsd.port.mk>
(-)editors/zile/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (zile-2.3.4.tar.gz) = c296056172e99498f5e6459325f0c6b7
1
MD5 (zile-2.3.7.tar.gz) = 712f7d814efd18190c025d23f97a6902
2
SHA256 (zile-2.3.4.tar.gz) = dd85ae2312eb0e8d2b791b57856c51f2951b73d472f09ce6caa7af4b6f9140d4
2
SHA256 (zile-2.3.7.tar.gz) = 41bf96ce96bb79c51fac376b521d4ffadefafad92a0d44db15a4426e89c7d111
3
SIZE (zile-2.3.4.tar.gz) = 622075
3
SIZE (zile-2.3.7.tar.gz) = 621989

Return to bug 134281