PORTNAME=	indi
DISTVERSIONPREFIX=	v
DISTVERSION=	1.9.1
PORTREVISION=	2
CATEGORIES=	devel

MAINTAINER=	acm@FreeBSD.org
COMMENT=	Implementation of the Instrument-Neutral-Device-Interface protocol

LICENSE=	LGPL21

BUILD_DEPENDS=	${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
LIB_DEPENDS=	libcfitsio.so:astro/cfitsio \
		libnova.so:astro/libnova \
		libcurl.so:ftp/curl \
		libgsl.so:math/gsl \
		libfftw3.so:math/fftw3 \
		libtheora.so:multimedia/libtheora \
		libogg.so:audio/libogg

USES=		cmake jpeg iconv ninja pkgconfig
USE_GITHUB=	yes
GH_ACCOUNT=	indilib

USE_LDCONFIG=	yes

.include <bsd.port.mk>
