1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00

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)
This commit is contained in:
Dima Panov 2020-12-12 11:15:00 +00:00
parent ebf9fc51e6
commit 56a38703dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=557813
3 changed files with 26 additions and 15 deletions

View File

@ -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@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>

View File

@ -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

View File

@ -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)