mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
1ada29ab1b
Submitted by: adamw Approved by: adamw (mentor, implicit)
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# 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>
|