blob: ac1e9418e9faba3a829dc5a0e46105f1c2343e4c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
PORTNAME= exiv2
DISTVERSIONPREFIX= v
DISTVERSION= 0.28.2
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= graphics
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Exif, IPTC, and XMP metadata manipulation library and tools
WWW= https://www.exiv2.org/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libbrotlidec.so:archivers/brotli \
libexpat.so:textproc/expat2 \
libinih.so:devel/inih \
libpng.so:graphics/png
USES= cmake compiler:c++17-lang cpe dos2unix gettext-tools iconv \
localbase:ldflags pathfix shebangfix
DOS2UNIX_FILES= cmake/compilerFlags.cmake
SHEBANG_FILES= fuzz/mkdictionary.py tests/runner.py
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= Exiv2
CMAKE_ON= EXIV2_ENABLE_VIDEO
CMAKE_OFF= EXIV2_ENABLE_EXTERNAL_XMP
LDFLAGS_mips= -lintl
LDFLAGS_mips64= -lintl
OPTIONS_DEFINE= DOCS DOXYGEN NLS SAMPLE TEST
OPTIONS_SUB= yes
SAMPLE_DESC= Include sample applications
DOXYGEN_BUILD_DEPENDS= dot:graphics/graphviz \
doxygen:devel/doxygen
DOXYGEN_CMAKE_BOOL= EXIV2_BUILD_DOC
DOXYGEN_ALL_TARGET= all doc
DOXYGEN_PORTDOCS= *
NLS_USES= gettext-runtime
NLS_CMAKE_BOOL= EXIV2_ENABLE_NLS
SAMPLE_CMAKE_BOOL= EXIV2_BUILD_SAMPLES
TEST_LIB_DEPENDS= libgtest.so:devel/googletest
TEST_TEST_DEPENDS= bash:shells/bash
TEST_USES= python:build,test
TEST_CMAKE_BOOL= EXIV2_BUILD_UNIT_TESTS
TEST_CMAKE_ON= -DPython${PYTHON_MAJOR_VER}_EXECUTABLE:FILEPATH="${PYTHON_CMD}"
TEST_TEST_TARGET= test
TEST_IMPLIES= SAMPLE
.include <bsd.port.mk>
|