View | Details | Raw Unified | Return to bug 139477
Collapse All | Expand All

(-)../mpdas/Makefile (-2 / +10 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	mpdas
8
PORTNAME=	mpdas
9
PORTVERSION=	0.2.4
9
PORTVERSION=	0.2.5
10
PORTREVISION=	2
11
CATEGORIES=	audio
10
CATEGORIES=	audio
12
MASTER_SITES=	http://50hz.ws/mpdas/
11
MASTER_SITES=	http://50hz.ws/mpdas/
13
12
Lines 20-28 Link Here
20
USE_GNOME=	pkgconfig
19
USE_GNOME=	pkgconfig
21
USE_BZIP2=	yes
20
USE_BZIP2=	yes
22
21
22
USE_RC_SUBR=	mpdas
23
24
SUB_FILES=	pkg-message
25
23
PLIST_FILES=	bin/mpdas
26
PLIST_FILES=	bin/mpdas
24
27
25
MAN1=		mpdas.1
28
MAN1=		mpdas.1
26
MANCOMPRESSED=	no
29
MANCOMPRESSED=	no
27
30
31
post-install:
32
	@${ECHO_MSG}
33
	@${CAT} ${PKGMESSAGE}
34
	@${ECHO_MSG}
35
28
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)../mpdas/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (mpdas-0.2.4.tar.bz2) = 8a694691dcb5d217c46754e40152186a
1
MD5 (mpdas-0.2.5.tar.bz2) = ea852645079be1aeedfe3e88f421917e
2
SHA256 (mpdas-0.2.4.tar.bz2) = a3535cf94ba3856b28d271e265ba0131a84eb9c2d660643c3f4e88d3b473e0bc
2
SHA256 (mpdas-0.2.5.tar.bz2) = e8ce00df8aa0cbbf5709d1e22ceb1f609dbd7309aed7ffd0083cc0ff5b463e21
3
SIZE (mpdas-0.2.4.tar.bz2) = 16842
3
SIZE (mpdas-0.2.5.tar.bz2) = 17849
(-)../mpdas/files/mpdas.in (+25 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
4
# PROVIDE: mpdas 
5
# REQUIRE: musicpd
6
# KEYWORD: shutdown
7
8
# Add the following line to /etc/rc.conf to enable mpdas:
9
#
10
#mpdas_enable="YES"
11
12
. /etc/rc.subr
13
14
name=mpdas
15
rcvar=`set_rcvar`
16
17
command=/usr/local/bin/mpdas
18
19
load_rc_config $name
20
21
: ${mpdas_enable="NO"}
22
23
command_args="&"
24
25
run_rc_command "$1"
(-)../mpdas/files/pkg-message.in (+28 lines)
Line 0 Link Here
1
****************************************************************
2
3
mpdas has been successfully installed.
4
5
To configure mpdas, simply create a file called .mpdasrc in 
6
your home directory or in %%PREFIX%%/etc/mpdasrc. 
7
8
Syntax is easy. Example:
9
10
username = lastfmuser
11
password = 5f4dcc3b5aa765d61d8327deb882cf99
12
13
Use the runas variable to change the UID the process runs in.
14
15
For more information on configuration see:
16
http://50hz.ws/mpdas/README.txt
17
18
To use the rc-script add the following line to /etc/rc.conf:
19
20
	mpdas_enable="YES"
21
22
Then start mpdas with
23
24
	%%PREFIX%%/etc/rc.d/mpdas start
25
26
or reboot.
27
28
****************************************************************

Return to bug 139477