git: d61ab0f964be - main - sysutils/sndy: new port

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Tue, 14 Feb 2023 20:23:51 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d61ab0f964be87f5bebfff8805195909f95b9d23

commit d61ab0f964be87f5bebfff8805195909f95b9d23
Author:     Clockwork6400 <Clockwork6400@protonmail.com>
AuthorDate: 2023-02-01 21:33:40 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-02-14 20:23:23 +0000

    sysutils/sndy: new port
    
    sndy is an audio switching program that allows you to redirect sound
    output to any port of your computer.  The buttons in the program toggle
    the sound output to a different device.  The scroll bar can be used to
    change the volume level.
    
    PR:             268570
    Reviewed by:    diizzy, grahamperrin
    Approved by:    eduardo (mentor)
    Differential Revision: https://reviews.freebsd.org/D38518
---
 sysutils/Makefile       |  1 +
 sysutils/sndy/Makefile  | 29 +++++++++++++++++++++++++++++
 sysutils/sndy/distinfo  |  3 +++
 sysutils/sndy/pkg-descr |  4 ++++
 4 files changed, 37 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 2ecc08b9ac65..d20b74785480 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1352,6 +1352,7 @@
     SUBDIR += smug
     SUBDIR += snap
     SUBDIR += snapraid
+    SUBDIR += sndy
     SUBDIR += snmp_exporter
     SUBDIR += snooze
     SUBDIR += sockaddr
diff --git a/sysutils/sndy/Makefile b/sysutils/sndy/Makefile
new file mode 100644
index 000000000000..b70ae205d5ca
--- /dev/null
+++ b/sysutils/sndy/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	sndy
+DISTVERSION=	0.0.4
+CATEGORIES=	sysutils audio tcl
+
+MAINTAINER=	Clockwork6400@protonmail.com
+COMMENT=	Sound Switcher
+WWW=		https://github.com/Clockwork6400/sndy
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		shebangfix tcl tk
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	Clockwork6400
+
+SHEBANG_FILES=	sndy
+tk_OLD_CMD+=	/usr/local/bin/wish8.6
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+PLIST_FILES=	bin/sndy \
+		share/applications/sndy.desktop
+
+do-install:
+	${INSTALL_SCRIPT} ${WRKSRC}/sndy ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/sndy.desktop ${STAGEDIR}${PREFIX}/share/applications
+.include <bsd.port.mk>
diff --git a/sysutils/sndy/distinfo b/sysutils/sndy/distinfo
new file mode 100644
index 000000000000..b36556a78f5e
--- /dev/null
+++ b/sysutils/sndy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1676403681
+SHA256 (Clockwork6400-sndy-0.0.4_GH0.tar.gz) = 2cbd7a7a3c26b0f95b757fb65e9a4d7e937b9b900986cca0c455a903b89ce604
+SIZE (Clockwork6400-sndy-0.0.4_GH0.tar.gz) = 2972
diff --git a/sysutils/sndy/pkg-descr b/sysutils/sndy/pkg-descr
new file mode 100644
index 000000000000..276c7c94750d
--- /dev/null
+++ b/sysutils/sndy/pkg-descr
@@ -0,0 +1,4 @@
+sndy is an audio switching program that allows you to redirect sound
+output to any port of your computer.  The buttons in the program toggle
+the sound output to a different device.  The scroll bar can be used to
+change the volume level.