View | Details | Raw Unified | Return to bug 230721 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-41 / +15 lines)
Lines 2-12 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	ncmpc
4
PORTNAME=	ncmpc
5
PORTVERSION=	0.29
5
PORTVERSION=	0.30
6
CATEGORIES=	audio
6
CATEGORIES=	audio
7
MASTER_SITES=	http://www.musicpd.org/download/ncmpc/0/
7
MASTER_SITES=	http://www.musicpd.org/download/ncmpc/0/
8
8
9
MAINTAINER=	henrik@affekt.org
9
MAINTAINER=	laurent@nuxi.ca
10
COMMENT=	Ncurses client for the musicpd
10
COMMENT=	Ncurses client for the musicpd
11
11
12
LICENSE=	GPLv2+
12
LICENSE=	GPLv2+
Lines 14-63 Link Here
14
14
15
LIB_DEPENDS=	libmpdclient.so:audio/libmpdclient
15
LIB_DEPENDS=	libmpdclient.so:audio/libmpdclient
16
16
17
USES=		iconv localbase meson ncurses pkgconfig tar:xz
17
USES=		iconv localbase meson ncurses pkgconfig tar:xz compiler:c++14-lang
18
USE_GNOME=	glib20
18
USE_GNOME=	glib20
19
19
20
OPTIONS_DEFINE=	NLS LYRICS
20
MAKE_JOBS_UNSAFE=		yes
21
OPTIONS_DEFAULT=	LYRICS
22
LYRICS_DESC=	Compile with lyrics screen
23
21
24
PLIST_FILES=	bin/ncmpc \
22
OPTIONS_DEFINE=			NLS LYRICS MANPAGES
25
		man/man1/ncmpc.1.gz \
23
OPTIONS_DEFAULT=		LYRICS MANPAGES
26
		${EXAMPLESDIR}/config \
24
OPTIONS_SUB=			yes
27
		${EXAMPLESDIR}/keys \
28
		${EXAMPLESDIR}/ncmpc.lirc
29
25
30
NLS_USES=		gettext
26
LYRICS_DESC=			Compile with lyrics screen
31
NLS_MESON_TRUE=	nls
27
LYRICS_MESON_TRUE=		lyrics_screen
32
28
33
LANGUAGES=cs da de eo es fi fr gl he hu it ko nb nl pl pt_BR ru sk sv uk zh_CN
29
NLS_USES=			gettext
34
.for language in ${LANGUAGES}
30
NLS_MESON_TRUE=			nls
35
NLS_PLIST_FILES+=share/locale/${language}/LC_MESSAGES/ncmpc.mo
36
.endfor
37
31
38
LYRICS_MESON_TRUE=	lyrics_screen
32
MANPAGES_USES=			python
39
LYRICS_PLIST_FILES=	lib/ncmpc/lyrics/10-hd.sh \
33
MANPAGES_BUILD_DEPENDS=		${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR}
40
		lib/ncmpc/lyrics/20-lyricwiki.rb
34
MANPAGES_MAKE_ENV=		PYTHON=${PYTHON_CMD} \
35
				SPHINX=sphinx-build-${PYTHON_VER}
41
36
42
do-install:
43
	${INSTALL_PROGRAM} ${WRKSRC}/_build/ncmpc ${STAGEDIR}${PREFIX}/bin
44
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
45
	${INSTALL_DATA} ${WRKSRC}/doc/config.sample ${STAGEDIR}${EXAMPLESDIR}/config
46
	${INSTALL_DATA} ${WRKSRC}/doc/keys.sample ${STAGEDIR}${EXAMPLESDIR}/keys
47
	${INSTALL_DATA} ${WRKSRC}/doc/ncmpc.lirc ${STAGEDIR}${EXAMPLESDIR}
48
	${INSTALL_MAN} ${WRKSRC}/doc/ncmpc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
49
50
do-install-NLS-on:
51
.for language in ${LANGUAGES}
52
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${language}/LC_MESSAGES
53
	${INSTALL_DATA} ${WRKSRC}/po/${language}.po \
54
		${STAGEDIR}${PREFIX}/share/locale/${language}/LC_MESSAGES/ncmpc.mo
55
.endfor
56
57
do-install-LYRICS-on:
58
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/ncmpc/lyrics
59
	(cd ${WRKSRC}/lyrics && ${INSTALL_SCRIPT} \
60
		10-hd.sh 20-lyricwiki.rb \
61
		${STAGEDIR}${PREFIX}/lib/ncmpc/lyrics)
62
63
.include <bsd.port.mk>
37
.include <bsd.port.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1515767012
1
TIMESTAMP = 1534510290
2
SHA256 (ncmpc-0.29.tar.xz) = ef68a9b67172383ea80ee46579015109433fa058728812d2b0ebede660d85f12
2
SHA256 (ncmpc-0.30.tar.xz) = e3fe0cb58b8a77f63fb1645c2f974b334f1614efdc834ec698ee7d861f1b12a3
3
SIZE (ncmpc-0.29.tar.xz) = 233876
3
SIZE (ncmpc-0.30.tar.xz) = 245212
(-)pkg-plist (+63 lines)
Line 0 Link Here
1
bin/ncmpc
2
%%DOCSDIR%%/COPYING
3
%%DOCSDIR%%/AUTHORS
4
%%DOCSDIR%%/README.rst
5
%%DOCSDIR%%/keys.sample
6
%%DOCSDIR%%/ncmpc.lirc
7
%%DOCSDIR%%/NEWS
8
%%DOCSDIR%%/config.sample
9
10
%%LYRICS%%lib/ncmpc/lyrics/10-hd.sh
11
%%LYRICS%%lib/ncmpc/lyrics/20-lyricwiki.rb
12
13
%%MANPAGES%%share/man/man1/ncmpc.1
14
%%MANPAGES%%%%DOCSDIR%%/html/searchindex.js
15
%%MANPAGES%%%%DOCSDIR%%/html/objects.inv
16
%%MANPAGES%%%%DOCSDIR%%/html/_sources/index.rst.txt
17
%%MANPAGES%%%%DOCSDIR%%/html/search.html
18
%%MANPAGES%%%%DOCSDIR%%/html/_static/minus.png
19
%%MANPAGES%%%%DOCSDIR%%/html/_static/file.png
20
%%MANPAGES%%%%DOCSDIR%%/html/_static/ajax-loader.gif
21
%%MANPAGES%%%%DOCSDIR%%/html/_static/underscore.js
22
%%MANPAGES%%%%DOCSDIR%%/html/_static/basic.css
23
%%MANPAGES%%%%DOCSDIR%%/html/_static/alabaster.css
24
%%MANPAGES%%%%DOCSDIR%%/html/_static/searchtools.js
25
%%MANPAGES%%%%DOCSDIR%%/html/_static/underscore-1.3.1.js
26
%%MANPAGES%%%%DOCSDIR%%/html/_static/doctools.js
27
%%MANPAGES%%%%DOCSDIR%%/html/_static/jquery-3.1.0.js
28
%%MANPAGES%%%%DOCSDIR%%/html/_static/up-pressed.png
29
%%MANPAGES%%%%DOCSDIR%%/html/_static/websupport.js
30
%%MANPAGES%%%%DOCSDIR%%/html/_static/down.png
31
%%MANPAGES%%%%DOCSDIR%%/html/_static/plus.png
32
%%MANPAGES%%%%DOCSDIR%%/html/_static/pygments.css
33
%%MANPAGES%%%%DOCSDIR%%/html/_static/down-pressed.png
34
%%MANPAGES%%%%DOCSDIR%%/html/_static/comment.png
35
%%MANPAGES%%%%DOCSDIR%%/html/_static/comment-close.png
36
%%MANPAGES%%%%DOCSDIR%%/html/_static/comment-bright.png
37
%%MANPAGES%%%%DOCSDIR%%/html/_static/up.png
38
%%MANPAGES%%%%DOCSDIR%%/html/_static/jquery.js
39
%%MANPAGES%%%%DOCSDIR%%/html/.buildinfo
40
%%MANPAGES%%%%DOCSDIR%%/html/genindex.html
41
%%MANPAGES%%%%DOCSDIR%%/html/index.html
42
43
%%NLS%%share/locale/he/LC_MESSAGES/ncmpc.mo
44
%%NLS%%share/locale/cs/LC_MESSAGES/ncmpc.mo
45
%%NLS%%share/locale/nl/LC_MESSAGES/ncmpc.mo
46
%%NLS%%share/locale/fr/LC_MESSAGES/ncmpc.mo
47
%%NLS%%share/locale/nb/LC_MESSAGES/ncmpc.mo
48
%%NLS%%share/locale/gl/LC_MESSAGES/ncmpc.mo
49
%%NLS%%share/locale/hu/LC_MESSAGES/ncmpc.mo
50
%%NLS%%share/locale/zh_CN/LC_MESSAGES/ncmpc.mo
51
%%NLS%%share/locale/pl/LC_MESSAGES/ncmpc.mo
52
%%NLS%%share/locale/es/LC_MESSAGES/ncmpc.mo
53
%%NLS%%share/locale/eo/LC_MESSAGES/ncmpc.mo
54
%%NLS%%share/locale/it/LC_MESSAGES/ncmpc.mo
55
%%NLS%%share/locale/da/LC_MESSAGES/ncmpc.mo
56
%%NLS%%share/locale/sk/LC_MESSAGES/ncmpc.mo
57
%%NLS%%share/locale/uk/LC_MESSAGES/ncmpc.mo
58
%%NLS%%share/locale/de/LC_MESSAGES/ncmpc.mo
59
%%NLS%%share/locale/pt_BR/LC_MESSAGES/ncmpc.mo
60
%%NLS%%share/locale/ru/LC_MESSAGES/ncmpc.mo
61
%%NLS%%share/locale/ko/LC_MESSAGES/ncmpc.mo
62
%%NLS%%share/locale/fi/LC_MESSAGES/ncmpc.mo
63
%%NLS%%share/locale/sv/LC_MESSAGES/ncmpc.mo

Return to bug 230721