Update editors/focuswriter to version 1.5.7
[dports.git] / editors / zile / Makefile
1 # Created by: Jason Evans <jasone@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       zile
5 PORTVERSION=    2.4.11
6 PORTREVISION=   1
7 CATEGORIES=     editors
8 MASTER_SITES=   GNU
9
10 MAINTAINER=     culot@FreeBSD.org
11 COMMENT=        Small emacs-like text editor
12
13 LICENSE=        GPLv3
14
15 LIB_DEPENDS=    libgc.so:devel/boehm-gc
16 BUILD_DEPENDS=  ${LOCALBASE}/bin/help2man:misc/help2man
17
18 USES=           gmake ncurses perl5 pkgconfig compiler:c++11-lang
19 USE_PERL5=      build
20 GNU_CONFIGURE=  yes
21 CONFIGURE_ARGS= --without-included-regex
22
23 PLIST_FILES=    bin/${PORTNAME} \
24                 man/man1/${PORTNAME}.1.gz \
25                 %%DOCSDIR%%/AUTHORS \
26                 %%DOCSDIR%%/FAQ \
27                 %%DOCSDIR%%/NEWS \
28                 %%DOCSDIR%%/dotzile.sample
29
30 CPPFLAGS+=      -I${LOCALBASE}/include -isystem /usr/include/gnu
31 LDFLAGS+=       -L${LOCALBASE}/lib -lgnuregex
32
33 post-patch:
34         @${REINPLACE_CMD} -e \
35                 '/need_charset_alias=/s|true|false|g' ${WRKSRC}/lib/Makefile.in
36         @${REINPLACE_CMD} -e \
37                 's|@pkgdatadir@|${DOCSDIR}|' ${WRKSRC}/doc/man-extras
38
39 .include <bsd.port.mk>