1 # Created by: Jason Evans <jasone@FreeBSD.org>
10 MAINTAINER= culot@FreeBSD.org
11 COMMENT= Small emacs-like text editor
15 LIB_DEPENDS= libgc.so:devel/boehm-gc
16 BUILD_DEPENDS= ${LOCALBASE}/bin/help2man:misc/help2man
18 USES= gmake ncurses perl5 pkgconfig compiler:c++11-lang
21 CONFIGURE_ARGS= --without-included-regex
23 PLIST_FILES= bin/${PORTNAME} \
24 man/man1/${PORTNAME}.1.gz \
28 %%DOCSDIR%%/dotzile.sample
30 CPPFLAGS+= -I${LOCALBASE}/include -isystem /usr/include/gnu
31 LDFLAGS+= -L${LOCALBASE}/lib -lgnuregex
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
39 .include <bsd.port.mk>