# New ports collection makefile for:	digikam-plugins
# Date created: 			15 February 2004
# Whom:					Arjan van Leeuwen <avleeuwen@piwebs.com>
#
# $FreeBSD$
#

PORTNAME=	digikamplugins
PORTVERSION=	0.6
PORTREVISION=	1
CATEGORIES=	graphics kde
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	digikam

MAINTAINER=	avleeuwen@piwebs.com
COMMENT=	Collection of plugins for Digikam

BUILD_DEPENDS=	imlib-config:${PORTSDIR}/graphics/imlib
LIB_DEPENDS=	digikam.0:${PORTSDIR}/graphics/digikam

OPTIONS=	ACQUIREIMAGES "scanner plugin" on \
		CDARCHIVING "plugin to create album CDs" on \
		COMMENTSEDITOR "plugin to edit image comments" on \
		IMAGESGALLERY "album to HTML gallery export" on \
		JPEGLOSSLESS "batch processing without losing meta info" on \
		MISCSOPERATIONS "Image2Desktop and Album2FileManager apps" on \
		MPEGENCODER "tool to build a video from images" on \
		PRINTWIZARD "a print wizard" on \
		RAWCONVERTER "convert RAW images from digital cameras" on \
		SENDIMAGES "an email images plugin" on \
		SLIDESHOW "create a slideshow" on

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_KDELIBS_VER=3
USE_REINPLACE=	yes
CONFIGURE_ARGS+=--program-prefix=''
CONFIGURE_ENV+=	DO_NOT_COMPILE="${DO_NOT_COMPILE}"

.include <bsd.port.pre.mk>

.if defined(WITH_ACQUIREIMAGES)
PLIST_SUB+=	ACQUIREIMAGES:=""
.else
DO_NOT_COMPILE+=acquireimages
PLIST_SUB+=	ACQUIREIMAGES:="@comment "
.endif

.if defined(WITH_CDARCHIVING)
PLIST_SUB+=	CDARCHIVING:=""
RUN_DEPENDS+=	k3b:${PORTSDIR}/sysutils/k3b
.else
DO_NOT_COMPILE+=cdarchiving
PLIST_SUB+=	CDARCHIVING:="@comment "
.endif

.if defined(WITH_COMMENTSEDITOR)
PLIST_SUB+=	COMMENTSEDITOR:=""
.else
DO_NOT_COMPILE+=commentseditor
PLIST_SUB+=	COMMENTSEDITOR:="@comment "
.endif

.if defined(WITH_IMAGESGALLERY)
PLIST_SUB+=	IMAGESGALLERY:=""
.else
DO_NOT_COMPILE+=imagesgallery
PLIST_SUB+=	IMAGESGALLERY:="@comment "
.endif

.if defined(WITH_JPEGLOSSLESS)
PLIST_SUB+=	JPEGLOSSLESS:=""
.else
DO_NOT_COMPILE+=jpeglossless
PLIST_SUB+=	JPEGLOSSLESS:="@comment "
.endif

.if defined(WITH_MISCSOPERATIONS)
PLIST_SUB+=	MISCSOPERATIONS:=""
.else
DO_NOT_COMPILE+=miscsoperations
PLIST_SUB+=	MISCSOPERATIONS:="@comment "
.endif

.if defined(WITH_MPEGENCODER)
PLIST_SUB+=	MPEGENCODER:=""
RUN_DEPENDS+=	mpeg2enc:${PORTSDIR}/multimedia/mjpegtools \
		convert:${PORTSDIR}/graphics/ImageMagick
.else
DO_NOT_COMPILE+=mpegencoder
PLIST_SUB+=	MPEGENCODER:="@comment "
.endif

.if defined(WITH_PRINTWIZARD)
PLIST_SUB+=	PRINTWIZARD:=""
.else
DO_NOT_COMPILE+=printwizard
PLIST_SUB+=	PRINTWIZARD:="@comment "
.endif

.if defined(WITH_RAWCONVERTER)
PLIST_SUB+=	RAWCONVERTER:=""
RUN_DEPENDS+=	dcraw:${PORTSDIR}/graphics/dcraw
.else
DO_NOT_COMPILE+=rawconverter
PLIST_SUB+=	RAWCONVERTER:="@comment "
.endif

.if defined(WITH_SENDIMAGES)
PLIST_SUB+=	SENDIMAGES:=""
.else
DO_NOT_COMPILE+=sendimages
PLIST_SUB+=	SENDIMAGES:="@comment "
.endif

.if defined(WITH_SLIDESHOW)
PLIST_SUB+=	SLIDESHOW:=""
.else
DO_NOT_COMPILE+=slideshow
PLIST_SUB+=	SLIDESHOW:="@comment "
.endif

pre-configure::
	${REINPLACE_CMD} -e 's@-lpthread@${PTHREAD_LIBS}@g' ${WRKSRC}/configure

.include <bsd.port.post.mk>
n value='dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3'>dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.4'>dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.4</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8'>dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19'>dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/lodash.merge-4.6.2'>dependabot/npm_and_yarn/devel/electron6/files/lodash.merge-4.6.2</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/node-fetch-2.6.1'>dependabot/npm_and_yarn/devel/electron6/files/node-fetch-2.6.1</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2</option>
<option value='gnome-3.22'>gnome-3.22</option>
<option value='gnome-3.24'>gnome-3.24</option>
<option value='gnome-3.26'>gnome-3.26</option>
<option value='gnome-3.28' selected='selected'>gnome-3.28</option>
<option value='gnome-3.32'>gnome-3.32</option>
<option value='gnome-3.36'>gnome-3.36</option>
<option value='gstreamer'>gstreamer</option>
<option value='gstreamer-1.16'>gstreamer-1.16</option>
<option value='gstreamer0.10-removal'>gstreamer0.10-removal</option>
<option value='main'>main</option>
<option value='master'>master</option>
<option value='mate-1.16'>mate-1.16</option>
<option value='mate-1.18'>mate-1.18</option>
<option value='mate-1.20'>mate-1.20</option>
<option value='mate-1.22'>mate-1.22</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/about/?h=gnome-3.28'>about</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/?h=gnome-3.28'>summary</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/refs/?h=gnome-3.28&amp;id=456b4ff071982bd5357b8a424616e7bf23f7864a'>refs</a><a class='active' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/www/p5-Apache-Singleton/pkg-descr?h=gnome-3.28'>log</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/tree/www/p5-Apache-Singleton/pkg-descr?h=gnome-3.28&amp;id=456b4ff071982bd5357b8a424616e7bf23f7864a'>tree</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/www/p5-Apache-Singleton/pkg-descr?h=gnome-3.28&amp;id=456b4ff071982bd5357b8a424616e7bf23f7864a'>commit</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/diff/www/p5-Apache-Singleton/pkg-descr?h=gnome-3.28&amp;id=456b4ff071982bd5357b8a424616e7bf23f7864a'>diff</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/stats/www/p5-Apache-Singleton/pkg-descr?h=gnome-3.28'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/www/p5-Apache-Singleton/pkg-descr'>
<input type='hidden' name='h' value='gnome-3.28'/><input type='hidden' name='id' value='456b4ff071982bd5357b8a424616e7bf23f7864a'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/?h=gnome-3.28&amp;id=456b4ff071982bd5357b8a424616e7bf23f7864a'>root</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/www?h=gnome-3.28&amp;id=456b4ff071982bd5357b8a424616e7bf23f7864a'>www</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/www/p5-Apache-Singleton?h=gnome-3.28&amp;id=456b4ff071982bd5357b8a424616e7bf23f7864a'>p5-Apache-Singleton</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/www/p5-Apache-Singleton/pkg-descr?h=gnome-3.28&amp;id=456b4ff071982bd5357b8a424616e7bf23f7864a'>pkg-descr</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/www/p5-Apache-Singleton/pkg-descr?h=gnome-3.28&amp;id=456b4ff071982bd5357b8a424616e7bf23f7864a&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr>