summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/libfprint/DESCR3
-rw-r--r--security/libfprint/Makefile28
-rw-r--r--security/libfprint/PLIST8
-rw-r--r--security/libfprint/buildlink3.mk20
-rw-r--r--security/libfprint/distinfo5
5 files changed, 64 insertions, 0 deletions
diff --git a/security/libfprint/DESCR b/security/libfprint/DESCR
new file mode 100644
index 00000000000..6e525672e5f
--- /dev/null
+++ b/security/libfprint/DESCR
@@ -0,0 +1,3 @@
+libfprint is an open source software library designed to make it easy for
+application developers to add support for consumer fingerprint readers to
+their software.
diff --git a/security/libfprint/Makefile b/security/libfprint/Makefile
new file mode 100644
index 00000000000..20d0b99eb88
--- /dev/null
+++ b/security/libfprint/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/02/26 21:51:06 plunky Exp $
+
+DISTNAME= libfprint-0.0.6
+CATEGORIES= security devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fprint/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= plunky@rya-online.net
+HOMEPAGE= http://reactivated.net/fprint/wiki/Libfprint
+COMMENT= Fingerprint reader access library
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= c c++ fortran
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+
+CPPFLAGS+= -DHAVE_MEMMEM
+
+CONFIGURE_ARGS+=CRYPTO_CFLAGS=-I${SSLBASE}/include/openssl \
+ CRYPTO_LIBS="-L${SSLBASE}/lib -lcrypto"
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/libusb/buildlink3.mk"
+.include "../../graphics/ImageMagick/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/libfprint/PLIST b/security/libfprint/PLIST
new file mode 100644
index 00000000000..eb519b9ba27
--- /dev/null
+++ b/security/libfprint/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/02/26 21:51:06 plunky Exp $
+include/libfprint/fprint.h
+lib/libfprint.a
+lib/libfprint.la
+lib/libfprint.so
+lib/libfprint.so.0
+lib/pkgconfig/libfprint.pc
+@dirrm include/libfprint
diff --git a/security/libfprint/buildlink3.mk b/security/libfprint/buildlink3.mk
new file mode 100644
index 00000000000..c3456f39fa2
--- /dev/null
+++ b/security/libfprint/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/02/26 21:51:06 plunky Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBFPRINT_BUILDLINK3_MK:= ${LIBFPRINT_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libfprint
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibfprint}
+BUILDLINK_PACKAGES+= libfprint
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libfprint
+
+.if !empty(LIBFPRINT_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.libfprint+= libfprint>=0.0.6
+BUILDLINK_ABI_DEPENDS.libfprint+= libfprint>=0.0.6
+BUILDLINK_PKGSRCDIR.libfprint?= ../../security/libfprint
+.endif # LIBFPRINT_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/security/libfprint/distinfo b/security/libfprint/distinfo
new file mode 100644
index 00000000000..4568aa0ffd4
--- /dev/null
+++ b/security/libfprint/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/02/26 21:51:06 plunky Exp $
+
+SHA1 (libfprint-0.0.6.tar.bz2) = 430af91efbefeb2b98fe30215fb33051e4f8efc5
+RMD160 (libfprint-0.0.6.tar.bz2) = 3677a0997da641ba3e8586222ca88640e1f6373f
+Size (libfprint-0.0.6.tar.bz2) = 431957 bytes