# Created by: barner
# $FreeBSD: tags/RELEASE_10_3_0/security/libfprint/Makefile 382779 2015-03-30 22:45:53Z pawel $

PORTNAME=	libfprint
PORTVERSION=	0.6.0
CATEGORIES=	security
MASTER_SITES=	http://people.freedesktop.org/~hadess/

MAINTAINER=	lichray@gmail.com
COMMENT=	Library for fingerprint reader devices

LIB_DEPENDS=	libMagickCore-6.so:${PORTSDIR}/graphics/ImageMagick \
		libnss3.so:${PORTSDIR}/security/nss

GNU_CONFIGURE=	yes
USES=		libtool pathfix pkgconfig tar:xz
USE_LDCONFIG=	yes
USE_OPENSSL=	yes
USE_GNOME=	glib20
INSTALL_TARGET=	install-strip

CONFIGURE_ENV=	LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb"
CPPFLAGS+=	-DHAVE_MEMMEM
MAKE_JOBS_UNSAFE=yes

.include <bsd.port.mk>
