svn commit: r557813 - in head/devel/utf8cpp: . files

Dima Panov fluffy at FreeBSD.org
Sat Dec 12 11:15:01 UTC 2020


Author: fluffy
Date: Sat Dec 12 11:15:00 2020
New Revision: 557813
URL: https://svnweb.freebsd.org/changeset/ports/557813

Log:
  devel/utf8cpp: update to 3.1.2 release
  
  Project moved to github
  Release notes: https://github.com/nemtrif/utfcpp/releases
  
  PR:		251402
  Submitted by:	fluffy
  Approved by:	maintainer (timeout, >2w)

Added:
  head/devel/utf8cpp/files/
  head/devel/utf8cpp/files/patch-CMakeLists.txt   (contents, props changed)
Modified:
  head/devel/utf8cpp/Makefile
  head/devel/utf8cpp/distinfo

Modified: head/devel/utf8cpp/Makefile
==============================================================================
--- head/devel/utf8cpp/Makefile	Sat Dec 12 11:11:22 2020	(r557812)
+++ head/devel/utf8cpp/Makefile	Sat Dec 12 11:15:00 2020	(r557813)
@@ -2,26 +2,25 @@
 # $FreeBSD$
 
 PORTNAME=	utf8cpp
-PORTVERSION=	2.3.4
+PORTVERSION=	3.1.2
+DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
-MASTER_SITES=	SF/utfcpp/${PORTNAME:tl}_2x/Release%20${PORTVERSION}/
-DISTNAME=	utf8_v${PORTVERSION:S/./_/g}
 
 MAINTAINER=	k at stereochro.me
 COMMENT=	Simple, portable, lightweight library for handling UTF-8 strings
 
 LICENSE=	BSL
 
-USES=		zip
-NO_WRKSUBDIR=	yes
-NO_BUILD=	yes
+USES=		cmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	nemtrif
+GH_PROJECT=	utfcpp
 
-PLIST_FILES=	include/utf8.h \
-		include/utf8/checked.h \
-		include/utf8/core.h \
-		include/utf8/unchecked.h
-
-do-install:
-	(cd ${WRKSRC}/source; ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include)
+PLIST_FILES=	include/utf8cpp/utf8.h \
+		include/utf8cpp/utf8/checked.h \
+		include/utf8cpp/utf8/core.h \
+		include/utf8cpp/utf8/cpp11.h \
+		include/utf8cpp/utf8/unchecked.h \
+		lib/cmake/utf8cpp/utf8cppConfig.cmake
 
 .include <bsd.port.mk>

Modified: head/devel/utf8cpp/distinfo
==============================================================================
--- head/devel/utf8cpp/distinfo	Sat Dec 12 11:11:22 2020	(r557812)
+++ head/devel/utf8cpp/distinfo	Sat Dec 12 11:15:00 2020	(r557813)
@@ -1,2 +1,3 @@
-SHA256 (utf8_v2_3_4.zip) = 3373cebb25d88c662a2b960c4d585daf9ae7b396031ecd786e7bb31b15d010ef
-SIZE (utf8_v2_3_4.zip) = 22422
+TIMESTAMP = 1606387752
+SHA256 (nemtrif-utfcpp-v3.1.2_GH0.tar.gz) = fea3bfa39fb8bd7368077ea5e1e0db9a8951f7e6fb6d9400b00ab3d92b807c6d
+SIZE (nemtrif-utfcpp-v3.1.2_GH0.tar.gz) = 26388

Added: head/devel/utf8cpp/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/utf8cpp/files/patch-CMakeLists.txt	Sat Dec 12 11:15:00 2020	(r557813)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2020-09-27 18:26:57 UTC
++++ CMakeLists.txt
+@@ -36,7 +36,7 @@ if(UTF8_SAMPLES)
+     target_link_libraries(docsample PRIVATE utf8::cpp)
+ endif()
+ 
+-if(UTF8_TESTS)
++if(0)
+     enable_testing()
+     add_subdirectory(extern/gtest)
+     add_subdirectory(tests)


More information about the svn-ports-all mailing list