mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
0335c38a4b
feature options define combo like auto/yes/no in a standand way. In other words, upstream projects of ports that use _MESON_YES are supposed to migrate to _MESON_ENABLED. https://mesonbuild.com/Build-options.html#features Reviewed by: tobik (implicit) Approved by: portmgr (mat) Differential Revision: https://reviews.freebsd.org/D19127
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# Created by: Mark Reidel <ports@mark.reidel.info>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ncmpc
|
|
PORTVERSION= 0.33
|
|
PORTREVISION= 2
|
|
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>
|