# $NetBSD: Makefile,v 1.6 2021/11/16 08:20:00 pin Exp $ DISTNAME= oxipng-5.0.1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_GITHUB:=shssoichiro/} GITHUB_TAG= v${PKGVERSION_NOREV} MAINTAINER= pin@NetBSD.org HOMEPAGE= https://github.com/shssoichiro/oxipng/ COMMENT= Multithreaded PNG optimizer LICENSE= mit .include "cargo-depends.mk" INSTALLATION_DIRS= bin do-install: ${INSTALL_PROGRAM} ${WRKSRC}/target/release/oxipng ${DESTDIR}${PREFIX}/bin .include "../../lang/rust/cargo.mk" .include "../../mk/bsd.pkg.mk"