aboutsummaryrefslogtreecommitdiffstats
path: root/security/otpw/Makefile
blob: efee2d7d5b37102c4e11a9b5e9b15dc05c585d1f (plain) (blame)
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
29
# $FreeBSD$

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>