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
33 lines
799 B
Makefile
33 lines
799 B
Makefile
PORTNAME= cmake
|
|
DISTVERSION= ${_CMAKE_VERSION}
|
|
CATEGORIES= devel
|
|
PKGNAMESUFFIX= -doc
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= HTML and Qt Creator helpfiles for CMake
|
|
WWW= https://www.cmake.org
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/Copyright.txt
|
|
|
|
BUILD_DEPENDS= sphinx-build:textproc/py-sphinx@${PY_FLAVOR}
|
|
|
|
USES= cmake python:build qt:6
|
|
USE_QT= sqldriver-sqlite:build tools:build
|
|
|
|
CMAKE_ARGS= -DCMAKE_DOC_DIR:STRING="${DOCSDIR_REL}" \
|
|
-DQHELPGENERATOR_EXECUTABLE=${QT_TOOLDIR}/qhelpgenerator
|
|
CMAKE_ON= SPHINX_HTML SPHINX_QTHELP
|
|
CMAKE_OFF= SPHINX_MAN
|
|
CMAKE_SOURCE_PATH= ${WRKSRC}/Utilities/Sphinx
|
|
|
|
ALL_TARGET= documentation
|
|
INSTALL_TARGET= install
|
|
|
|
NO_ARCH= yes
|
|
|
|
DISTINFO_FILE= ${.CURDIR:H}/cmake-core/distinfo
|
|
PLIST_SUB= CMAKEVERSION="${DISTVERSION:S/.//g:C/-.*//}"
|
|
|
|
.include <bsd.port.mk>
|