# Created by: Denis Barov <dindin@dindin.ru>
# $FreeBSD: tags/RELEASE_11_0_0/graphics/lensfun/Makefile 412346 2016-04-01 14:00:51Z mat $

PORTNAME=	lensfun
PORTVERSION=	0.3.2
CATEGORIES=	graphics
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Library for fixing lens geometry distortions

LICENSE=	LGPL3

LIB_DEPENDS=	libpng.so:graphics/png

USES=		cmake pathfix pkgconfig
USE_GNOME=	glib20
USE_LDCONFIG=	yes
CMAKE_ARGS=	-DBUILD_AUXFUN:BOOL=ON -DINSTALL_HELPER_SCRIPTS:BOOL=OFF

OPTIONS_DEFINE=	SIMD
OPTIONS_DEFAULT=	SIMD

SIMD_CMAKE_OFF=	-DBUILD_FOR_SSE:BOOL=OFF -DBUILD_FOR_SSE2:BOOL=OFF

.include <bsd.port.mk>
