summaryrefslogtreecommitdiffstats
path: root/audio/mpdas/Makefile
blob: 54ff02ca3be7df24d79ac1e48f822e0e38577dc2 (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
37
38
# Created by: hrkfrd@googlemail.com
# $FreeBSD$

PORTNAME=	mpdas
PORTVERSION=	0.3.0
PORTREVISION=	4
CATEGORIES=	audio
MASTER_SITES=	http://50hz.ws/mpdas/

MAINTAINER=	hrkfdn@gmail.com
COMMENT=	MPD AudioScrobbler written in C++ supporting the latest protocol

LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl \
		libmpd.so:${PORTSDIR}/audio/libmpd

USES=		pkgconfig
NO_STAGE=	yes
USE_BZIP2=	yes

USE_RC_SUBR=	mpdas

SUB_FILES=	pkg-message

PLIST_FILES=	bin/mpdas

MAN1=		mpdas.1
MANCOMPRESSED=	no

post-patch:
	@${REINPLACE_CMD} -e 's#/usr/local#${PREFIX}#g; \
		s#MANPREFIX#MAN_PREFIX#g' ${WRKSRC}/Makefile

post-install:
	@${ECHO_MSG}
	@${CAT} ${PKGMESSAGE}
	@${ECHO_MSG}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud