mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
e74a5a403d
PR: 189629 Submitted by: Alexander <alexander.4mail@gmail.com> (maintainer)
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= kpcli
|
|
PORTVERSION= 2.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= SF/kpcli/
|
|
EXTRACT_SUFX= .pl
|
|
|
|
MAINTAINER= alexander.4mail@gmail.com
|
|
COMMENT= Command line interface to KeePassX and KeePass database files
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
RUN_DEPENDS= p5-Crypt-Rijndael>=1.08:${PORTSDIR}/security/p5-Crypt-Rijndael \
|
|
p5-Term-ReadKey>=2.30:${PORTSDIR}/devel/p5-Term-ReadKey \
|
|
p5-Sort-Naturally>=1.02:${PORTSDIR}/textproc/p5-Sort-Naturally \
|
|
p5-File-KeePass>=2.03:${PORTSDIR}/security/p5-File-KeePass \
|
|
p5-Term-ShellUI>=0.9:${PORTSDIR}/shells/p5-Term-ShellUI \
|
|
p5-ReadLine-Gnu>=1.19:${PORTSDIR}/devel/p5-ReadLine-Gnu \
|
|
p5-Data-Password>=0:${PORTSDIR}/security/p5-Data-Password
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
|
|
|
USES= perl5 shebangfix
|
|
SHEBANG_FILES= kpcli
|
|
PLIST_FILES= bin/kpcli man/man1/${PORTNAME}.1.gz
|
|
|
|
do-extract:
|
|
@${MKDIR} ${WRKSRC}
|
|
${CP} ${DISTDIR}/${PORTNAME}-${PORTVERSION}.pl ${WRKSRC}/${PORTNAME}
|
|
|
|
do-build:
|
|
${LOCALBASE}/bin/pod2man ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.1
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|