pkgsrc/textproc/sd/Makefile
2021-08-03 09:01:26 +00:00

21 lines
500 B
Makefile

# $NetBSD: Makefile,v 1.4 2021/08/03 09:01:26 pin Exp $
DISTNAME= sd-0.7.6
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=chmln/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pin@NetBSD.org
HOMEPAGE= https://github.com/chmln/sd/
COMMENT= Intuitive find and replace CLI
LICENSE= mit
.include "cargo-depends.mk"
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/target/release/sd ${DESTDIR}${PREFIX}/bin
.include "../../lang/rust/cargo.mk"
.include "../../mk/bsd.pkg.mk"