View | Details | Raw Unified | Return to bug 225116
Collapse All | Expand All

(-)audio/ncmpc/Makefile (-10 / +9 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	ncmpc
4
PORTNAME=	ncmpc
5
PORTVERSION=	0.27
5
PORTVERSION=	0.29
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
Lines 14-20 Link Here
14
14
15
LIB_DEPENDS=	libmpdclient.so:audio/libmpdclient
15
LIB_DEPENDS=	libmpdclient.so:audio/libmpdclient
16
16
17
GNU_CONFIGURE=	yes
17
USES=		iconv localbase meson ncurses pkgconfig tar:xz
18
USE_GNOME=	glib20
18
USE_GNOME=	glib20
19
19
20
OPTIONS_DEFINE=	NLS LYRICS
20
OPTIONS_DEFINE=	NLS LYRICS
Lines 21-47 Link Here
21
OPTIONS_DEFAULT=	LYRICS
21
OPTIONS_DEFAULT=	LYRICS
22
LYRICS_DESC=	Compile with lyrics screen
22
LYRICS_DESC=	Compile with lyrics screen
23
23
24
USES=		iconv localbase ncurses pkgconfig
25
PLIST_FILES=	bin/ncmpc \
24
PLIST_FILES=	bin/ncmpc \
26
		man/man1/ncmpc.1.gz \
25
		man/man1/ncmpc.1.gz \
27
		%%EXAMPLESDIR%%/config \
26
		${EXAMPLESDIR}/config \
28
		%%EXAMPLESDIR%%/keys \
27
		${EXAMPLESDIR}/keys \
29
		%%EXAMPLESDIR%%/ncmpc.lirc
28
		${EXAMPLESDIR}/ncmpc.lirc
30
29
31
NLS_USES=		gettext
30
NLS_USES=		gettext
31
NLS_MESON_TRUE=	nls
32
32
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
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
34
.for language in ${LANGUAGES}
34
.for language in ${LANGUAGES}
35
NLS_PLIST_FILES+=share/locale/${language}/LC_MESSAGES/ncmpc.mo
35
NLS_PLIST_FILES+=share/locale/${language}/LC_MESSAGES/ncmpc.mo
36
.endfor
36
.endfor
37
NLS_CONFIGURE_OFF=--disable-nls
38
37
39
LYRICS_CONFIGURE_ENABLE=	lyrics-screen
38
LYRICS_MESON_TRUE=	lyrics_screen
40
LYRICS_PLIST_FILES=	lib/ncmpc/lyrics/10-hd.sh \
39
LYRICS_PLIST_FILES=	lib/ncmpc/lyrics/10-hd.sh \
41
		lib/ncmpc/lyrics/20-lyricwiki.rb
40
		lib/ncmpc/lyrics/20-lyricwiki.rb
42
41
43
do-install:
42
do-install:
44
	${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpc ${STAGEDIR}${PREFIX}/bin
43
	${INSTALL_PROGRAM} ${WRKSRC}/_build/ncmpc ${STAGEDIR}${PREFIX}/bin
45
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
44
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
46
	${INSTALL_DATA} ${WRKSRC}/doc/config.sample ${STAGEDIR}${EXAMPLESDIR}/config
45
	${INSTALL_DATA} ${WRKSRC}/doc/config.sample ${STAGEDIR}${EXAMPLESDIR}/config
47
	${INSTALL_DATA} ${WRKSRC}/doc/keys.sample ${STAGEDIR}${EXAMPLESDIR}/keys
46
	${INSTALL_DATA} ${WRKSRC}/doc/keys.sample ${STAGEDIR}${EXAMPLESDIR}/keys
Lines 51-57 Link Here
51
do-install-NLS-on:
50
do-install-NLS-on:
52
.for language in ${LANGUAGES}
51
.for language in ${LANGUAGES}
53
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${language}/LC_MESSAGES
52
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${language}/LC_MESSAGES
54
	${INSTALL_DATA} ${WRKSRC}/po/${language}.gmo \
53
	${INSTALL_DATA} ${WRKSRC}/po/${language}.po \
55
		${STAGEDIR}${PREFIX}/share/locale/${language}/LC_MESSAGES/ncmpc.mo
54
		${STAGEDIR}${PREFIX}/share/locale/${language}/LC_MESSAGES/ncmpc.mo
56
.endfor
55
.endfor
57
56
(-)audio/ncmpc/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1491502169
1
TIMESTAMP = 1515767012
2
SHA256 (ncmpc-0.27.tar.gz) = 24c880200c3f45f74f6df24a50b7ccf9646db2a72a6d586cdd89fc8d80fee5ac
2
SHA256 (ncmpc-0.29.tar.xz) = ef68a9b67172383ea80ee46579015109433fa058728812d2b0ebede660d85f12
3
SIZE (ncmpc-0.27.tar.gz) = 451786
3
SIZE (ncmpc-0.29.tar.xz) = 233876

Return to bug 225116