aboutsummaryrefslogtreecommitdiff
path: root/security/rage-encryption/Makefile
blob: 5696dee1b2b36d5deb11d167c6d390211f20abdd (plain) (blame)
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
PORTNAME=	rage
DISTVERSIONPREFIX=	v
DISTVERSION=	0.11.0
PORTREVISION=	1
CATEGORIES=	security
PKGNAMESUFFIX=	-encryption

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Simple, modern, and secure file encryption tool, using the age format
WWW=		https://github.com/str4d/rage

LICENSE=	APACHE20 MIT
LICENSE_COMB=	dual
LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT

LIB_DEPENDS=	libfuse.so:filesystems/fusefs-libs \
		libzstd.so:archivers/zstd

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	str4d

CARGO_FEATURES=	mount

CONFLICTS=	rage

PLIST_FILES=	bin/rage \
		bin/rage-keygen \
		bin/rage-mount

do-install:
.for f in rage rage-keygen rage-mount
	${INSTALL_PROGRAM} ${CARGO_TARGET_DIR}/*/${f} \
		${STAGEDIR}${PREFIX}/bin
.endfor

.include <bsd.port.mk>