# Created by: Gavin McDonald # $FreeBSD$ PORTNAME= orthrus PORTVERSION= 0.8.0 PORTREVISION= 2 CATEGORIES= security MASTER_SITES= GOOGLE_CODE \ http://16degrees.com.au/${PORTNAME}/ MAINTAINER= ports@FreeBSD.org COMMENT= One-Time Password System (OTP) alternative to OPIE or S/Key LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libapr-1.so:${PORTSDIR}/devel/apr1 USES= iconv scons tar:bzip2 MAKE_ARGS= DEBUG=False --install-sandbox=${STAGEDIR} USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|-O[0-9]||; /chmod/d' ${WRKSRC}/SConstruct post-install: @${TOUCH} ${STAGEDIR}${PREFIX}/etc/orthruskeys @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liborthrus-0.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/security/pam_orthrus.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} NOTICE README TODO \ ${STAGEDIR}${DOCSDIR}) .include