Index: head/graphics/exiv2/Makefile =================================================================== --- head/graphics/exiv2/Makefile (revision 541319) +++ head/graphics/exiv2/Makefile (revision 541320) @@ -1,38 +1,51 @@ # Created by: Michael Johnson # $FreeBSD$ PORTNAME= exiv2 -DISTVERSION= 0.27.2 +DISTVERSION= 0.27.3 DISTVERSIONSUFFIX= -Source PORTEPOCH= 1 CATEGORIES= graphics MASTER_SITES= https://www.exiv2.org/builds/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Exif, IPTC, and XMP metadata manipulation library and tools LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 +TEST_DEPENDS= bash:shells/bash -USES= cmake compiler:c++11-lang cpe gettext iconv pathfix localbase:ldflags +USES= cmake compiler:c++11-lang cpe gettext iconv pathfix \ + python:3.5+,test localbase:ldflags USE_LDCONFIG= yes +TEST_TARGET= tests + LDFLAGS+= -lintl CMAKE_ON= EXIV2_ENABLE_VIDEO \ EXIV2_ENABLE_NLS CMAKE_OFF= EXIV2_ENABLE_LIBXMP -OPTIONS_DEFINE= SAMPLE +OPTIONS_DEFINE= SAMPLE TEST OPTIONS_SUB= yes +TEST_IMPLIES= SAMPLE SAMPLE_DESC= Include sample applications SAMPLE_CMAKE_BOOL= EXIV2_BUILD_SAMPLES +TEST_CMAKE_BOOL= EXIV2_BUILD_UNIT_TESTS + PATHFIX_CMAKELISTSTXT= CMakeChecks.txt WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-Source + +post-patch: + @${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' \ + ${WRKSRC}/test/Makefile + @${REINPLACE_CMD} -e 's|python3|${PYTHON_CMD}|' \ + ${WRKSRC}/test/functions.source .include Index: head/graphics/exiv2/distinfo =================================================================== --- head/graphics/exiv2/distinfo (revision 541319) +++ head/graphics/exiv2/distinfo (revision 541320) @@ -1,3 +1,3 @@ -TIMESTAMP = 1571385425 -SHA256 (exiv2-0.27.2-Source.tar.gz) = 2652f56b912711327baff6dc0c90960818211cf7ab79bb5e1eb59320b78d153f -SIZE (exiv2-0.27.2-Source.tar.gz) = 27591236 +TIMESTAMP = 1593677376 +SHA256 (exiv2-0.27.3-Source.tar.gz) = a79f5613812aa21755d578a297874fb59a85101e793edc64ec2c6bd994e3e778 +SIZE (exiv2-0.27.3-Source.tar.gz) = 26447901 Index: head/graphics/exiv2/pkg-plist =================================================================== --- head/graphics/exiv2/pkg-plist (revision 541319) +++ head/graphics/exiv2/pkg-plist (revision 541320) @@ -1,110 +1,93 @@ %%SAMPLE%%bin/addmoddel -%%SAMPLE%%bin/convert-test -%%SAMPLE%%bin/easyaccess-test %%SAMPLE%%bin/exifcomment %%SAMPLE%%bin/exifdata -%%SAMPLE%%bin/exifdata-test %%SAMPLE%%bin/exifprint %%SAMPLE%%bin/exifvalue bin/exiv2 %%SAMPLE%%bin/exiv2json %%SAMPLE%%bin/geotag -%%SAMPLE%%bin/ini-test -%%SAMPLE%%bin/iotest %%SAMPLE%%bin/iptceasy %%SAMPLE%%bin/iptcprint -%%SAMPLE%%bin/iptctest -%%SAMPLE%%bin/key-test -%%SAMPLE%%bin/largeiptc-test %%SAMPLE%%bin/metacopy -%%SAMPLE%%bin/mmap-test %%SAMPLE%%bin/mrwthumb -%%SAMPLE%%bin/path-test -%%SAMPLE%%bin/prevtest -%%SAMPLE%%bin/stringto-test %%SAMPLE%%bin/taglist -%%SAMPLE%%bin/tiff-test -%%SAMPLE%%bin/werror-test -%%SAMPLE%%bin/write-test -%%SAMPLE%%bin/write2-test %%SAMPLE%%bin/xmpdump %%SAMPLE%%bin/xmpparse -%%SAMPLE%%bin/xmpparser-test %%SAMPLE%%bin/xmpprint %%SAMPLE%%bin/xmpsample include/exiv2/asfvideo.hpp include/exiv2/basicio.hpp include/exiv2/bigtiffimage.hpp include/exiv2/bmpimage.hpp include/exiv2/config.h include/exiv2/convert.hpp include/exiv2/cr2image.hpp include/exiv2/crwimage.hpp include/exiv2/datasets.hpp include/exiv2/easyaccess.hpp include/exiv2/epsimage.hpp include/exiv2/error.hpp include/exiv2/exif.hpp include/exiv2/exiv2.hpp include/exiv2/exiv2lib_export.h include/exiv2/exv_conf.h include/exiv2/futils.hpp include/exiv2/gifimage.hpp include/exiv2/http.hpp include/exiv2/image.hpp include/exiv2/ini.hpp include/exiv2/iptc.hpp include/exiv2/jp2image.hpp include/exiv2/jpgimage.hpp include/exiv2/matroskavideo.hpp include/exiv2/metadatum.hpp include/exiv2/mrwimage.hpp include/exiv2/orfimage.hpp include/exiv2/pgfimage.hpp include/exiv2/pngimage.hpp include/exiv2/preview.hpp include/exiv2/properties.hpp include/exiv2/psdimage.hpp include/exiv2/quicktimevideo.hpp include/exiv2/rafimage.hpp include/exiv2/riffvideo.hpp include/exiv2/rw2image.hpp include/exiv2/rwlock.hpp include/exiv2/slice.hpp include/exiv2/ssh.hpp include/exiv2/tags.hpp include/exiv2/tgaimage.hpp include/exiv2/tiffimage.hpp include/exiv2/types.hpp include/exiv2/utilsvideo.hpp include/exiv2/value.hpp include/exiv2/version.hpp include/exiv2/webpimage.hpp include/exiv2/xmp_exiv2.hpp include/exiv2/xmpsidecar.hpp lib/cmake/exiv2/exiv2Config-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/exiv2/exiv2Config.cmake lib/cmake/exiv2/exiv2ConfigVersion.cmake lib/libexiv2.so -lib/libexiv2.so.0.27.2 +lib/libexiv2.so.0.27.3 lib/libexiv2.so.27 lib/libexiv2-xmp.a libdata/pkgconfig/exiv2.pc man/man1/exiv2.1.gz share/locale/bs/LC_MESSAGES/exiv2.mo share/locale/ca/LC_MESSAGES/exiv2.mo share/locale/de/LC_MESSAGES/exiv2.mo share/locale/es/LC_MESSAGES/exiv2.mo share/locale/fi/LC_MESSAGES/exiv2.mo share/locale/fr/LC_MESSAGES/exiv2.mo share/locale/gl/LC_MESSAGES/exiv2.mo share/locale/ms/LC_MESSAGES/exiv2.mo share/locale/nl/LC_MESSAGES/exiv2.mo share/locale/pl/LC_MESSAGES/exiv2.mo share/locale/pt/LC_MESSAGES/exiv2.mo share/locale/ru/LC_MESSAGES/exiv2.mo share/locale/sk/LC_MESSAGES/exiv2.mo share/locale/sv/LC_MESSAGES/exiv2.mo share/locale/ug/LC_MESSAGES/exiv2.mo share/locale/uk/LC_MESSAGES/exiv2.mo share/locale/vi/LC_MESSAGES/exiv2.mo