2019-11-09 12:22:20 +01:00
|
|
|
# $NetBSD: Makefile,v 1.37 2019/11/09 11:22:20 nia Exp $
|
2004-05-03 12:05:58 +02:00
|
|
|
|
2019-11-09 12:22:20 +01:00
|
|
|
DISTNAME= ncmpc-0.36
|
2019-09-14 14:19:40 +02:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= https://musicpd.org/download/ncmpc/0/
|
|
|
|
EXTRACT_SUFX= .tar.xz
|
2004-05-03 12:05:58 +02:00
|
|
|
|
2019-09-14 14:19:40 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= https://musicpd.org/clients/ncmpc/
|
|
|
|
COMMENT= Fully featured musicpd client using curses
|
|
|
|
LICENSE= gnu-gpl-v2
|
2004-05-03 12:05:58 +02:00
|
|
|
|
2019-09-14 14:19:40 +02:00
|
|
|
USE_TOOLS+= pkg-config xgettext
|
|
|
|
USE_LANGUAGES= c c++14
|
|
|
|
FAKE_NCURSES= yes
|
|
|
|
|
2019-10-21 23:19:35 +02:00
|
|
|
PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool
|
2019-09-14 14:19:40 +02:00
|
|
|
|
|
|
|
MESON_ARGS+= -Dlirc=disabled
|
|
|
|
MESON_ARGS+= -Dhtml_manual=false
|
|
|
|
|
|
|
|
# C++14
|
|
|
|
GCC_REQD+= 4.9
|
2009-02-07 19:38:05 +01:00
|
|
|
|
2019-09-14 14:19:40 +02:00
|
|
|
# make stderr readable
|
|
|
|
CXXFLAGS+= -Wno-undef
|
2004-05-03 12:05:58 +02:00
|
|
|
|
2019-09-14 14:19:40 +02:00
|
|
|
LDFLAGS+= ${BUILDLINK_LDADD.curses}
|
|
|
|
|
|
|
|
LDFLAGS.SunOS+= -lintl
|
|
|
|
LDFLAGS.NetBSD+= -lintl
|
|
|
|
|
2019-09-14 16:02:32 +02:00
|
|
|
PYTHON_FOR_BUILD_ONLY= tool
|
|
|
|
|
2019-09-14 14:19:40 +02:00
|
|
|
SUBST_CLASSES+= py
|
|
|
|
SUBST_STAGE.py= pre-configure
|
|
|
|
SUBST_MESSAGE.py= Set Python version variables.
|
|
|
|
SUBST_FILES.py+= doc/meson.build
|
|
|
|
SUBST_VARS.py+= PYVERSSUFFIX
|
|
|
|
|
|
|
|
.include "options.mk"
|
2019-10-07 11:28:09 +02:00
|
|
|
.include "../../devel/meson/build.mk"
|
2011-02-27 16:10:38 +01:00
|
|
|
.include "../../audio/libmpdclient/buildlink3.mk"
|
2019-09-14 14:19:40 +02:00
|
|
|
.include "../../devel/boost-headers/buildlink3.mk"
|
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
|
|
.include "../../lang/python/tool.mk"
|
2019-10-21 23:19:35 +02:00
|
|
|
.include "../../lang/python/versioned_dependencies.mk"
|
2019-09-14 14:19:40 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2004-05-03 12:05:58 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|