aboutsummaryrefslogtreecommitdiffstats
path: root/security/pam_fprint/Makefile
blob: e0ef3676669786492620b1414940113e69a0d4e2 (plain) (blame)
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
# Created by: barner
# $FreeBSD$

PORTNAME=   pam_fprint
PORTVERSION=    20080330
PORTREVISION=   1
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

USES=       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>