summaryrefslogtreecommitdiff
path: root/audio/mpdas/Makefile
blob: 778a8b0fb62472105dcd09e5d24e9941cede6b61 (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
# $NetBSD: Makefile,v 1.1.1.1 2011/02/02 21:35:35 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_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"