[revive] audio/mpdscribble: fix for unfetchable
Revive port, fix ${PORTSDIR} for ftp/curl, give MAINTAINER'ship to submitter. PR: 213160 Submitted by: freebsdbugs@tungol.org Approved by: adamw (mentor, implicit)
This commit is contained in:
parent
73cea91f9d
commit
33bf1a1d42
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=439917
6 changed files with 78 additions and 1 deletions
1
MOVED
1
MOVED
|
@ -7928,7 +7928,6 @@ graphics/pure-gl||2015-11-28|Has expired: Broken for more than 6 months
|
|||
audio/dvda-author||2015-11-28|Has expired: Broken for more than 6 months
|
||||
chinese/oxim||2015-11-28|Has expired: Broken for more than 6 months
|
||||
editors/spe||2015-11-28|Has expired: Broken for more than 6 months
|
||||
audio/mpdscribble||2015-11-28|Has expired: Broken for more than 6 months
|
||||
cad/geda-symcheck||2015-11-28|Has expired: Broken for more than 6 months
|
||||
audio/linux-fmodapi||2015-11-28|Has expired: Broken for more than 6 months
|
||||
audio/pure-audio||2015-11-28|Has expired: Broken for more than 6 months
|
||||
|
|
40
audio/mpdscribble/Makefile
Normal file
40
audio/mpdscribble/Makefile
Normal file
|
@ -0,0 +1,40 @@
|
|||
# Created by: Stepan Zastupov [RedChrom] <redchrom@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mpdscribble
|
||||
PORTVERSION= 0.22
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://www.musicpd.org/download/${PORTNAME}/${PORTVERSION}/
|
||||
|
||||
MAINTAINER= freebsdbugs@tungol.org
|
||||
COMMENT= Musicpd last.fm client
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS+= libmpdclient.so:audio/libmpdclient
|
||||
|
||||
USES= pkgconfig tar:bzip2
|
||||
USE_GNOME= glib20
|
||||
GNU_CONFIGURE= yes
|
||||
USE_RC_SUBR= mpdscribble
|
||||
|
||||
OPTIONS_DEFINE= SOUP DOCS
|
||||
SOUP_DESC= Use libsoup instead of libcurl
|
||||
|
||||
SOUP_LIB_DEPENDS= libsoup-2.4.so:${PORTSDIR}/devel/libsoup
|
||||
SOUP_CONFIGURE_ON= --with-http-client=soup
|
||||
SOUP_LIB_DEPENDS_OFF= libcurl.so:ftp/curl
|
||||
SOUP_CONFIGURE_OFF= --with-http-client=curl
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/mpdscribble ${STAGEDIR}${PREFIX}/bin/mpdscribble
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/mpdscribble.1 ${STAGEDIR}${MANPREFIX}/man/man1/mpdscribble.1
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/mpdscribble.conf ${STAGEDIR}${PREFIX}/etc/mpdscribble.conf.sample
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for file in AUTHORS NEWS README
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
2
audio/mpdscribble/distinfo
Normal file
2
audio/mpdscribble/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (mpdscribble-0.22.tar.bz2) = 1cde2b5f8c70f0e3e6f059d01bf0b0f2eac2b29fbcd14b01a8a5103e603feb41
|
||||
SIZE (mpdscribble-0.22.tar.bz2) = 116981
|
26
audio/mpdscribble/files/mpdscribble.in
Normal file
26
audio/mpdscribble/files/mpdscribble.in
Normal file
|
@ -0,0 +1,26 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
|
||||
# PROVIDE: mpdscribble
|
||||
# REQUIRE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# Add the following line to /etc/rc.conf to enable mpdscribble:
|
||||
#
|
||||
#mpdscribble_enable="YES"
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=mpdscribble
|
||||
rcvar=mpdscribble_enable
|
||||
|
||||
command=%%PREFIX%%/bin/mpdscribble
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${mpdscribble_enable="NO"}
|
||||
: ${mpdscribble_user="nobody"}
|
||||
|
||||
command_args="--daemon-user ${mpdscribble_user}"
|
||||
|
||||
run_rc_command "$1"
|
4
audio/mpdscribble/pkg-descr
Normal file
4
audio/mpdscribble/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
|||
mpdscribble is a music player daemon client which submits information about
|
||||
tracks being played to Last.fm (formerly audioscrobbler).
|
||||
|
||||
WWW: http://mpd.wikia.com/wiki/Client:Mpdscribble
|
6
audio/mpdscribble/pkg-plist
Normal file
6
audio/mpdscribble/pkg-plist
Normal file
|
@ -0,0 +1,6 @@
|
|||
bin/mpdscribble
|
||||
@sample etc/mpdscribble.conf.sample
|
||||
man/man1/mpdscribble.1.gz
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
Loading…
Reference in a new issue