freebsd-ports/security/oath-toolkit/Makefile

48 lines
1.2 KiB
Makefile
Raw Normal View History

# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
PORTNAME= oath-toolkit
2013-10-05 22:44:50 +02:00
PORTVERSION= 2.4.0
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ale@FreeBSD.org
COMMENT= Library, tools, and PAM module for OATH authentication
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-html-dir=${DOCSDIR}
USES= gmake libtool pathfix pkgconfig
USE_LDCONFIG= yes
2013-10-05 22:44:50 +02:00
OPTIONS_DEFINE= PSKC DOCS
OPTIONS_DEFAULT=PSKC
2013-10-05 22:44:50 +02:00
OPTIONS_SUB= yes
PSKC_DESC= Portable Symmetric Key Container (RFC 6030) support
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
DOCS= AUTHORS ChangeLog NEWS README
PORTDOCS= *
post-patch:
@${REINPLACE_CMD} '/^Makefile.gdoc:/s,$$(top_builddir)/configure,,' \
${WRKSRC}/liboath/man/Makefile.in \
${WRKSRC}/libpskc/man/Makefile.in
post-install:
.for f in ${DOCS}
2013-10-05 22:44:50 +02:00
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}/${DOCSDIR}/
.endfor
2013-10-05 22:44:50 +02:00
${MKDIR} ${STAGEDIR}/${DOCSDIR}/pam_oath
${INSTALL_DATA} ${WRKSRC}/pam_oath/README \
${STAGEDIR}/${DOCSDIR}/pam_oath/
.include <bsd.port.mk>