freebsd-ports/security/linux-bitwarden-cli/Makefile
Mateusz Piotrowski a95dab9614 security/linux-bitwarden-cli: Add a new port
The Bitwarden CLI is a powerful, full-featured command-line interface
(CLI) tool to access and manage a Bitwarden vault. The CLI is written
with TypeScript and Node.js and can be run on Windows, macOS, and Linux
distributions. This port is using the Linux binary thanks to the Linux
binary compatibility provided by FreeBSD.

WWW: https://github.com/bitwarden/cli
2021-10-07 13:31:37 +02:00

34 lines
780 B
Makefile

PORTNAME= bitwarden
DISTVERSIONPREFIX= v
DISTVERSION= 1.18.1
CATEGORIES= security linux
MASTER_SITES= https://github.com/bitwarden/cli/releases/download/${DISTVERSIONFULL}/
PKGNAMEPREFIX= linux-
PKGNAMESUFFIX= -cli
DISTNAME= bw-linux-${DISTVERSION}
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Bitwarden CLI
LICENSE= GPLv3
USES= linux zip
# install(1) fails with the following messages when stripping:
# strip: elf_update() failed: Layout constraint violation
# strip: elf_update() failed: Layout constraint violation
STRIP=
NO_WRKSUBDIR= yes
PLIST_FILES= bin/bw
do-build:
${BRANDELF} -t Linux ${WRKSRC}/bw
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bw ${STAGEDIR}${PREFIX}/bin/
do-test:
${SETENV} ${TEST_ENV} ${STAGEDIR}${PREFIX}/bin/bw help >/dev/null
.include <bsd.port.mk>