# Created by: Olivier Duchateau
# $FreeBSD: tags/RELEASE_10_3_0/graphics/phototonic/Makefile 402780 2015-12-01 19:43:02Z olivierd $

PORTNAME=	phototonic
PORTVERSION=	1.7
DISTVERSIONPREFIX=	v
CATEGORIES=	graphics

MAINTAINER=	olivierd@FreeBSD.org
COMMENT=	Image viewer and organizer

LICENSE=	GPLv3

LIB_DEPENDS=	libexiv2.so:${PORTSDIR}/graphics/exiv2

USE_GITHUB=	yes
GH_ACCOUNT=	oferkv

USES=	desktop-file-utils gettext qmake
USE_QT5=	buildtools_build imageformats svg widgets

post-patch:
	${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
		${WRKSRC}/phototonic.pro

.include <bsd.port.mk>
