Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163567773
D16236.id45193.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D16236.id45193.diff
View Options
Index: audio/Makefile
===================================================================
--- audio/Makefile
+++ audio/Makefile
@@ -912,6 +912,7 @@
SUBDIR += xvmixer
SUBDIR += xwave
SUBDIR += yell
+ SUBDIR += ympd
SUBDIR += yoshimi
SUBDIR += zam-plugins-lv2
SUBDIR += zinf
Index: audio/ympd/Makefile
===================================================================
--- /dev/null
+++ audio/ympd/Makefile
@@ -0,0 +1,26 @@
+# $FreeBSD$
+
+PORTNAME= ympd
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.3.0
+CATEGORIES= audio www
+MASTER_SITES= GH
+
+MAINTAINER= dch@FreeBSD.org
+COMMENT= Stand-alone lightweight web UI controller for audio/musicpd
+
+LICENSE= GPLv2 BSD3CLAUSE MIT
+LICENSE_COMB= multi
+
+LIB_DEPENDS= libmpdclient.so:audio/libmpdclient
+
+USES= cmake ssl
+USE_GITHUB= yes
+GH_ACCOUNT= notandy
+
+USE_RC_SUBR= ${PORTNAME}
+
+PLIST_FILES= bin/${PORTNAME} \
+ share/man/man1/${PORTNAME}.1
+
+.include <bsd.port.mk>
Index: audio/ympd/distinfo
===================================================================
--- /dev/null
+++ audio/ympd/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1531151012
+SHA256 (notandy-ympd-v1.3.0_GH0.tar.gz) = d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5
+SIZE (notandy-ympd-v1.3.0_GH0.tar.gz) = 350115
Index: audio/ympd/files/ympd.in
===================================================================
--- /dev/null
+++ audio/ympd/files/ympd.in
@@ -0,0 +1,39 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: ympd
+# REQUIRE: DAEMON NETWORKING musicpd
+# KEYWORD: shutdown
+
+# Add the following line to /etc/rc.conf to enable ympd:
+#
+# ympd_enable (bool): set to NO by default.
+# Set it to YES to enable ympd.
+#
+# ympd_flags (string): optional flags to pass through to daemon
+
+. /etc/rc.subr
+
+name=ympd
+rcvar=ympd_enable
+desc="A lightweight web UI for audio/musicpd"
+
+# defaults
+: ${ympd_enable:=NO}
+: ${ympd_flags:=""}
+
+load_rc_config ${name}
+
+start_cmd="ympd_start"
+
+command="%%PREFIX%%/bin/${name}"
+pidfile="/var/run/${name}.pid"
+
+ympd_start () {
+ echo "Starting ympd."
+ /usr/sbin/daemon -t ${name} -f -p ${pidfile} ${command} ${ympd_flags}
+}
+
+run_rc_command "$1"
Index: audio/ympd/pkg-descr
===================================================================
--- /dev/null
+++ audio/ympd/pkg-descr
@@ -0,0 +1,5 @@
+A lightweight MPD (Music Player Daemon) web client written in C, that
+runs without a dedicated webserver or interpreters like PHP, NodeJS or
+Ruby. It's tuned for minimal resource usage, and minimal configuration.
+
+WWW: https://www.ympd.org/
Index: audio/ympd/pkg-message
===================================================================
--- /dev/null
+++ audio/ympd/pkg-message
@@ -0,0 +1,11 @@
+To configure ympd, assuming it is running on the same system as
+audio/musicpd itself:
+
+sysrc ympd_enable=YES
+service ympd start
+
+You may optionally configure additional flags for the daemon:
+
+sysrc ympd_flags="--webport localhost:9000 --user=nobody"
+
+See ympd(1) for further details.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jul 25, 2:03 PM (11 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35475827
Default Alt Text
D16236.id45193.diff (2 KB)
Attached To
Mode
D16236: audio/ympd: a standalone MPD Web GUI written in C with bootstrap.js
Attached
Detach File
Event Timeline
Log In to Comment