summaryrefslogtreecommitdiff
path: root/security/otpw/Makefile
blob: cbafd7e80ae9afe68d32dc4b853ce6c45ba2d66a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

PORTNAME=	otpw
PORTVERSION=	1.5
CATEGORIES=	security
MASTER_SITES=	https://www.cl.cam.ac.uk/~mgk25/download/ \
		LOCAL/jkim

MAINTAINER=	jkim@FreeBSD.org
COMMENT=	One-time password login package by Markus Kuhn

LICENSE=	GPLv2+

GROUPS=		${PORTNAME}
USERS=		${PORTNAME}

MAKE_ARGS=	CC="${CC}"
USES=		gmake
LLD_UNSAFE=	yes	# lld lacks built-in search paths

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/otpw-gen ${STAGEDIR}${PREFIX}/bin
	${INSTALL_LIB} ${WRKSRC}/pam_otpw.so ${STAGEDIR}${PREFIX}/lib
	${INSTALL_MAN} ${WRKSRC}/otpw-gen.1.gz \
	    ${STAGEDIR}${MANPREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/pam_otpw.8.gz \
	    ${STAGEDIR}${MANPREFIX}/man/man8

.include <bsd.port.mk>