2006-03-28 19:07:38 +02:00
|
|
|
# Ports collection makefile for: bsp_upektfmess
|
|
|
|
# Date created: February 2006
|
|
|
|
# Whom: Fredrik Lindberg <fli@shapeshifter.se>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bsp_upektfmess
|
2008-12-18 10:51:32 +01:00
|
|
|
PORTVERSION= 1.1
|
2006-03-28 19:07:38 +02:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://www.upek.com/support/download/ \
|
2008-12-18 10:51:32 +01:00
|
|
|
http://www.shapeshifter.se/pub/bsp_upektfmess/
|
|
|
|
DISTNAME= TFMESS_BSP_FreeBSD_1.1
|
2006-03-28 19:07:38 +02:00
|
|
|
|
2008-12-18 10:51:32 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-03-28 19:07:38 +02:00
|
|
|
COMMENT= UPEK TouchChip TFM/ESS Fingerprint BSP
|
|
|
|
|
|
|
|
LIB_DEPENDS= bioapi100.0:${PORTSDIR}/security/bioapi \
|
|
|
|
usb-0.1.8:${PORTSDIR}/devel/libusb
|
2008-12-18 10:51:32 +01:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/xext.pc:${PORTSDIR}/x11/libXext
|
2006-03-28 19:07:38 +02:00
|
|
|
|
|
|
|
PLIST_FILES= lib/libtfmessbsp.so
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-03-28 19:07:38 +02:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_ICONV= yes
|
|
|
|
# Maintainer note
|
|
|
|
# Both the gui and the non-gui object are linked to libX11
|
2008-12-18 10:51:32 +01:00
|
|
|
USE_XORG= x11 xext
|
2006-03-28 19:07:38 +02:00
|
|
|
|
2006-09-03 01:33:37 +02:00
|
|
|
RESTRICTED= license prohibits redistribution
|
2006-03-28 19:07:38 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
|
|
|
OPTIONS= GUI "Install GUI" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2008-12-18 10:51:32 +01:00
|
|
|
.if ${OSVERSION} < 700000
|
|
|
|
IGNORE= needs at least FreeBSD 7.0-RELEASE
|
2006-03-28 19:07:38 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_GUI)
|
2008-12-18 10:51:32 +01:00
|
|
|
TFMESSPATH=${WRKDIR}/${DISTNAME}
|
2006-03-28 19:07:38 +02:00
|
|
|
.else
|
2008-12-18 10:51:32 +01:00
|
|
|
TFMESSPATH=${WRKDIR}/${DISTNAME}/console_only
|
2006-03-28 19:07:38 +02:00
|
|
|
.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"
|
2008-12-18 10:51:32 +01:00
|
|
|
@${ECHO_CMD} "http://www.shapeshifter.se/articles/upek_touchchip_freebsd/"
|
2006-03-28 19:07:38 +02:00
|
|
|
@${ECHO_CMD} ""
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|