blob: 819d9dbff42e99edadc2970a2574c4ce4ffc0589 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# $FreeBSD$
PORTNAME= ncmpcpp
PORTVERSION= 0.6.3
CATEGORIES= audio
MASTER_SITES= http://ncmpcpp.rybczak.net/stable/
MAINTAINER= dhn@FreeBSD.org
COMMENT= ncurses mpd client, clone of ncmpc with some new features
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libmpdclient.so:${PORTSDIR}/audio/libmpdclient \
libfftw3.so:${PORTSDIR}/math/fftw3 \
libboost_filesystem.so:${PORTSDIR}/devel/boost-libs
USES= compiler:c++11-lib iconv libtool ncurses pkgconfig tar:bzip2
GNU_CONFIGURE= yes
USE_GNOME= glib20
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
CONFIGURE_ENV= BOOST_LIB_SUFFIX=""
OPTIONS_DEFINE= CURL CLOCK DOCS OUTPUTS TAGLIB UTF8 VISUALIZER
OPTIONS_DEFAULT= CURL CLOCK OUTPUTS TAGLIB UTF8 VISUALIZER
CURL_DESC= Enable fetching lyrics from the Internet
CLOCK_DESC= clock-screen support
TAGLIB_DESC= taglib support
OUTPUTS_DESC= Enable outputs screen
VISUALIZER_DESC= Enable music visualizer screen
PLIST_FILES= bin/ncmpcpp \
man/man1/ncmpcpp.1.gz
PORTDOCS= AUTHORS COPYING NEWS bindings config
CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
CURL_CONFIGURE_WITH= curl
CLOCK_CONFIGURE_ENABLE= clock
UTF8_CONFIGURE_ENABLE= unicode
TAGLIB_LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib
TAGLIB_CONFIGURE_WITH= taglib
OUTPUTS_CONFIGURE_ENABLE= outputs
VISUALIZER_BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3
VISUALIZER_CONFIGURE_ENABLE= visualizer
.include <bsd.port.pre.mk>
.if ${NCURSESBASE} == /usr
# no need to use ncurses-config if we use ncurses from the base system
CONFIGURE_ARGS+= NCURSES_CONFIG=/usr/bin/true
.endif
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpcpp ${STAGEDIR}${PREFIX}/bin/
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/AUTHORS ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/bindings ${WRKSRC}/doc/config ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.post.mk>
|