1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/security/duo/Makefile
Nuno Teixeira b86efd7441 security/duo: Move man pages to share/man
Approved by:	portmgr (blanket)
2024-03-21 17:10:17 +00:00

42 lines
1.0 KiB
Makefile

PORTNAME= duo
PORTVERSION= 2.0.1
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= https://dl.duosecurity.com/ \
ZI
DISTNAME= ${PORTNAME}_unix-${PORTVERSION}
MAINTAINER= zi@FreeBSD.org
COMMENT= Duo unix integration package
WWW= https://duosecurity.com
LICENSE= GPLv2
CONFIGURE_ARGS= --with-pam=${PREFIX}/lib/security --sysconfdir=${PREFIX}/etc \
--docdir=${DOCSDIR} --includedir=${PREFIX}/include/${PORTNAME}
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
USES= libtool pathfix ssl
USE_LDCONFIG= yes
SUB_FILES= pkg-message
SUID_DESC= Install login_duo with suid bit set
OPTIONS_DEFINE= DOCS SUID
OPTIONS_SUB= yes
post-patch:
${REINPLACE_CMD} -e 's| /etc| ${PREFIX}/etc|g' \
${WRKSRC}/pam_duo/pam_duo.8 \
${WRKSRC}/login_duo/login_duo.8
post-install:
@${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>