blob: a15ced50e02cba5589af8f6284f0083cb5621b6e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
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
WWW= http://mpd.wikia.com/wiki/Client:Mpdscribble
LICENSE= GPLv2
LIB_DEPENDS+= libmpdclient.so:audio/libmpdclient
USES= gnome 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: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>
|