Tue Aug 3 09:02:49 2021 UTC ()
graphics/stitchy: simplify Makefile


(pin)
diff -r1.1 -r1.2 pkgsrc/graphics/stitchy/Makefile

cvs diff -r1.1 -r1.2 pkgsrc/graphics/stitchy/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/stitchy/Makefile 2021/01/01 17:18:06 1.1
+++ pkgsrc/graphics/stitchy/Makefile 2021/08/03 09:02:49 1.2
@@ -1,25 +1,23 @@ @@ -1,25 +1,23 @@
1# $NetBSD: Makefile,v 1.1 2021/01/01 17:18:06 pin Exp $ 1# $NetBSD: Makefile,v 1.2 2021/08/03 09:02:49 pin Exp $
2 2
3DISTNAME= Stitchy-0.1.3 3DISTNAME= Stitchy-0.1.3
4PKGNAME= ${DISTNAME:tl} 4PKGNAME= ${DISTNAME:tl}
5CATEGORIES= graphics 5CATEGORIES= graphics
6MASTER_SITES= ${MASTER_SITE_GITHUB:=grimace87/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=grimace87/}
7GITHUB_PROJECT= Stitchy 7GITHUB_PROJECT= Stitchy
8GITHUB_TAG= 86c57866ff2186e765ab7a2877a2103689611290 8GITHUB_TAG= 86c57866ff2186e765ab7a2877a2103689611290
9 9
10MAINTAINER= pin@NetBSD.org 10MAINTAINER= pin@NetBSD.org
11HOMEPAGE= https://github.com/grimace87/Stitchy/ 11HOMEPAGE= https://github.com/grimace87/Stitchy/
12COMMENT= Simple command line tool to stitch multiple images into one 12COMMENT= Simple command line tool to stitch multiple images into one
13LICENSE= mit 13LICENSE= mit
14 14
15.include "cargo-depends.mk" 15.include "cargo-depends.mk"
16 16
17USE_LANGUAGES+= c # rust, but needs a toolchain to link 
18 
19INSTALLATION_DIRS= bin 17INSTALLATION_DIRS= bin
20 18
21do-install: 19do-install:
22 ${INSTALL_PROGRAM} ${WRKSRC}/target/release/stitchy ${DESTDIR}${PREFIX}/bin 20 ${INSTALL_PROGRAM} ${WRKSRC}/target/release/stitchy ${DESTDIR}${PREFIX}/bin
23 21
24.include "../../lang/rust/cargo.mk" 22.include "../../lang/rust/cargo.mk"
25.include "../../mk/bsd.pkg.mk" 23.include "../../mk/bsd.pkg.mk"