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

(-)Makefile (-19 / +9 lines)
Lines 1-28 Link Here
1
# Created by: Dennis Herrmann <adox@mcx2.org>
2
# $FreeBSD$
1
# $FreeBSD$
3
2
4
PORTNAME=	ncmpcpp
3
PORTNAME=	ncmpcpp
5
PORTVERSION=	0.5.10
4
PORTVERSION=	0.6.1
6
PORTREVISION=	4
7
CATEGORIES=	audio
5
CATEGORIES=	audio
8
MASTER_SITES=	http://unkart.ovh.org/ncmpcpp/ \
6
MASTER_SITES=	http://ncmpcpp.rybczak.net/stable/
9
		http://mirror.mcx2.org/
10
7
11
MAINTAINER=	dhn@FreeBSD.org
8
MAINTAINER=	dhn@FreeBSD.org
12
COMMENT=	ncurses mpd client, clone of ncmpc with some new features
9
COMMENT=	ncurses mpd client, clone of ncmpc with some new features
13
10
14
LIB_DEPENDS=	libmpdclient.so:${PORTSDIR}/audio/libmpdclient \
11
LIB_DEPENDS=	libmpdclient.so:${PORTSDIR}/audio/libmpdclient \
15
		libfftw3.so:${PORTSDIR}/math/fftw3
12
		libfftw3.so:${PORTSDIR}/math/fftw3 \
13
		libboost_filesystem.so:${PORTSDIR}/devel/boost-libs
16
14
17
USES=		iconv libtool ncurses pkgconfig tar:bzip2
15
USES=		compiler:c++11-lib iconv libtool ncurses pkgconfig tar:bzip2
18
USE_GCC=	any
19
GNU_CONFIGURE=	yes
16
GNU_CONFIGURE=	yes
20
USE_GNOME=	glib20
17
USE_GNOME=	glib20
21
CPPFLAGS+=	-I${LOCALBASE}/include
18
CPPFLAGS+=	-I${LOCALBASE}/include
22
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
19
LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
20
CONFIGURE_ENV=	BOOST_LIB_SUFFIX=""
23
21
24
OPTIONS_DEFINE=	CURL CLOCK UTF8 TAGLIB OUTPUTS VISUALIZER DOCS
22
OPTIONS_DEFINE=	CURL CLOCK UTF8 TAGLIB OUTPUTS VISUALIZER DOCS
25
OPTIONS_DEFAULT=	CURL CLOCK OUTPUTS VISUALIZER
23
OPTIONS_DEFAULT=	CURL CLOCK OUTPUTS TAGLIB UTF8 VISUALIZER
26
CURL_DESC=	Enable fetching lyrics from the Internet
24
CURL_DESC=	Enable fetching lyrics from the Internet
27
CLOCK_DESC=	clock-screen support
25
CLOCK_DESC=	clock-screen support
28
TAGLIB_DESC=	taglib support
26
TAGLIB_DESC=	taglib support
Lines 31-45 Link Here
31
29
32
.include <bsd.port.options.mk>
30
.include <bsd.port.options.mk>
33
31
34
PLIST_FILES=	bin/ncmpcpp \
35
		man/man1/ncmpcpp.1.gz \
36
		%%DOCSDIR%%/config \
37
		%%DOCSDIR%%/keys \
38
		%%DOCSDIR%%/NEWS \
39
		%%DOCSDIR%%/AUTHORS \
40
		%%DOCSDIR%%/COPYING
41
PLIST_DIRS=	%%DOCSDIR%%
42
43
.if ${PORT_OPTIONS:MCURL}
32
.if ${PORT_OPTIONS:MCURL}
44
LIB_DEPENDS+=	libcurl.so:${PORTSDIR}/ftp/curl
33
LIB_DEPENDS+=	libcurl.so:${PORTSDIR}/ftp/curl
45
CONFIGURE_ARGS+=	--with-curl
34
CONFIGURE_ARGS+=	--with-curl
Lines 91-98 Link Here
91
	${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}/NEWS
80
	${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}/NEWS
92
	${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}/AUTHORS
81
	${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}/AUTHORS
93
	${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}/COPYING
82
	${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}/COPYING
83
	${INSTALL_DATA} ${WRKSRC}/doc/bindings ${STAGEDIR}${DOCSDIR}/bindings
94
	${INSTALL_DATA} ${WRKSRC}/doc/config ${STAGEDIR}${DOCSDIR}/config
84
	${INSTALL_DATA} ${WRKSRC}/doc/config ${STAGEDIR}${DOCSDIR}/config
95
	${INSTALL_DATA} ${WRKSRC}/doc/keys ${STAGEDIR}${DOCSDIR}/keys
85
	${INSTALL_DATA} ${WRKSRC}/doc/ncmpcpp-completion.bash ${STAGEDIR}${DOCSDIR}/ncmpcpp-completion.bash
96
.endif
86
.endif
97
87
98
.include <bsd.port.post.mk>
88
.include <bsd.port.post.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (ncmpcpp-0.5.10.tar.bz2) = ff6d5376a2d9caba6f5bb78e68af77cefbdb2f04cd256f738e39f8ac9a79a4a8
1
SHA256 (ncmpcpp-0.6.1.tar.bz2) = 15a37e442a584050e50a4b5479b2af25f1f3556a747a604bad1a6020210a6a0c
2
SIZE (ncmpcpp-0.5.10.tar.bz2) = 381162
2
SIZE (ncmpcpp-0.6.1.tar.bz2) = 418332
(-)files/patch-src__status.cpp (+14 lines)
Line 0 Link Here
1
--- src/status.cpp_orig	2014-11-16 09:21:55.651181899 +0100
2
+++ src/status.cpp	2014-11-16 09:21:59.233203196 +0100
3
@@ -21,6 +21,8 @@
4
 #include <boost/date_time/posix_time/posix_time.hpp>
5
 #include <netinet/tcp.h>
6
 #include <netinet/in.h>
7
+#include <sys/types.h>
8
+#include <sys/socket.h>
9
 
10
 #include "browser.h"
11
 #include "charset.h"
12
native
13
text/plain
14
yes
(-)files/patch-src__visualizer.h (-11 lines)
Lines 1-11 Link Here
1
--- src/visualizer.h.orig	2012-04-01 20:49:09.000000000 +0400
2
+++ src/visualizer.h	2014-06-16 19:07:34.000000000 +0400
3
@@ -34,6 +34,8 @@
4
 # include <fftw3.h>
5
 #endif
6
 
7
+#include <sys/time.h>
8
+
9
 class Visualizer : public Screen<Window>
10
 {
11
 	public:
(-)pkg-message (-6 / +2 lines)
Lines 1-14 Link Here
1
###########################################################################
1
###########################################################################
2
ncmpcpp has been installed.
2
ncmpcpp has been installed.
3
3
4
Attention: ncmpcpp doesn't use ~/.ncmpcpprc and ~/.ncmpcpp_keys as config
4
Attention: ncmpcpp doesn't use ~/.ncmpcpp/keys anymore. It was replaced
5
files anymore. It's been using respectively ~/.ncmpcpp/config and
5
by the incompatible ~/.ncmpcpp/bindings.
6
~/.ncmpcpp/keys for this since ver. 0.2.4!
7
6
8
--------------------------------------------------------------------------
7
--------------------------------------------------------------------------
9
Attention: Marker for right alignment in song format has changed from %r
10
to $R since 0.4 version.
11
--------------------------------------------------------------------------
12
8
13
A default config has been installed to:
9
A default config has been installed to:
14
PREFIX/share/doc/ncmpcpp/config
10
PREFIX/share/doc/ncmpcpp/config
(-)pkg-plist (+11 lines)
Line 0 Link Here
1
bin/ncmpcpp
2
man/man1/ncmpcpp.1.gz
3
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
4
%%PORTDOCS%%%%DOCSDIR%%/COPYING
5
%%PORTDOCS%%%%DOCSDIR%%/NEWS
6
%%PORTDOCS%%%%DOCSDIR%%/bindings
7
%%PORTDOCS%%%%DOCSDIR%%/config
8
%%PORTDOCS%%%%DOCSDIR%%/ncmpcpp-completion.bash
9
text/plain
10
yes
11
native

Return to bug 195070