# $NetBSD: Makefile,v 1.18 2022/09/02 11:46:16 pin Exp $ DISTNAME= zoxide-0.8.3 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_GITHUB:=ajeetdsouza/} GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pin@NetBSD.org HOMEPAGE= https://github.com/ajeetdsouza/zoxide/ COMMENT= Faster way to navigate your filesystem LICENSE= mit .include "cargo-depends.mk" USE_TOOLS+= gmake INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/target/release/zoxide \ ${DESTDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/man/man1/zoxide.1 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/zoxide.1 ${INSTALL_MAN} ${WRKSRC}/man/man1/zoxide-add.1 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/zoxide-add.1 ${INSTALL_MAN} ${WRKSRC}/man/man1/zoxide-import.1 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/zoxide-import.1 ${INSTALL_MAN} ${WRKSRC}/man/man1/zoxide-init.1 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/zoxide-init.1 ${INSTALL_MAN} ${WRKSRC}/man/man1/zoxide-query.1 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/zoxide-query.1 ${INSTALL_MAN} ${WRKSRC}/man/man1/zoxide-remove.1 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/zoxide-remove.1 .include "../../lang/rust/cargo.mk" .include "../../mk/bsd.pkg.mk"