summaryrefslogtreecommitdiff
path: root/audio/mpdas/Makefile
blob: f1e9c9f66bbe42c9cf495fb593cfa4df8d81d3c1 (plain)
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
# $NetBSD: Makefile,v 1.2 2011/03/05 21:18:28 gls Exp $
#

DISTNAME=			mpdas-0.3.0
CATEGORIES=			audio
MASTER_SITES=		http://50hz.ws/mpdas/
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=			gls@NetBSD.org
HOMEPAGE=			http://50hz.ws/mpdas/
COMMENT=			Mpdas is an AudioScrobbler client for MPD written in C++
LICENSE=			modified-bsd

PKG_DESTDIR_SUPPORT=	user-destdir

USE_TOOLS+=			pkg-config
USE_LANGUAGES=		c++

INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1 ${DOCDIR} ${EGDIR}
RCD_SCRIPTS=		mpdas
DOCDIR=				share/doc/mpdas
EGDIR=				share/examples/mpdas

CONF_FILES+=		${EGDIR}/mpdasrc.example \
						${PKG_SYSCONFDIR}/mpdasrc

post-install:
	${INSTALL_DATA}	${WRKSRC}/README \
		${DESTDIR}${PREFIX}/${DOCDIR}
	${INSTALL_DATA}	${WRKSRC}/mpdasrc.example \
		${DESTDIR}${PREFIX}/${EGDIR}

.include "../../audio/libmpd/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"