freebsd-ports/graphics/gtkam/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

52 lines
1.3 KiB
Makefile

# Created by: ports@FreeBSD.org
# $FreeBSD$
PORTNAME= gtkam
PORTVERSION= 1.0
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= SF/gphoto/${PORTNAME}/${PORTVERSION}
MAINTAINER= woodsb02@FreeBSD.org
COMMENT= Download and view files from various digital cameras
LICENSE= GPLv2+
LIB_DEPENDS= libexif-gtk.so:graphics/libexif-gtk \
libgphoto2.so:graphics/libgphoto2
USES= gettext gmake pathfix pkgconfig
USE_GNOME= gtk20 intltool
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS GIMP GNOME
OPTIONS_SUB= yes
GIMP_DESC= GIMP plugin support
GIMP_LIB_DEPENDS= libgimp-2.0.so:graphics/gimp
GIMP_CONFIGURE_WITH= gimp
GNOME_USE= GNOME=gnomeprefix,libgnomeui
GNOME_CONFIGURE_OFF= --without-bonobo --without-gnome
GNOME_MAKE_ENV= GNOME_SUBDIRS="help omf-install"
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGNOME}
INSTALLS_OMF= yes
.endif
post-patch:
@${REINPLACE_CMD} -e 's|GIMP_VERSION="2.0"|GIMP_VERSION="2.2"|g ; \
s|images/gtkam|gtkam/images|g ; \
s|FLAGS -g|FLAGS|g' ${WRKSRC}/configure
@${REINPLACE_CMD} 's/$$(GNOME_LIBS)/& $$(GTK_LIBS)/' \
${WRKSRC}/src/Makefile.in
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|images/gtkam|gtkam/images|g ; \
s|$$(libdir)/gimp/|$$(libexecdir)/gimp/|g'
.include <bsd.port.mk>