b6ec06f079
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
41 lines
971 B
Makefile
41 lines
971 B
Makefile
PORTNAME= xca
|
|
PORTVERSION= 2.9.0
|
|
CATEGORIES= security
|
|
MASTER_SITES= https://github.com/chris2511/xca/releases/download/RELEASE.${PORTVERSION}/
|
|
|
|
MAINTAINER= madpilot@FreeBSD.org
|
|
COMMENT= Graphical certification authority
|
|
WWW= https://hohnstaedt.de/xca
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
|
|
FLAVORS= qt5 qt6
|
|
FLAVOR?= ${FLAVORS:[1]}
|
|
FLAVORS_SUB= yes
|
|
qt5_PKGNAMESUFFIX=
|
|
qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6
|
|
qt6_PKGNAMESUFFIX= -qt6
|
|
qt6_CONFLICTS_INSTALL= ${PORTNAME}
|
|
|
|
USES= cmake compiler:c++17-lang desktop-file-utils localbase \
|
|
pkgconfig shared-mime-info ssl
|
|
|
|
.if ${FLAVOR} == qt5
|
|
USES+= qt:5
|
|
USE_QT= buildtools:build core gui help linguist:build qmake sql \
|
|
testlib:build widgets
|
|
CMAKE_ARGS= -DQTFIXEDVERSION:STRING=Qt5
|
|
.else
|
|
USES+= gl qt:6
|
|
USE_GL= opengl
|
|
USE_QT= base sqldriver-sqlite tools
|
|
CMAKE_ARGS= -DQTFIXEDVERSION:STRING=Qt6
|
|
.endif
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx
|
|
|
|
.include <bsd.port.mk>
|