summaryrefslogtreecommitdiff
path: root/ftp/termscp/Makefile
blob: 0b3b8ad897c73b27965f5ef98650b893f4c6e55b (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
40
41
PORTNAME=	termscp
DISTVERSIONPREFIX=	v
DISTVERSION=	0.10.0
PORTREVISION=	2
CATEGORIES=	ftp

MAINTAINER=	sec.research.2005@gmail.com
COMMENT=	TUI file transfer and explorer with support for SCP/SFTP/FTP/S3
WWW=		https://github.com/veeso/termscp

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	gmake:devel/gmake
LIB_DEPENDS=	libdbus-1.so:devel/dbus \
		libssh2.so:security/libssh2

USES=		cargo perl5
USE_PERL5=	build

USE_GITHUB=	yes
GH_ACCOUNT=	veeso

CARGO_FEATURES=	--no-default-features

PLIST_FILES=	bin/${PORTNAME}

OPTIONS_DEFINE=		DOCS
OPTIONS_DEFAULT=	DOCS

PORTDOCS=	*

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} *.md docs/man.md ${STAGEDIR}${DOCSDIR}

.include "${.CURDIR}/bsd.termscp.mk"
.include <bsd.port.mk>