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

(-)editors/mle/Makefile (+33 lines)
Line 0 Link Here
1
# Created by: Adam Saponara <as@php.net>
2
# $FreeBSD$
3
4
PORTNAME=	mle
5
DISTVERSION=	1.3
6
PORTREVISION=	1
7
CATEGORIES=	editors
8
9
MAINTAINER=	as@php.net
10
COMMENT=	Small, flexible, terminal-based text editor
11
12
LICENSE=	APACHE20
13
14
BUILD_DEPENDS=	${LOCALBASE}/include/uthash.h:devel/uthash
15
LIB_DEPENDS=	libpcre.so:devel/pcre \
16
		liblua-5.3.so:lang/lua53 \
17
		libtermbox.so:devel/termbox
18
19
USES=		gmake localbase:ldflags
20
USE_GITHUB=	yes
21
GH_ACCOUNT=	adsr
22
GH_TAGNAME=	c57bd18
23
24
PLIST_FILES=	bin/mle
25
26
post-patch:
27
	@${REINPLACE_CMD} -e 's|lua5.3|lua53|g' ${WRKSRC}/mle.h
28
	@${REINPLACE_CMD} -e 's|lua5.3|lua-5.3|g' ${WRKSRC}/Makefile
29
30
do-install:
31
	${INSTALL_PROGRAM} ${WRKSRC}/mle ${STAGEDIR}${PREFIX}/bin
32
33
.include <bsd.port.mk>
(-)editors/mle/pkg-descr (+7 lines)
Line 0 Link Here
1
mle is a small, flexible, terminal-based text editor written in C.
2
Notable features include: full Unicode support, syntax highlighting,
3
scriptable rc file, macros, search and replace (PCRE), window
4
splitting, multiple cursors, and integration with various shell
5
commands.
6
7
WWW: https://github.com/adsr/mle

Return to bug 240523