aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ncmpc/Makefile
blob: e98861da1c6da11e2b0bb6873b8febc2599371d8 (plain) (blame)
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
39
40
41
42
43
44
45
46
# Created by: Mark Reidel <ports@mark.reidel.info>
# $FreeBSD$

PORTNAME=   ncmpc
PORTVERSION=    0.34
CATEGORIES= audio
MASTER_SITES=   http://www.musicpd.org/download/ncmpc/0/

MAINTAINER= laurent@nuxi.ca
COMMENT=    Ncurses client for the musicpd

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

LIB_DEPENDS=    libboost_system.so:devel/boost-libs \
        libmpdclient.so:audio/libmpdclient \
        libpcre.so:devel/pcre

USES=       compiler:c++14-lang iconv localbase:ldflags meson ncurses \
        pkgconfig tar:xz

OPTIONS_DEFINE=     COLORS DOCS LYRICS MANPAGES NLS
OPTIONS_DEFAULT=    COLORS LYRICS MANPAGES
OPTIONS_SUB=        yes

COLORS_DESC=        Compile with color support
LYRICS_DESC=        Compile with lyrics screen

COLORS_MESON_TRUE=  colors

DOCS_IMPLIES=       MANPAGES
DOCS_MESON_TRUE=    html_manual

LYRICS_MESON_TRUE=  lyrics_screen

MANPAGES_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}
MANPAGES_MAKE_ENV=  PYTHON=${PYTHON_CMD} \
            SPHINX=sphinx-build-${PYTHON_VER}
MANPAGES_MESON_TRUE=    manual
MANPAGES_USES=      python:build

NLS_LDFLAGS=        -lintl
NLS_MESON_ENABLED=  nls
NLS_USES=       gettext

.include <bsd.port.mk>