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> |