# $NetBSD: Makefile,v 1.4 2021/02/13 18:09:31 pin Exp $ DISTNAME= sfm-0.3.0 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_GITHUB:=Harunx9/} GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pin@NetBSD.org HOMEPAGE= https://github.com/Harunx9/sfm/ COMMENT= Simple file manager LICENSE= mit .include "cargo-depends.mk" USE_LANGUAGES+= c # rust, but needs a toolchain to link INSTALLATION_DIRS= bin share/doc/sfm do-install: ${INSTALL_PROGRAM} ${WRKSRC}/target/release/sfm ${DESTDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/sfm .include "../../lang/rust/cargo.mk" .include "../../mk/bsd.pkg.mk"