1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/editors/lite-xl/Makefile
Alexey Dokuchaev 25361c4c5e editors/lite-xl: the port had been updated to version 2.1.1
- Pull plugins and color themes to their respective latest commits
- Clean up the patch after most of it had been integrated upstream

Reported by:	portscout
2023-01-03 04:06:22 +00:00

37 lines
851 B
Makefile

PORTNAME= lite-xl
PORTVERSION= 2.1.1
DISTVERSIONPREFIX= v
CATEGORIES= editors
MAINTAINER= danfe@FreeBSD.org
COMMENT= Lightweight text editor written mostly in Lua
WWW= https://lite-xl.com/
LICENSE= MIT
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libpcre2-8.so:devel/pcre2
USES= lua:54 meson pkgconfig sdl
USE_SDL= sdl2
USE_GITHUB= yes
GH_PROJECT= ${PORTNAME}-colors:colors ${PORTNAME}-plugins:plugins
GH_TAGNAME= b3a9cdd:colors b1eb39c:plugins
OPTIONS_DEFINE= DOCS
PORTDOCS= changelog.md licenses.md
post-install:
${CP} -a ${WRKSRC_colors}/colors ${STAGEDIR}${DATADIR}
${MV} ${WRKSRC_plugins}/plugins/language_*.lua \
${STAGEDIR}${DATADIR}/plugins
${CP} -a ${WRKSRC_plugins}/plugins \
${STAGEDIR}${DATADIR}/plugins/extra
post-install-DOCS-on:
${INSTALL_DATA} ${WRKSRC}/changelog.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>