diff --git a/graphics/gphoto2/Makefile b/graphics/gphoto2/Makefile index 6b3a1b218127..bf89ae384ee0 100644 --- a/graphics/gphoto2/Makefile +++ b/graphics/gphoto2/Makefile @@ -1,42 +1,50 @@ PORTNAME= gphoto2 -PORTVERSION= 2.5.26 -PORTREVISION= 1 +PORTVERSION= 2.5.28 CATEGORIES= graphics -MASTER_SITES= SF/gphoto/gphoto/${PORTVERSION} +MASTER_SITES= SF/gphoto/gphoto/${PORTVERSION} \ + https://github.com/gphoto/gphoto2/releases/download/v${PORTVERSION}/ MAINTAINER= danfe@FreeBSD.org COMMENT= Command-line frontend to libgphoto2 WWW= http://www.gphoto.org/proj/gphoto2/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexif.so:graphics/libexif \ libgphoto2.so:graphics/libgphoto2 \ libpopt.so:devel/popt +TEST_DEPENDS= gsed:textproc/gsed -USES= gmake jpeg pkgconfig tar:bzip2 - +USES= jpeg pkgconfig tar:xz GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share -CONFIGURE_ENV= POPT_CFLAGS="$$(pkg-config --cflags popt)" \ - POPT_LIBS="$$(pkg-config --libs popt)" CONFIGURE_ARGS= --without-cdk +TEST_TARGET= check + +PORTDOCS= AUTHORS ChangeLog NEWS README TODO OPTIONS_DEFINE= AALIB DOCS NLS READLINE THREADS OPTIONS_DEFAULT= AALIB READLINE THREADS OPTIONS_SUB= yes AALIB_DESC= Text mode capture preview support AALIB_LIB_DEPENDS= libaa.so:graphics/aalib -AALIB_CONFIGURE_WITH= aalib +AALIB_CONFIGURE_ON= --with-aalib + NLS_USES= gettext -NLS_CONFIGURE_ENABLE= nls +NLS_CONFIGURE_OFF= --disable-nls + READLINE_USES= readline -READLINE_CONFIGURE_WITH= readline -THREADS_CONFIGURE_ENV_OFF= ac_cv_lib_pthread_pthread_exit=no +READLINE_CONFIGURE_OFF= --without-readline + +THREADS_CONFIGURE_OFF= --without-pthread + +post-patch: + @${REINPLACE_CMD} -e '1s,bash,sh,; /SEDCOMMAND/s,sed,g&,' \ + ${WRKSRC}/tests/testsuite post-install-DOCS-on: - ${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/graphics/gphoto2/distinfo b/graphics/gphoto2/distinfo index 4eca73e0877c..e038f24da397 100644 --- a/graphics/gphoto2/distinfo +++ b/graphics/gphoto2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1611463835 -SHA256 (gphoto2-2.5.26.tar.bz2) = 7653213b05329c1dc2779efea3eff00504e12011436587aedc9aaa1e8665ab2f -SIZE (gphoto2-2.5.26.tar.bz2) = 804521 +TIMESTAMP = 1641209289 +SHA256 (gphoto2-2.5.28.tar.xz) = ff3e32c7bd2a129d817dcd9e75ce51834409b1966e1f20e74c427c32ae732afa +SIZE (gphoto2-2.5.28.tar.xz) = 575816 diff --git a/graphics/gphoto2/pkg-plist b/graphics/gphoto2/pkg-plist index 6f853e6e3ef3..be7235ba9e6a 100644 --- a/graphics/gphoto2/pkg-plist +++ b/graphics/gphoto2/pkg-plist @@ -1,32 +1,31 @@ bin/gphoto2 -%%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/test-hook.sh %%NLS%%share/locale/az/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/cs/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/da/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/de/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/en_GB/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/es/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/eu/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/fi/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/fr/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/hu/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/id/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/is/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/it/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/ja/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/nl/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/pa/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/pl/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/ro/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/ru/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/rw/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/sk/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/sr/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/sv/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/uk/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/vi/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/gphoto2.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/gphoto2.mo share/man/man1/gphoto2.1.gz