Files
ports/editors/tea/Makefile
T
Tijl Coosemans b6ec06f079 */*: Use C.UTF-8 locale
Ports 02f27a83b4 fixed the ports tree to the C locale so it would work
correctly in environments where users use a locale that isn't compatible
with the C locale, e.g. xx_YY.UTF-8 where [A-Z] includes more than just
upper case letters.  USE_LOCALE was introduced to let ports use another
locale if they needed it.  The C.UTF-8 locale was created later on to be
mostly compatible with the C locale.

Switch the ports tree locale to C.UTF-8 and remove USE_LOCALE.  The
world has moved to Unicode so all ports either require it or know how to
build correctly in a Unicode environment.

PR:		295945
Exp-run by:	antoine
2026-06-30 22:03:57 +02:00

40 lines
842 B
Makefile

PORTNAME= tea
PORTVERSION= 63.3.1
PORTREVISION= 1
CATEGORIES= editors
MAINTAINER= danilo@FreeBSD.org
COMMENT= Simple and powerful Qt-based text editor
WWW= https://tea.ourproject.org/
LICENSE= GPLv3
USES= cmake desktop-file-utils gl localbase:ldflags pkgconfig:build qt:6
OPTIONS_DEFINE= DOCS
OPTIONS_GROUP= SPELL
OPTIONS_GROUP_SPELL= ASPELL HUNSPELL
OPTIONS_DEFAULT= ASPELL HUNSPELL
SPELL_DESC= Spell checker backend
USE_QT= base
USE_GL= opengl
USE_GITHUB= yes
GH_ACCOUNT= psemiletov
GH_PROJECT= ${PORTNAME}-qt
CMAKE_ARGS+= -DUSE_PRINTER=ON
ASPELL_LIB_DEPENDS= libaspell.so:textproc/aspell
ASPELL_CMAKE_BOOL= USE_ASPELL
HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell
HUNSPELL_CMAKE_BOOL= USE_HUNSPELL
post-install:
(cd ${WRKSRC}/manuals \
&& ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>