summaryrefslogtreecommitdiffstats
path: root/security/libfprint/Makefile
blob: 23c7bb962dd3c700afba94895d912c5daf70f73c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: barner
# $FreeBSD$

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

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

LIB_DEPENDS+=	Magick:${PORTSDIR}/graphics/ImageMagick \
		nss3:${PORTSDIR}/security/nss

GNU_CONFIGURE=	yes
USE_BZIP2=	yes
USE_LDCONFIG=	yes
USE_OPENSSL=	yes
USES=		pathfix pkgconfig
USE_GNOME=	glib20

CFLAGS+=	-DHAVE_MEMMEM
MAKE_JOBS_UNSAFE=yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800069
IGNORE=		libusb-1.0 is not avaible on FreeBSD < 8
.else
CONFIGURE_ENV+=	LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb"
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud