42 lines
847 B
Makefile
42 lines
847 B
Makefile
COMMENT= image metadata manipulation
|
|
|
|
CATEGORIES= graphics devel
|
|
|
|
GH_ACCOUNT= Exiv2
|
|
GH_PROJECT= exiv2
|
|
GH_TAGNAME= v0.28.0
|
|
EPOCH= 0
|
|
|
|
SHARED_LIBS += exiv2 13.0
|
|
|
|
HOMEPAGE= https://www.exiv2.org/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} brotlicommon brotlidec c expat iconv
|
|
WANTLIB += intl m z
|
|
|
|
COMPILER= base-clang ports-gcc base-gcc
|
|
|
|
MODULES= devel/cmake
|
|
|
|
BUILD_DEPENDS= devel/gettext,-tools
|
|
|
|
LIB_DEPENDS= archivers/brotli \
|
|
devel/gettext,-runtime
|
|
|
|
CONFIGURE_ARGS= -DEXIV2_ENABLE_NLS=ON \
|
|
-DEXIV2_ENABLE_INIH=OFF
|
|
|
|
FIX_CRLF_FILES= cmake/compilerFlags.cmake
|
|
|
|
# XXX ninja: error: unknown target 'test', did you mean 'tests'?
|
|
NO_TEST= Yes
|
|
|
|
.include <bsd.port.mk>
|
|
.if ${USE_CCACHE:L} == "yes"
|
|
CONFIGURE_ARGS += -DBUILD_WITH_CCACHE=0N
|
|
.endif
|