1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/audio/mpdscribble/Makefile
Julien Laffaye e93d85f4d6 Update my e-mail to my FreeBSD one.
While I am here, use GOOGLE_CODE instead of ${MASTER_SITE_GOOGLE_CODE}

Approved by:	bapt (mentor)
2011-06-08 16:52:32 +00:00

54 lines
1.3 KiB
Makefile

# New ports collection makefile for: mpdscribble
# Date created: July 13 2006
# Whom: Stepan Zastupov [RedChrom] <redchrom@gmail.com>
#
# $FreeBSD$
#
PORTNAME= mpdscribble
PORTVERSION= 0.21
CATEGORIES= audio
MASTER_SITES= SF/musicpd/${PORTNAME}/${PORTVERSION}
MAINTAINER= jlaffaye@FreeBSD.org
COMMENT= Musicpd last.fm client
LIB_DEPENDS+= mpdclient.2:${PORTSDIR}/audio/libmpdclient
LICENSE= GPLv2
USE_BZIP2= yes
USE_GNOME= glib20 pkgconfig
GNU_CONFIGURE= yes
USE_RC_SUBR= mpdscribble
MAN1= mpdscribble.1
OPTIONS= SOUP "Use libsoup instead of libcurl" off
.include <bsd.port.pre.mk>
.if defined(WITH_SOUP)
LIB_DEPENDS+= soup-2.4.1:${PORTSDIR}/devel/libsoup
CONFIGURE_ARGS+= --with-http-client=soup
.else
LIB_DEPENDS+= curl.6:${PORTSDIR}/ftp/curl
CONFIGURE_ARGS+= --with-http-client=curl
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/mpdscribble ${PREFIX}/bin/mpdscribble
${INSTALL_MAN} ${WRKSRC}/doc/mpdscribble.1 ${MANPREFIX}/man/man1/mpdscribble.1
${INSTALL_DATA} ${WRKSRC}/doc/mpdscribble.conf ${PREFIX}/etc/mpdscribble.conf.sample
.if !exists(${PREFIX}/etc/mpdscribble.conf)
@(cd ${PREFIX}/etc && ${CP} mpdscribble.conf.sample mpdscribble.conf)
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in AUTHORS NEWS README
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>