summaryrefslogtreecommitdiff
path: root/security/kpcli/Makefile
blob: f92e6314cffb4867d64b623adce23b2c7ef8586f (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
# $NetBSD: Makefile,v 1.26 2020/09/06 11:55:43 wiz Exp $

DISTNAME=	kpcli-3.3
PKGREVISION=	4
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=kpcli/}
EXTRACT_SUFX=	.pl

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://kpcli.sourceforge.net/
COMMENT=	Command line interface to KeePass password safes
LICENSE=	${PERL5_LICENSE}

DEPENDS+=	p5-Clone-[0-9]*:../../devel/p5-Clone
DEPENDS+=	p5-Sort-Naturally-[0-9]*:../../devel/p5-Sort-Naturally
DEPENDS+=	p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey
DEPENDS+=	p5-Term-ShellUI-[0-9]*:../../devel/p5-Term-ShellUI
DEPENDS+=	p5-Crypt-Rijndael-[0-9]*:../../security/p5-Crypt-Rijndael
DEPENDS+=	p5-File-KeePass-[0-9]*:../../security/p5-File-KeePass
DEPENDS+=	p5-Crypt-PWSafe3-[0-9]*:../../security/p5-Crypt-PWSafe3
DEPENDS+=	p5-Term-ReadLine-Gnu-[0-9]*:../../devel/p5-Term-ReadLine-Gnu

WRKSRC=		${WRKDIR}
USE_LANGUAGES=	# none

REPLACE_PERL=		${DISTNAME}.pl
INSTALLATION_DIRS=	bin

do-build:

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.pl ${DESTDIR}${PREFIX}/bin/kpcli.pl

.include "../../lang/perl5/buildlink3.mk"
.include "../../lang/perl5/license.mk"
.include "../../mk/bsd.pkg.mk"