freebsd-ports/graphics/flphoto/Makefile
Kai Knoblich 46d6333b29 graphics/libgphoto2: Update to 2.5.22, graphics/gphoto2: Update to 2.5.20
* Bump PORTREVISION of ports depending on them.

Also while I'm here:
* Add "gnome" to USES if the XML option is enabled to avoid warnings about
  using USE_GNOME alone.
* Pet portlint

Notable changes since 2.5.16 (graphics/libgphoto2) [1]:

* Added new USB Ids for various camera types
* Updated translations
* Report file changes via GP_EVENT_FILE_CHANGED (hooked up for Canon EOS
  currently)

Changes since 2.5.15 (graphics/gphoto2) [2]:

* Maximum number in file ranges bumped from 16384 to 65536
* Add shell commands to match commandline: summary, storage-info,
  trigger-capture
* Fixed a fd leak
* Updated translations
* Handle GP_EVENT_FILE_CHANGED event

https://github.com/gphoto/libgphoto2/blob/libgphoto2-2_5_22-release/NEWS
https://github.com/gphoto/gphoto2/blob/gphoto2-2_5_20-release/NEWS

PR:		235817 [1], 235818 [2]
Submitted by:	Darren Mulligan <fixer@bsdmail.com>
Approved by:	woodsb02 (maintainer timeout)
2019-05-27 10:21:46 +00:00

49 lines
1.4 KiB
Makefile

# Created by: johan
# $FreeBSD$
PORTNAME= flphoto
PORTVERSION= 1.3.1
PORTREVISION= 15
CATEGORIES= graphics
MASTER_SITES= SF/fltk/${PORTNAME}/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
MAINTAINER= ports@FreeBSD.org
COMMENT= Basic image management and display program
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 \
libfltk.so:x11-toolkits/fltk \
libpng.so:graphics/png
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= tar:bzip2
USE_XORG= xinerama
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|@OPTIM@|-DHAVE_CONFIG_H|g' ${WRKSRC}/Makefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/flphoto ${STAGEDIR}${PREFIX}/bin/flphoto
${INSTALL_MAN} ${WRKSRC}/doc/flphoto.man ${STAGEDIR}${MAN1PREFIX}/man/man1/flphoto.1
${INSTALL_MAN} ${WRKSRC}/doc/album.man ${STAGEDIR}${MAN5PREFIX}/man/man5/album.5
.for lang in de en_CA en_GB es fr it nl pt
@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${lang}
${INSTALL_DATA} ${WRKSRC}/po/${lang}.po \
${STAGEDIR}${PREFIX}/share/locale/${lang}/flphoto_${lang}
.endfor
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.jpg ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.png ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>