85425e3c40
[0.8.1] - 2021-10-10 Added: -Support changing the default file explorer Changed: -Include the manpage of configuration file in binary releases -Allow dead code for event handler fields -Apply clippy::needless_lifetimes suggestion -Improve the Docker build and push workflow -Merge the build and test steps in CI workflow -Disable the terminal buffer check temporarily -Disable the gpg info renderer test -Bump dependencies Fixed: -Use implicit reference for state module tests -Use a fixed line width for renderer tests Removed: -Remove the hardcoded last character from renderer tests
36 lines
1.2 KiB
Makefile
36 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.18 2021/10/11 08:58:06 pin Exp $
|
|
|
|
DISTNAME= gpg-tui-0.8.1
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=orhun/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pin@NetBSD.org
|
|
HOMEPAGE= https://github.com/orhun/gpg-tui/
|
|
COMMENT= Manage your GnuPG keys with ease
|
|
LICENSE= mit
|
|
|
|
.include "cargo-depends.mk"
|
|
|
|
USE_TOOLS+= pkg-config
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
PYTHON_FOR_BUILD_ONLY= tool
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
|
|
|
|
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libxcb}/lib
|
|
RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libgpg-error}/lib
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/target/release/gpg-tui ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/gpg-tui.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_MAN} ${WRKSRC}/man/gpg-tui.toml.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
|
|
|
|
.include "../../lang/rust/cargo.mk"
|
|
.include "../../lang/python/tool.mk"
|
|
.include "../../x11/libxcb/buildlink3.mk"
|
|
.include "../../security/libgpg-error/buildlink3.mk"
|
|
.include "../../security/gpgme/buildlink3.mk"
|
|
.include "../../x11/libxkbcommon/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|