blob: 15260f98594657eb0cec81e92cb2f0390444a41b (
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
39
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: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>
|