mirror of
https://github.com/openbsd/ports.git
synced 2026-06-19 16:05:12 +02:00
43 lines
932 B
Makefile
43 lines
932 B
Makefile
COMMENT = Unicode support to C++ with simple and easy APIs
|
|
|
|
GH_ACCOUNT = contour-terminal
|
|
GH_PROJECT = libunicode
|
|
GH_TAGNAME = v0.4.0
|
|
REVISION = 1
|
|
|
|
SHARED_LIBS = unicode 0.0 # 0.0
|
|
SHARED_LIBS += unicode_loader 0.0 # 0.0
|
|
SHARED_LIBS += unicode_ucd 0.0 # 0.0
|
|
|
|
CATEGORIES = textproc
|
|
|
|
MAINTAINER = SASANO Takayoshi <uaa@openbsd.org>
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB = ${COMPILER_LIBCXX} c m
|
|
|
|
# C++20
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
MODULES = devel/cmake \
|
|
lang/python
|
|
|
|
BUILD_DEPENDS = devel/fmt \
|
|
textproc/unicode/ucd
|
|
|
|
CONFIGURE_STYLE = cmake
|
|
|
|
# to avoid "Can not find target to add properties to: Catch2" error,
|
|
# set LIBUNICODE_TESTING=OFF (and Catch2 is not used)
|
|
|
|
CONFIGURE_ARGS = -DLIBUNICODE_TESTING=OFF \
|
|
-DLIBUNICODE_UCD_DIR=${LOCALBASE}/share/unicode/ucd
|
|
|
|
.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "aarch64"
|
|
CONFIGURE_ARGS += -DLIBUNICODE_USE_INTRINSICS=OFF
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|