diff options
author | itetcu <itetcu@FreeBSD.org> | 2009-10-17 23:37:58 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2009-10-17 23:37:58 +0800 |
commit | c17960e89ebf4a21eb561b6b46c8db79dcd5555c (patch) | |
tree | 889cf8eebceb4ea4175c483c2ce5b12623023311 /audio/mpdas | |
parent | 00bd521b91851a6a1a3476148fd66d55d71bd8b2 (diff) | |
download | freebsd-ports-gnome-c17960e89ebf4a21eb561b6b46c8db79dcd5555c.tar.gz freebsd-ports-gnome-c17960e89ebf4a21eb561b6b46c8db79dcd5555c.tar.zst freebsd-ports-gnome-c17960e89ebf4a21eb561b6b46c8db79dcd5555c.zip |
Add forgotten files for previous comit:
Update to mpdas-0.2.5 which comes with a fixed Makefile to allow different
PREFIX settings. It also has a few bugfixes and now installs an rc.d script.
PR: 139477
Submitted by: maintainer
Diffstat (limited to 'audio/mpdas')
-rw-r--r-- | audio/mpdas/files/mpdas.in | 25 | ||||
-rw-r--r-- | audio/mpdas/files/pkg-message.in | 28 |
2 files changed, 53 insertions, 0 deletions
diff --git a/audio/mpdas/files/mpdas.in b/audio/mpdas/files/mpdas.in new file mode 100644 index 000000000000..9b3fcb917238 --- /dev/null +++ b/audio/mpdas/files/mpdas.in @@ -0,0 +1,25 @@ +#!/bin/sh +# + +# PROVIDE: mpdas +# REQUIRE: musicpd +# KEYWORD: shutdown + +# Add the following line to /etc/rc.conf to enable mpdas: +# +#mpdas_enable="YES" + +. %%RC_SUBR%% + +name=mpdas +rcvar=`set_rcvar` + +command=%%PREFIX%/bin/mpdas + +load_rc_config $name + +: ${mpdas_enable="NO"} + +command_args="&" + +run_rc_command "$1" diff --git a/audio/mpdas/files/pkg-message.in b/audio/mpdas/files/pkg-message.in new file mode 100644 index 000000000000..aec699fe2669 --- /dev/null +++ b/audio/mpdas/files/pkg-message.in @@ -0,0 +1,28 @@ +**************************************************************** + +mpdas has been successfully installed. + +To configure mpdas, simply create a file called .mpdasrc in +your home directory or in %%PREFIX%%/etc/mpdasrc. + +Syntax is easy. Example: + +username = lastfmuser +password = 5f4dcc3b5aa765d61d8327deb882cf99 + +Use the runas variable to change the UID the process runs in. + +For more information on configuration see: +http://50hz.ws/mpdas/README.txt + +To use the rc-script add the following line to /etc/rc.conf: + + mpdas_enable="YES" + +Then start mpdas with + + %%PREFIX%%/etc/rc.d/mpdas start + +or reboot. + +**************************************************************** |