Here is an update to utfcpp 4.0.5. Upstream has placed the headers into a subdir as the port was doing on its own but utilizing a different directory name, so use the same name.
Version 4 This is a major release that includes the following new features: - Utf16 strings codepoint iteration and appending: #91 (special thanks to @ceztko) - Support for u8string (thanks to @XCI9) - find_invalid and is_valid for C-style strings Index: Makefile =================================================================== RCS file: /cvs/ports/devel/utfcpp/Makefile,v retrieving revision 1.6 diff -u -p -u -p -r1.6 Makefile --- Makefile 7 Nov 2023 14:19:27 -0000 1.6 +++ Makefile 23 Mar 2024 23:56:22 -0000 @@ -1,30 +1,21 @@ COMMENT = simple, portable library for handling UTF-8 strings -VERSION = 2.3.4 -DISTNAME = utf8_v${VERSION:S/./_/g} -PKGNAME = utfcpp-${VERSION} -REVISION = 1 - +GH_ACCOUNT = nemtrif +GH_PROJECT = utfcpp +GH_TAGNAME = v4.0.5 CATEGORIES = devel -HOMEPAGE = https://utfcpp.sourceforge.net/ - MAINTAINER = Sergey Bronnikov <este...@gmail.com> -# BSD +# Boost PERMIT_PACKAGE = Yes -SITES = ${SITE_SOURCEFORGE:=utfcpp/} -EXTRACT_SUFX = .zip - -NO_TEST = Yes - -WRKDIST = ${WRKDIR} NO_BUILD = Yes +NO_TEST = Yes do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/include/utfcpp/utf8 - ${INSTALL_DATA} ${WRKDIR}/source/*.* ${PREFIX}/include/utfcpp - ${INSTALL_DATA} ${WRKDIR}/source/utf8/*.* ${PREFIX}/include/utfcpp/utf8 + ${INSTALL_DATA_DIR} ${PREFIX}/include/utf8cpp/utf8 + ${INSTALL_DATA} ${WRKSRC}/source/*.h ${PREFIX}/include/utf8cpp + ${INSTALL_DATA} ${WRKSRC}/source/utf8/*.h ${PREFIX}/include/utf8cpp/utf8 .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /cvs/ports/devel/utfcpp/distinfo,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 distinfo --- distinfo 12 Aug 2016 09:20:01 -0000 1.1.1.1 +++ distinfo 23 Mar 2024 23:56:22 -0000 @@ -1,2 +1,2 @@ -SHA256 (utf8_v2_3_4.zip) = M3POuyXYjGYqK5YMTVhdr5rns5YDHs14bnuzGxXQEO8= -SIZE (utf8_v2_3_4.zip) = 22422 +SHA256 (utfcpp-4.0.5.tar.gz) = /8ZooxDndgfTk/PBizJxXyI9oerExNbgV5oR345rWc8= +SIZE (utfcpp-4.0.5.tar.gz) = 34139 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/utfcpp/pkg/PLIST,v retrieving revision 1.3 diff -u -p -u -p -r1.3 PLIST --- pkg/PLIST 11 Mar 2022 18:53:33 -0000 1.3 +++ pkg/PLIST 23 Mar 2024 23:56:22 -0000 @@ -1,6 +1,9 @@ -include/utfcpp/ -include/utfcpp/utf8/ -include/utfcpp/utf8.h -include/utfcpp/utf8/checked.h -include/utfcpp/utf8/core.h -include/utfcpp/utf8/unchecked.h +include/utf8cpp/ +include/utf8cpp/utf8/ +include/utf8cpp/utf8.h +include/utf8cpp/utf8/checked.h +include/utf8cpp/utf8/core.h +include/utf8cpp/utf8/cpp11.h +include/utf8cpp/utf8/cpp17.h +include/utf8cpp/utf8/cpp20.h +include/utf8cpp/utf8/unchecked.h And port adjustments. Index: geo/osrm-backend/Makefile =================================================================== RCS file: /cvs/ports/geo/osrm-backend/Makefile,v retrieving revision 1.14 diff -u -p -u -p -r1.14 Makefile --- geo/osrm-backend/Makefile 17 Nov 2023 10:57:36 -0000 1.14 +++ geo/osrm-backend/Makefile 23 Mar 2024 22:23:02 -0000 @@ -7,6 +7,7 @@ COMMENT = high-performance road network GH_ACCOUNT = Project-OSRM GH_PROJECT = osrm-backend GH_COMMIT = 31e31a63d062fb804f5f4695ed3036ca7a269ead +REVISION = 0 DISTNAME = osrm-backend-5.27.1pl0 CATEGORIES = geo @@ -29,7 +30,7 @@ MODULES = devel/cmake \ lang/lua MODLUA_VERSION = 5.3 BUILD_DEPENDS = devel/protozero \ - devel/utfcpp \ + devel/utfcpp>=4.0.5 \ geo/libosmium LIB_DEPENDS = archivers/bzip2 \ devel/boost \ @@ -38,7 +39,7 @@ LIB_DEPENDS = archivers/bzip2 \ CONFIGURE_ARGS = -DOSMIUM_INCLUDE_DIR=${LOCALBASE}/include/osmium \ -DENABLE_CCACHE=Off -CXXFLAGS += -I${LOCALBASE}/include/utfcpp +CXXFLAGS += -I${LOCALBASE}/include/utf8cpp # Requires network access, and http access to sample osrm data is 403'd NO_TEST = Yes Index: productivity/ledger/Makefile =================================================================== RCS file: /cvs/ports/productivity/ledger/Makefile,v retrieving revision 1.35 diff -u -p -u -p -r1.35 Makefile --- productivity/ledger/Makefile 3 May 2023 11:00:46 -0000 1.35 +++ productivity/ledger/Makefile 23 Mar 2024 22:23:02 -0000 @@ -3,6 +3,7 @@ COMMENT = command line double-entry acc GH_TAGNAME = v3.3.2 GH_ACCOUNT = ledger GH_PROJECT = ledger +REVISION = 0 SHARED_LIBS += ledger 1.0 # 3.0 @@ -23,14 +24,14 @@ MODULES = devel/cmake \ lang/python COMPILER = base-clang ports-gcc -BUILD_DEPENDS = devel/utfcpp \ +BUILD_DEPENDS = devel/utfcpp>=4.0.5 \ print/texinfo LIB_DEPENDS = devel/boost \ devel/gmp \ devel/mpfr -CONFIGURE_ARGS= -DUTFCPP_PATH=${LOCALBASE}/include/utfcpp +CONFIGURE_ARGS= -DUTFCPP_PATH=${LOCALBASE}/include/utf8cpp # Use this to make sure version.info gets generated, the actual # installation bits are removed as the remaining .info files are