2012-11-05 11:34:25 +01:00
|
|
|
# Created by: Alex Dupre <ale@FreeBSD.org>
|
2011-11-23 15:37:15 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= oath-toolkit
|
2014-07-07 11:08:49 +02:00
|
|
|
PORTVERSION= 2.4.1
|
2011-11-23 15:37:15 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ale@FreeBSD.org
|
2012-08-03 17:54:35 +02:00
|
|
|
COMMENT= Library, tools, and PAM module for OATH authentication
|
2011-11-23 15:37:15 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2014-07-06 22:34:03 +02:00
|
|
|
CONFIGURE_ARGS= --with-html-dir=${DOCSDIR}
|
|
|
|
USES= gmake libtool pathfix pkgconfig
|
2012-10-11 16:09:26 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2013-10-05 22:44:50 +02:00
|
|
|
OPTIONS_DEFINE= PSKC DOCS
|
2012-10-11 16:09:26 +02:00
|
|
|
OPTIONS_DEFAULT=PSKC
|
2013-10-05 22:44:50 +02:00
|
|
|
OPTIONS_SUB= yes
|
2012-10-11 16:09:26 +02:00
|
|
|
|
|
|
|
PSKC_DESC= Portable Symmetric Key Container (RFC 6030) support
|
2011-11-23 15:37:15 +01:00
|
|
|
|
2013-10-05 22:44:50 +02:00
|
|
|
PSKC_CONFIGURE_ENABLE= pskc
|
|
|
|
PSKC_CONFIGURE_ON= --with-xml-prefix=${LOCALBASE}
|
|
|
|
PSKC_LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 \
|
|
|
|
libxmlsec1.so:${PORTSDIR}/security/xmlsec1
|
2011-11-23 15:37:15 +01:00
|
|
|
|
|
|
|
DOCS= AUTHORS ChangeLog NEWS README
|
|
|
|
|
|
|
|
PORTDOCS= *
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for f in ${DOCS}
|
2013-10-05 22:44:50 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${DOCSDIR}/
|
2011-11-23 15:37:15 +01:00
|
|
|
.endfor
|
2013-10-05 22:44:50 +02:00
|
|
|
${MKDIR} ${STAGEDIR}/${DOCSDIR}/pam_oath
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/pam_oath/README \
|
|
|
|
${STAGEDIR}/${DOCSDIR}/pam_oath/
|
2011-11-23 15:37:15 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|