Lines 1-6
Link Here
|
1 |
PORTNAME= ncmpc |
1 |
PORTNAME= ncmpc |
2 |
PORTVERSION= 0.48 |
2 |
DISTVERSION= 0.51 |
3 |
PORTREVISION= 1 |
|
|
4 |
CATEGORIES= audio |
3 |
CATEGORIES= audio |
5 |
MASTER_SITES= https://www.musicpd.org/download/ncmpc/0/ |
4 |
MASTER_SITES= https://www.musicpd.org/download/ncmpc/0/ |
6 |
|
5 |
|
Lines 11-25
WWW= https://www.musicpd.org/clients/ncmpc/
Link Here
|
11 |
LICENSE= GPLv2+ |
10 |
LICENSE= GPLv2+ |
12 |
LICENSE_FILE= ${WRKSRC}/COPYING |
11 |
LICENSE_FILE= ${WRKSRC}/COPYING |
13 |
|
12 |
|
14 |
LIB_DEPENDS= libmpdclient.so:audio/libmpdclient \ |
13 |
LIB_DEPENDS= libfmt.so:devel/libfmt \ |
|
|
14 |
libmpdclient.so:audio/libmpdclient \ |
15 |
libpcre2-8.so:devel/pcre2 |
15 |
libpcre2-8.so:devel/pcre2 |
16 |
|
16 |
|
17 |
USES= compiler:c++17-lang cpe iconv localbase:ldflags meson ncurses \ |
17 |
USES= compiler:c++17-lang cpe iconv localbase:ldflags meson ncurses \ |
18 |
pkgconfig tar:xz shebangfix |
18 |
pkgconfig python:env tar:xz shebangfix |
19 |
MESON_ARGS= -Dlirc=disabled |
19 |
CPE_VENDOR= ncmpc_project |
20 |
SHEBANG_GLOB= *.py |
20 |
SHEBANG_GLOB= *.py |
21 |
|
21 |
|
22 |
CPE_VENDOR= ncmpc_project |
22 |
EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/subprojects/ \ |
|
|
23 |
--no-same-owner --no-same-permissions |
24 |
|
25 |
PORTDOCS= * |
26 |
|
27 |
MESON_ARGS= -Depoll=false \ |
28 |
-Deventfd=false \ |
29 |
-Dsignalfd=false \ |
30 |
-Dlirc=disabled |
23 |
|
31 |
|
24 |
OPTIONS_DEFINE= COLORS DOCS LYRICS MANPAGES NLS |
32 |
OPTIONS_DEFINE= COLORS DOCS LYRICS MANPAGES NLS |
25 |
OPTIONS_DEFAULT= COLORS LYRICS MANPAGES |
33 |
OPTIONS_DEFAULT= COLORS LYRICS MANPAGES |
Lines 36-56
DOCS_MESON_TRUE= html_manual
Link Here
|
36 |
LYRICS_MESON_TRUE= lyrics_screen |
44 |
LYRICS_MESON_TRUE= lyrics_screen |
37 |
|
45 |
|
38 |
MANPAGES_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} |
46 |
MANPAGES_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} |
|
|
47 |
MANPAGES_USES= python:build |
39 |
MANPAGES_MAKE_ENV= PYTHON=${PYTHON_CMD} \ |
48 |
MANPAGES_MAKE_ENV= PYTHON=${PYTHON_CMD} \ |
40 |
SPHINX=sphinx-build-${PYTHON_VER} |
49 |
SPHINX=sphinx-build-${PYTHON_VER} |
41 |
MANPAGES_MESON_TRUE= manual |
50 |
MANPAGES_MESON_TRUE= manual |
42 |
MANPAGES_USES= python:build |
|
|
43 |
|
51 |
|
|
|
52 |
NLS_USES= gettext |
44 |
NLS_LDFLAGS= -lintl |
53 |
NLS_LDFLAGS= -lintl |
45 |
NLS_MESON_ENABLED= nls |
54 |
NLS_MESON_ENABLED= nls |
46 |
NLS_USES= gettext |
|
|
47 |
|
48 |
PORTDOCS= * |
49 |
|
50 |
.include <bsd.port.pre.mk> |
51 |
|
52 |
.if ${COMPILER_TYPE} == clang |
53 |
CPPFLAGS+= -Wno-error=enum-constexpr-conversion |
54 |
.endif |
55 |
|
55 |
|
56 |
.include <bsd.port.post.mk> |
56 |
.include <bsd.port.mk> |