diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2006-03-28 17:07:38 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2006-03-28 17:07:38 +0000 |
commit | a0c89696183d10907f8dd82f74ca28727943030e (patch) | |
tree | b0f790fad966d8f4f098b798e5dbe436699f600f /security/bsp_upektfmess/Makefile | |
parent | 491da55e79ff589b91b9ee6d5446af58c35a6242 (diff) |
UPEK TouchChip TFM/ESS Fingerprint BSP is a (binary only) BioAPI BSP which
provides support for UPEKs fingerprint sensors.
PR: ports/93035
Submitted by: Fredrik Lindberg <fli@shapeshifter.se>
Notes
Notes:
svn path=/head/; revision=158335
Diffstat (limited to 'security/bsp_upektfmess/Makefile')
-rw-r--r-- | security/bsp_upektfmess/Makefile | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/security/bsp_upektfmess/Makefile b/security/bsp_upektfmess/Makefile new file mode 100644 index 000000000000..5526a56f6015 --- /dev/null +++ b/security/bsp_upektfmess/Makefile @@ -0,0 +1,72 @@ +# Ports collection makefile for: bsp_upektfmess +# Date created: February 2006 +# Whom: Fredrik Lindberg <fli@shapeshifter.se> +# +# $FreeBSD$ +# + +PORTNAME= bsp_upektfmess +PORTVERSION= 1.0 +CATEGORIES= security +MASTER_SITES= http://www.upek.com/support/download/ \ + http://shapeshifter.se/pub/bsp_upektfmess/ +DISTNAME= TFMESS_BSP_FreeBSD_1.0 + +MAINTAINER= fli@shapeshifter.se +COMMENT= UPEK TouchChip TFM/ESS Fingerprint BSP + +LIB_DEPENDS= bioapi100.0:${PORTSDIR}/security/bioapi \ + usb-0.1.8:${PORTSDIR}/devel/libusb + +PLIST_FILES= lib/libtfmessbsp.so + +USE_ZIP= yes +INSTALLS_SHLIB= yes +USE_GETTEXT= yes +USE_ICONV= yes +# Maintainer note +# Both the gui and the non-gui object are linked to libX11 +USE_XLIB= yes + +NO_PACKAGE= license prohibits redistribution +NO_CDROM= no commercial redistribution +NO_BUILD= yes +NO_WRKSUBDIR= yes +ONLY_FOR_ARCHS= i386 + +OPTIONS= GUI "Install GUI" off + +.include <bsd.port.pre.mk> +.if ${OSVERSION} < 600000 +IGNORE= needs at least FreeBSD 6.0-RELEASE +.endif + +.if defined(WITH_GUI) +TFMESSPATH=${WRKSRC} +.else +TFMESSPATH=${WRKSRC}/console_only +.endif + +do-install: +.if !defined(BATCH) + ${SH} ${PKGREQ} ${PORTNAME} INSTALL +.endif + ${INSTALL} -o root -m 0755 ${TFMESSPATH}/libtfmessbsp.so ${PREFIX}/lib + ${PREFIX}/bin/mod_install -fi ${PREFIX}/lib/libtfmessbsp.so + +post-install: +.if !defined(BATCH) + @${ECHO_CMD} "" +.if defined(WITH_GUI) + @${ECHO_CMD} "You have chosen to install the GUI version, this does" + @${ECHO_CMD} "not always work correctly with PAM." + @${ECHO_CMD} "Please install the non-gui version if you intend to" + @${ECHO_CMD} "use this together with PAM." + @${ECHO_CMD} "" +.endif + @${ECHO_CMD} "Configuration instructions are available at" + @${ECHO_CMD} "http://shapeshifter.se/articles/upek_touchchip_freebsd/" + @${ECHO_CMD} "" +.endif + +.include <bsd.port.post.mk> |