summaryrefslogtreecommitdiff
path: root/audio/musicpc/Makefile
blob: d7d38e342a6ba5d96ed8ef09b6b1bd2031612df5 (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
# Created by: Mark Reidel <ports@mark.reidle.info>
# $FreeBSD$

PORTNAME=	musicpc
DISTVERSION=	0.33
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	http://www.musicpd.org/download/mpc/0/
DISTNAME=	mpc-${PORTVERSION}

MAINTAINER=	uzsolt@uzsolt.hu
COMMENT=	Command line client for the musicpd

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libmpdclient.so:audio/libmpdclient

USES=		meson pkgconfig tar:xz

MESON_ARGS=	--mandir=${MANPREFIX}

OPTIONS_DEFINE=	DOCS ICONV
OPTIONS_DEFAULT=	DOCS ICONV

DOCS_USES=	python:env
DOCS_BUILD_DEPENDS=	${PY_SPHINX}
DOCS_MESON_ENABLED=	documentation

ICONV_USES=	iconv
ICONV_LDFLAGS=	-L${ICONV_PREFIX}/lib ${ICONV_LIB}
ICONV_MESON_ENABLED=	iconv

PORTDOCS=	*

.include <bsd.port.mk>