summaryrefslogtreecommitdiff
path: root/security/otptool/Makefile
blob: 07a9812d5e9e3bdbd3a0027722b22badcaa54059 (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
29
30
31
32
33
34
35
36
37
38
39
# $NetBSD: Makefile,v 1.4 2013/02/06 23:23:41 jperkin Exp $

DISTNAME=	mod_authn_otp-${DISTVERS}
PKGNAME=	otptool-${DISTVERS}
PKGREVISION=	2
CATEGORIES=	security
MASTER_SITES=	http://mod-authn-otp.googlecode.com/files/
LICENSE=	apache-2.0

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://mod-authn-otp.googlecode.com/
COMMENT=	One-Time Password command line utility

PKG_APACHE_ACCEPTED=	apache22

USE_LIBTOOL=	yes

.include "../../mk/apache.mk"

DISTVERS=	1.1.4

SBINDIR=	${PREFIX}/sbin

SUBST_CLASSES+= paths
SUBST_FILES.paths=      configure
SUBST_VARS.paths+=      SBINDIR
SUBST_STAGE.paths=      post-patch

GNU_CONFIGURE=yes

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/otptool ${DESTDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/otptool.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

.include "../../www/apache22/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"