Here is an update to utfcpp 3.2.3.
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/devel/utfcpp/Makefile,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 Makefile
--- Makefile 11 Mar 2022 18:53:33 -0000 1.4
+++ Makefile 12 Jun 2023 02:53:10 -0000
@@ -1,30 +1,24 @@
COMMENT = simple, portable library for handling UTF-8 strings
-VERSION = 2.3.4
-DISTNAME = utf8_v${VERSION:S/./_/g}
-PKGNAME = utfcpp-${VERSION}
-REVISION = 0
-
+GH_ACCOUNT = nemtrif
+GH_PROJECT = utfcpp
+GH_TAGNAME = v3.2.3
CATEGORIES = devel
-HOMEPAGE = http://utfcpp.sourceforge.net/
-
MAINTAINER = Sergey Bronnikov <[email protected]>
-# BSD
+# Boost
PERMIT_PACKAGE = Yes
-MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=utfcpp/}
-EXTRACT_SUFX = .zip
+MODULES = devel/cmake
-NO_TEST = Yes
+COMPILER = base-clang ports-gcc
-WRKDIST = ${WRKDIR}
-NO_BUILD = Yes
+# ftest code missing from tarball's as well. So disable building tests.
+CONFIGURE_ARGS += -DUTF8_TESTS=OFF \
+ -DUTF8_SAMPLES=OFF
-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
+NO_BUILD = Yes
+NO_TEST = Yes
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/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 12 Jun 2023 01:01:30 -0000
@@ -1,2 +1,2 @@
-SHA256 (utf8_v2_3_4.zip) = M3POuyXYjGYqK5YMTVhdr5rns5YDHs14bnuzGxXQEO8=
-SIZE (utf8_v2_3_4.zip) = 22422
+SHA256 (utfcpp-3.2.3.tar.gz) = O6mw27/wh2e9/+jwOxDllso1EiiGJyLkydTRJtKGUlA=
+SIZE (utfcpp-3.2.3.tar.gz) = 28770
Index: pkg/PLIST
===================================================================
RCS file: /home/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 12 Jun 2023 01:07:52 -0000
@@ -1,6 +1,13 @@
-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/unchecked.h
+lib/cmake/
+lib/cmake/utf8cpp/
+lib/cmake/utf8cpp/utf8cppConfig.cmake
+lib/cmake/utf8cpp/utf8cppConfigVersion.cmake
+lib/cmake/utf8cpp/utf8cppTargets.cmake
And port adjustments.
Index: geo/osrm-backend/Makefile
===================================================================
RCS file: /home/cvs/ports/geo/osrm-backend/Makefile,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 Makefile
--- geo/osrm-backend/Makefile 11 Jun 2023 07:55:46 -0000 1.11
+++ geo/osrm-backend/Makefile 12 Jun 2023 02:39:43 -0000
@@ -7,7 +7,7 @@ COMMENT = high-performance road network
GH_ACCOUNT = Project-OSRM
GH_PROJECT = osrm-backend
GH_TAGNAME = v5.27.1
-
+REVISION = 0
CATEGORIES = geo
HOMEPAGE = https://project-osrm.org/
@@ -35,7 +35,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: /home/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 12 Jun 2023 02:42:59 -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
@@ -30,7 +31,7 @@ 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