8c912f94c2
[0.5.0] - 2021-06-13 Added: -Support setting the default signing key via options menu Changed: -Update Dockerfile about crate dependency location -Update COMMANDS.md about getting/setting default signing key -Update README.md about setting the default signing key
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2021/06/14 07:39:02 pin Exp $
|
|
|
|
DISTNAME= gpg-tui-0.5.0
|
|
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_LANGUAGES+= c
|
|
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
|
|
MAKE_ENV+= RUSTFLAGS=${RUSTFLAGS:Q}
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/target/release/gpg-tui ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/man/gpg-tui.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.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 "../../mk/bsd.pkg.mk"
|