summaryrefslogtreecommitdiff
path: root/security/kpcli/Makefile
blob: 72e46a615101ce3449c66bdec57699d007dfdd4f (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
# $NetBSD: Makefile,v 1.6 2013/12/09 14:17:51 obache Exp $

DISTNAME=	kpcli-2.1
PKGREVISION=	1
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-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+=	{perl>=5.002,p5-Term-ReadLine-[0-9]*}:../../devel/p5-Term-ReadLine

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"