freebsd-ports/security/orthrus/Makefile
Mathieu Arnold 597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00

39 lines
985 B
Makefile

# Created by: Gavin McDonald <gavin@16degrees.com.au>
# $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: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>