1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/security/orthrus/Makefile
Dmitry Marakasov 0ba5be052b - Fix fetch
2017-03-21 09:01:56 +00:00

40 lines
1.0 KiB
Makefile

# Created by: Gavin McDonald <gavin@16degrees.com.au>
# $FreeBSD$
PORTNAME= orthrus
PORTVERSION= 0.8.0
PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/orthrus/ \
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: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 <bsd.port.mk>