summaryrefslogtreecommitdiff
path: root/security/pam_fprint/Makefile
blob: b66f46e53fb5d76dbda35f194433adab2babfbcc (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# New ports collection makefile for:	pam_fprint
# Date created:				April 12 2008
# Whom:					barner
#
# $FreeBSD$
#

PORTNAME=	pam_fprint
PORTVERSION=	20080330
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR=	pool/main/p/${PORTNAME:C/_/-/}
DISTNAME=	${PORTNAME:C/_/-/}_${PORTVERSION}+git.orig

MAINTAINER=	lichray@gmail.com
COMMENT=	PAM module offering finger print authentication using libfprint

LIB_DEPENDS=	fprint:${PORTSDIR}/security/libfprint

USE_AUTOTOOLS=	autoconf automake
AUTOMAKE_ARGS=	-a
CONFIGURE_ENV+=	FPRINT_CFLAGS=-I${LOCALBASE}/include
GNU_CONFIGURE=	yes

USE_GNOME=	pkgconfig

WRKSRC=	${WRKDIR}

PLIST_FILES+=	bin/pam_fprint_enroll \
		lib/pam_fprint.so

SUB_FILES=	pkg-message
PKGMESSAGE=	${WRKDIR}/pkg-message

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800069
IGNORE=		dependency libfprint will not compile on FreeBsd < 8
.endif

pre-configure:
	cd ${WRKDIR} && ${ACLOCAL}

post-install:
	@${ECHO}
	@${ECHO} =========================================================================
	@${ECHO}
	@${CAT} ${PKGMESSAGE}
	@${ECHO}
	@${ECHO} =========================================================================
	@${ECHO}

.include <bsd.port.post.mk>