Index: head/graphics/exiv2/Makefile =================================================================== --- head/graphics/exiv2/Makefile (revision 550174) +++ head/graphics/exiv2/Makefile (revision 550175) @@ -1,53 +1,60 @@ # Created by: Michael Johnson # $FreeBSD$ PORTNAME= exiv2 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 TEST_LIB_DEPENDS= libgtest.so:devel/googletest -USES= cmake compiler:c++11-lang cpe dos2unix gettext iconv pathfix \ +USES= cmake compiler:c++11-lang cpe dos2unix gettext-tools pathfix \ python:3.5+,test localbase:ldflags USE_LDCONFIG= yes DOS2UNIX_FILES= cmake/compilerFlags.cmake TEST_TARGET= tests -LDFLAGS+= -lintl - -CMAKE_ON= EXIV2_ENABLE_VIDEO \ - EXIV2_ENABLE_NLS +CMAKE_ON= EXIV2_ENABLE_VIDEO CMAKE_OFF= EXIV2_ENABLE_LIBXMP -OPTIONS_DEFINE= SAMPLE TEST +OPTIONS_DEFINE= NLS SAMPLE TEST OPTIONS_SUB= yes TEST_IMPLIES= SAMPLE +NLS_CMAKE_BOOL= EXIV2_ENABLE_NLS +NLS_USES= gettext-runtime + 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 + +.include + +LDFLAGS_powerpc= -lintl +LDFLAGS_powerpc64= -lintl +LDFLAGS_mips= -lintl +LDFLAGS_mips64= -lintl 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/pkg-plist =================================================================== --- head/graphics/exiv2/pkg-plist (revision 550174) +++ head/graphics/exiv2/pkg-plist (revision 550175) @@ -1,93 +1,93 @@ %%SAMPLE%%bin/addmoddel %%SAMPLE%%bin/exifcomment %%SAMPLE%%bin/exifdata %%SAMPLE%%bin/exifprint %%SAMPLE%%bin/exifvalue bin/exiv2 %%SAMPLE%%bin/exiv2json %%SAMPLE%%bin/geotag %%SAMPLE%%bin/iptceasy %%SAMPLE%%bin/iptcprint %%SAMPLE%%bin/metacopy %%SAMPLE%%bin/mrwthumb %%SAMPLE%%bin/taglist %%SAMPLE%%bin/xmpdump %%SAMPLE%%bin/xmpparse %%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.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 +%%NLS%%share/locale/bs/LC_MESSAGES/exiv2.mo +%%NLS%%share/locale/ca/LC_MESSAGES/exiv2.mo +%%NLS%%share/locale/de/LC_MESSAGES/exiv2.mo +%%NLS%%share/locale/es/LC_MESSAGES/exiv2.mo +%%NLS%%share/locale/fi/LC_MESSAGES/exiv2.mo +%%NLS%%share/locale/fr/LC_MESSAGES/exiv2.mo +%%NLS%%share/locale/gl/LC_MESSAGES/exiv2.mo +%%NLS%%share/locale/ms/LC_MESSAGES/exiv2.mo +%%NLS%%share/locale/nl/LC_MESSAGES/exiv2.mo +%%NLS%%share/locale/pl/LC_MESSAGES/exiv2.mo +%%NLS%%share/locale/pt/LC_MESSAGES/exiv2.mo +%%NLS%%share/locale/ru/LC_MESSAGES/exiv2.mo +%%NLS%%share/locale/sk/LC_MESSAGES/exiv2.mo +%%NLS%%share/locale/sv/LC_MESSAGES/exiv2.mo +%%NLS%%share/locale/ug/LC_MESSAGES/exiv2.mo +%%NLS%%share/locale/uk/LC_MESSAGES/exiv2.mo +%%NLS%%share/locale/vi/LC_MESSAGES/exiv2.mo