graphics/gphoto2: the port had been updated to version 2.5.28
- Stop asking for GNU make, switch to smaller .tar.xz distfile - Add GitHub CDN as alternative (fallback) download location - GC no longer needed GNU_CONFIGURE_MANPREFIX and CONFIGURE_ENV - Install some more of those available documentation files - Hook the test suite to our framework (sadly, requires GNU sed) PR: 272433 Reported by: portscout
This commit is contained in:
parent
66313d1684
commit
6d18db4593
@ -1,8 +1,8 @@
|
|||||||
PORTNAME= gphoto2
|
PORTNAME= gphoto2
|
||||||
PORTVERSION= 2.5.26
|
PORTVERSION= 2.5.28
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= graphics
|
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
|
MAINTAINER= danfe@FreeBSD.org
|
||||||
COMMENT= Command-line frontend to libgphoto2
|
COMMENT= Command-line frontend to libgphoto2
|
||||||
@ -14,14 +14,14 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
|||||||
LIB_DEPENDS= libexif.so:graphics/libexif \
|
LIB_DEPENDS= libexif.so:graphics/libexif \
|
||||||
libgphoto2.so:graphics/libgphoto2 \
|
libgphoto2.so:graphics/libgphoto2 \
|
||||||
libpopt.so:devel/popt
|
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= yes
|
||||||
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
|
|
||||||
CONFIGURE_ENV= POPT_CFLAGS="$$(pkg-config --cflags popt)" \
|
|
||||||
POPT_LIBS="$$(pkg-config --libs popt)"
|
|
||||||
CONFIGURE_ARGS= --without-cdk
|
CONFIGURE_ARGS= --without-cdk
|
||||||
|
TEST_TARGET= check
|
||||||
|
|
||||||
|
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
|
||||||
|
|
||||||
OPTIONS_DEFINE= AALIB DOCS NLS READLINE THREADS
|
OPTIONS_DEFINE= AALIB DOCS NLS READLINE THREADS
|
||||||
OPTIONS_DEFAULT= AALIB READLINE THREADS
|
OPTIONS_DEFAULT= AALIB READLINE THREADS
|
||||||
@ -29,14 +29,22 @@ OPTIONS_SUB= yes
|
|||||||
|
|
||||||
AALIB_DESC= Text mode capture preview support
|
AALIB_DESC= Text mode capture preview support
|
||||||
AALIB_LIB_DEPENDS= libaa.so:graphics/aalib
|
AALIB_LIB_DEPENDS= libaa.so:graphics/aalib
|
||||||
AALIB_CONFIGURE_WITH= aalib
|
AALIB_CONFIGURE_ON= --with-aalib
|
||||||
|
|
||||||
NLS_USES= gettext
|
NLS_USES= gettext
|
||||||
NLS_CONFIGURE_ENABLE= nls
|
NLS_CONFIGURE_OFF= --disable-nls
|
||||||
|
|
||||||
READLINE_USES= readline
|
READLINE_USES= readline
|
||||||
READLINE_CONFIGURE_WITH= readline
|
READLINE_CONFIGURE_OFF= --without-readline
|
||||||
THREADS_CONFIGURE_ENV_OFF= ac_cv_lib_pthread_pthread_exit=no
|
|
||||||
|
THREADS_CONFIGURE_OFF= --without-pthread
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -e '1s,bash,sh,; /SEDCOMMAND/s,sed,g&,' \
|
||||||
|
${WRKSRC}/tests/testsuite
|
||||||
|
|
||||||
post-install-DOCS-on:
|
post-install-DOCS-on:
|
||||||
${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
TIMESTAMP = 1611463835
|
TIMESTAMP = 1641209289
|
||||||
SHA256 (gphoto2-2.5.26.tar.bz2) = 7653213b05329c1dc2779efea3eff00504e12011436587aedc9aaa1e8665ab2f
|
SHA256 (gphoto2-2.5.28.tar.xz) = ff3e32c7bd2a129d817dcd9e75ce51834409b1966e1f20e74c427c32ae732afa
|
||||||
SIZE (gphoto2-2.5.26.tar.bz2) = 804521
|
SIZE (gphoto2-2.5.28.tar.xz) = 575816
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
bin/gphoto2
|
bin/gphoto2
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/test-hook.sh
|
%%PORTDOCS%%%%DOCSDIR%%/test-hook.sh
|
||||||
%%NLS%%share/locale/az/LC_MESSAGES/gphoto2.mo
|
%%NLS%%share/locale/az/LC_MESSAGES/gphoto2.mo
|
||||||
%%NLS%%share/locale/cs/LC_MESSAGES/gphoto2.mo
|
%%NLS%%share/locale/cs/LC_MESSAGES/gphoto2.mo
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user