1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/security/duo/Makefile
Ryan Steinmetz 84834f4c2d - Update to 1.9.13
Submitted by:	brooks@
2014-10-16 00:16:37 +00:00

39 lines
1.1 KiB
Makefile

# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= duo
PORTVERSION= 1.9.13
CATEGORIES= security
MASTER_SITES= https://dl.duosecurity.com/ \
http://mirrors.rit.edu/zi/
DISTNAME= ${PORTNAME}_unix-${PORTVERSION}
MAINTAINER= zi@FreeBSD.org
COMMENT= Duo unix integration package
LICENSE= GPLv2
CONFIGURE_ARGS= --with-pam=${PREFIX}/lib/security --sysconfdir=${PREFIX}/etc \
--docdir=${DOCSDIR} --includedir=${PREFIX}/include/${PORTNAME}
USES= libtool pathfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/login_duo/login_duo.8
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/pam_duo/pam_duo.8
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libduo.so.3
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/security/pam_duo.so
${INSTALL_DATA} ${WRKSRC}/login_duo/login_duo.conf \
${STAGEDIR}${PREFIX}/etc/login_duo.conf.sample
${INSTALL_DATA} ${WRKSRC}/pam_duo/pam_duo.conf \
${STAGEDIR}${PREFIX}/etc/pam_duo.conf.sample
.include <bsd.port.mk>