Files
2025-09-07 16:33:45 +00:00

39 lines
946 B
Makefile

COMMENT = Color Transformation Language interpreter
GH_ACCOUNT = ampas
GH_PROJECT = CTL
GH_TAGNAME = ctl-1.5.3
DISTNAME = ${GH_TAGNAME}
REVISION = 3
SHARED_LIBS += IlmCtl 2.0 # .2.0
SHARED_LIBS += IlmCtlMath 1.0 # .2.0
SHARED_LIBS += IlmCtlSimd 1.0 # .2.0
SHARED_LIBS += IlmImfCtl 1.0 # 1.5
CATEGORIES = graphics lang
HOMEPAGE = https://github.com/ampas/CTL/
# 3-clause BSD license
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} Iex-3_4 IlmThread-3_4 Imath-3_2
WANTLIB += OpenEXR-3_4 OpenEXRCore-3_4 c m tiff
COMPILER = base-clang ports-gcc base-gcc
CXXFLAGS_base-clang = -std=c++14
MODULES = devel/cmake
LIB_DEPENDS = graphics/openexr \
math/imath \
graphics/tiff
CONFIGURE_ARGS += -DBUILD_SHARED_LIBS=ON
# Fix build with OpenEXR>=3 (Imath split)
CXXFLAGS += -I${LOCALBASE}/include/OpenEXR -I${LOCALBASE}/include/Imath
.include <bsd.port.mk>