Files
ports/textproc/pageedit/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

38 lines
1.0 KiB
Makefile

PORTNAME= pageedit
DISTVERSION= 1.9.20
CATEGORIES= textproc
PKGNAMESUFFIX= -${FLAVOR}
MAINTAINER= FreeBSD@Shaneware.biz
COMMENT= WYSIWYG visual XHTML editor
WWW= https://github.com/Sigil-Ebook/PageEdit
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING.txt
FLAVORS= qt6 qt5
FLAVOR?= qt6
qt5_CONFLICTS_INSTALL= pageedit-qt6
qt6_CONFLICTS_INSTALL= pageedit-qt5
USES= cmake qt:${FLAVOR:S/qt//} ${_USES_${FLAVOR}} desktop-file-utils
USE_GITHUB= yes
GH_ACCOUNT= Sigil-Ebook
GH_PROJECT= PageEdit
USE_QT= ${_USE_QT_${FLAVOR}}
USE_GL= ${_USE_GL_${FLAVOR}}
CMAKE_ARGS= ${_CMAKE_ARGS_${FLAVOR}}
_CMAKE_ARGS_qt6= -DUSE_QT6:BOOL=TRUE
_USES_qt6= gl
_USE_GL_qt6= gl opengl
_USE_QT_qt6= 5compat base webengine translations declarative webchannel positioning
_USE_QT_qt5= concurrent core declarative gui location network \
printsupport webchannel webengine widgets xml \
buildtools:build linguisttools:build qmake:build
_PLIST_QT5_qt5=
_PLIST_QT5_qt6= "@comment "
PLIST_SUB= QT5_ONLY=${_PLIST_QT5_${FLAVOR}}
.include <bsd.port.mk>