21 lines
508 B
Makefile
21 lines
508 B
Makefile
# $NetBSD: Makefile,v 1.2 2021/08/02 15:16:13 pin Exp $
|
|
|
|
DISTNAME= cchmod-0.1.2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=Dophin2009/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pin@NetBSD.org
|
|
HOMEPAGE= https://github.com/Dophin2009/cchmod/
|
|
COMMENT= Chmod calculator
|
|
LICENSE= mit
|
|
|
|
.include "cargo-depends.mk"
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/target/release/cchmod ${DESTDIR}${PREFIX}/bin
|
|
|
|
.include "../../lang/rust/cargo.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|