head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2013.03.20.02.47.59;	author svnexp;	state Exp;
branches;
next	1.2;

1.2
date	2013.03.04.19.26.20;	author svnexp;	state Exp;
branches;
next	1.1;

1.1
date	2013.01.30.01.43.51;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314693
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/security/pam_yubico/Makefile 314693 2013-03-19 20:36:34Z pawel $

PORTNAME=	pam_yubico
PORTVERSION=	2.13
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	GOOGLE_CODE

MAINTAINER=	matt@@mjslabs.com
COMMENT=	PAM module for authenticating with a Yubico YubiKey

LICENSE=	BSD

LIB_DEPENDS=	ykclient:${PORTSDIR}/security/ykclient \
		ykpers-1:${PORTSDIR}/security/ykpers \
		yubikey:${PORTSDIR}/security/libyubikey

GNU_CONFIGURE=	yes
USE_PKGCONFIG=	build

PLIST_FILES=	include/drop_privs.h \
		include/util.h \
		lib/security/pam_yubico.la \
		lib/security/pam_yubico.so
PLIST_DIRS=	lib/security
SUB_FILES=	pkg-message
PORTDOCS=	*

PROJECTHOST=	yubico-pam

OPTIONS_DEFINE=	CR LDAP DOCS
CR_DESC=	Include Challenge/response support
OPTIONS_DEFAULT=	CR LDAP

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MCR}
CONFIGURE_ARGS+=	--with-cr
MAN1=		ykpamcfg.1
PLIST_FILES+=	bin/ykpamcfg
.else
CONFIGURE_ARGS+=	--without-cr
.endif

.if ${PORT_OPTIONS:MLDAP}
CONFIGURE_ARGS+=	--with-ldap
.else
CONFIGURE_ARGS+=	--without-ldap
.endif

regression-test: build
	@@(cd ${WRKSRC}; ${MAKE} check)

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313414
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/security/pam_yubico/Makefile 313414 2013-03-04 16:34:08Z pawel $
d5 1
@


1.1
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311194
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/security/pam_yubico/Makefile 311194 2013-01-30 00:58:22Z jgh $
d4 1
a4 1
PORTVERSION=	2.12
@

