summaryrefslogtreecommitdiff
path: root/security/kpcli/Makefile
blob: 10b779131829aa251e9bb37cce1f5218efd9f12b (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
# $NetBSD: Makefile,v 1.5 2013/06/14 21:15:24 wiz Exp $

DISTNAME=	kpcli-2.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+=	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"