pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Start fixing davis



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Tue Feb 22 14:35:26 2022 +0100
Changeset:	5c002d0dce81ea1bb8cc64422aa55a1b7c10cd52

Modified Files:
	davis/Makefile
	davis/PLIST

Log Message:
Start fixing davis

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5c002d0dce81ea1bb8cc64422aa55a1b7c10cd52

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 davis/Makefile | 17 ++++++++++++++++-
 davis/PLIST    |  5 +++++
 2 files changed, 21 insertions(+), 1 deletion(-)

diffs:
diff --git a/davis/Makefile b/davis/Makefile
index 62c47f8e14..02516c0b43 100644
--- a/davis/Makefile
+++ b/davis/Makefile
@@ -1,6 +1,7 @@
 # $NetBSD$
 
 DISTNAME=	davis-0.1.1
+PKGREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_GITHUB:=SimonPersson/}
 GITHUB_PROJECT=	davis
@@ -13,11 +14,25 @@ LICENSE=	gnu-gpl-v3
 
 .include "cargo-depends.mk"
 
-INSTALLATION_DIRS=	bin
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/target/release/davis \
 		 ${DESTDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/davis.1 \
+		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/davis.1
+	${INSTALL_SCRIPT} ${WRKSRC}/subcommands/cover/davis-cover \
+		${DESTDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/subcommands/cur/davis-cur-horizontal \
+		${DESTDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/subcommands/cur/davis-cur-vertical \
+		${DESTDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/subcommands/fzf/davis-fzf \
+		${DESTDIR}${PREFIX}/bin
+
+DEPENDS+=	picat-[0-9]*:../../graphics/picat
+DEPENDS+=	fzf-[0-9]*:../../sysutils/fzf
+#DEPENDS+=       musicpd-[0-9]*:../../audio/musicpd
 
 .include "../../lang/rust/cargo.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/davis/PLIST b/davis/PLIST
index 46f5abaa3b..0ac17404af 100644
--- a/davis/PLIST
+++ b/davis/PLIST
@@ -1,2 +1,7 @@
 @comment $NetBSD$
 bin/davis
+bin/davis-cover
+bin/davis-cur-horizontal
+bin/davis-cur-vertical
+bin/davis-fzf
+man/man1/davis.1


Home | Main Index | Thread Index | Old Index