diff options
Diffstat (limited to 'devel/libunicode-contour')
-rw-r--r-- | devel/libunicode-contour/Makefile | 49 | ||||
-rw-r--r-- | devel/libunicode-contour/distinfo | 3 | ||||
-rw-r--r-- | devel/libunicode-contour/pkg-descr | 3 | ||||
-rw-r--r-- | devel/libunicode-contour/pkg-plist | 35 |
4 files changed, 90 insertions, 0 deletions
diff --git a/devel/libunicode-contour/Makefile b/devel/libunicode-contour/Makefile new file mode 100644 index 000000000000..2f74189f4052 --- /dev/null +++ b/devel/libunicode-contour/Makefile @@ -0,0 +1,49 @@ +PORTNAME= libunicode +DISTVERSIONPREFIX= v +DISTVERSION= 0.6.0 +PORTREVISION= 1 +CATEGORIES= devel +PKGNAMESUFFIX= -contour + +MAINTAINER= tagattie@FreeBSD.org +COMMENT= Modern C++20 Unicode library +WWW= https://github.com/contour-terminal/libunicode + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${LOCALBASE}/lib/cmake/Catch2/Catch2Config.cmake:devel/catch2 \ + UCD>=16.0.0,1:textproc/UCD + +USES= cmake:testing + +USE_GITHUB= yes +GH_ACCOUNT= contour-terminal + +USE_LDCONFIG= ${PREFIX}/lib/contour + +CMAKE_ARGS= -DLIBUNICODE_UCD_DIR:STRING=${LOCALBASE}/share/unicode/ucd \ + ${CMAKE_ARGS_${ARCH}} +CMAKE_ARGS_i386= -DLIBUNICODE_SIMD_IMPLEMENTATION:STRING=std +CMAKE_ARGS_powerpc64= -DLIBUNICODE_SIMD_IMPLEMENTATION:STRING=sse2 +CMAKE_ARGS_powerpc64le= -DLIBUNICODE_SIMD_IMPLEMENTATION:STRING=sse2 +CXXFLAGS_powerpc64= -DNO_WARN_X86_INTRINSICS -D__SSE2__ -mvsx +CXXFLAGS_powerpc64le= -DNO_WARN_X86_INTRINSICS -D__SSE2__ + +REINPLACE_ARGS= -i '' + +PORTDOCS= README.md TODO.md + +OPTIONS_DEFINE= DOCS + +post-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/lib/contour + ${MV} ${STAGEDIR}${PREFIX}/lib/*.* ${STAGEDIR}${PREFIX}/lib/contour + ${REINPLACE_CMD} -e 's|$${_IMPORT_PREFIX}/lib/|$${_IMPORT_PREFIX}/lib/contour/|' \ + ${STAGEDIR}${PREFIX}/lib/cmake/libunicode/libunicode-targets-${CMAKE_BUILD_TYPE:tl}.cmake + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/devel/libunicode-contour/distinfo b/devel/libunicode-contour/distinfo new file mode 100644 index 000000000000..d0af254b4023 --- /dev/null +++ b/devel/libunicode-contour/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1748784770 +SHA256 (contour-terminal-libunicode-v0.6.0_GH0.tar.gz) = 0c217f8264000f1b8c36e78969cb9cf91ac97de937cc141ab78e6b1ad7f404ef +SIZE (contour-terminal-libunicode-v0.6.0_GH0.tar.gz) = 92750 diff --git a/devel/libunicode-contour/pkg-descr b/devel/libunicode-contour/pkg-descr new file mode 100644 index 000000000000..643f6912ad33 --- /dev/null +++ b/devel/libunicode-contour/pkg-descr @@ -0,0 +1,3 @@ +The goal of this library is to bring painless unicode support to C++ +with simple and easy to understand APIs. The API naming conventions +are chosen to look familiar to those using the C++ standard libary. diff --git a/devel/libunicode-contour/pkg-plist b/devel/libunicode-contour/pkg-plist new file mode 100644 index 000000000000..d8de5d928c9b --- /dev/null +++ b/devel/libunicode-contour/pkg-plist @@ -0,0 +1,35 @@ +bin/unicode-query +include/libunicode/capi.h +include/libunicode/codepoint_properties.h +include/libunicode/convert.h +include/libunicode/emoji_segmenter.h +include/libunicode/grapheme_segmenter.h +include/libunicode/intrinsics.h +include/libunicode/multistage_table_generator.h +include/libunicode/multistage_table_view.h +include/libunicode/run_segmenter.h +include/libunicode/scan.h +include/libunicode/scoped_timer.h +include/libunicode/script_segmenter.h +include/libunicode/support.h +include/libunicode/ucd.h +include/libunicode/ucd_enums.h +include/libunicode/ucd_fmt.h +include/libunicode/ucd_ostream.h +include/libunicode/utf8.h +include/libunicode/utf8_grapheme_segmenter.h +include/libunicode/width.h +include/libunicode/word_segmenter.h +lib/cmake/libunicode/libunicode-config-version.cmake +lib/cmake/libunicode/libunicode-config.cmake +lib/cmake/libunicode/libunicode-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/libunicode/libunicode-targets.cmake +lib/contour/libunicode.so +lib/contour/libunicode.so.0.6 +lib/contour/libunicode.so.0.6.0 +lib/contour/libunicode_loader.so +lib/contour/libunicode_loader.so.0.6 +lib/contour/libunicode_loader.so.0.6.0 +lib/contour/libunicode_ucd.so +lib/contour/libunicode_ucd.so.0.6 +lib/contour/libunicode_ucd.so.0.6.0 |