2008-08-30 12:12:07 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ncmpcpp
|
2016-04-21 18:46:45 +00:00
|
|
|
PORTVERSION= 0.7.4
|
2008-08-30 12:12:07 +00:00
|
|
|
CATEGORIES= audio
|
2014-12-29 09:01:34 +00:00
|
|
|
MASTER_SITES= http://ncmpcpp.rybczak.net/stable/
|
2008-08-30 12:12:07 +00:00
|
|
|
|
2015-05-21 09:20:34 +00:00
|
|
|
MAINTAINER= yamagi@yamagi.org
|
2014-06-09 11:21:52 +00:00
|
|
|
COMMENT= ncurses mpd client, clone of ncmpc with some new features
|
2008-08-30 12:12:07 +00:00
|
|
|
|
2015-03-25 19:15:26 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2016-04-01 13:29:15 +00:00
|
|
|
LIB_DEPENDS= libmpdclient.so:audio/libmpdclient \
|
|
|
|
libfftw3.so:math/fftw3 \
|
|
|
|
libboost_filesystem.so:devel/boost-libs
|
2010-01-08 21:56:36 +00:00
|
|
|
|
2015-11-15 16:21:01 +00:00
|
|
|
USES= compiler:c++11-lib iconv libtool ncurses:port pkgconfig tar:bzip2
|
2008-08-30 12:12:07 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GNOME= glib20
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2015-03-25 21:37:39 +00:00
|
|
|
LDFLAGS+= -lpthread -L${LOCALBASE}/lib
|
2014-12-29 09:01:34 +00:00
|
|
|
CONFIGURE_ENV= BOOST_LIB_SUFFIX=""
|
2008-08-30 12:12:07 +00:00
|
|
|
|
2014-12-29 09:01:34 +00:00
|
|
|
OPTIONS_DEFINE= CURL CLOCK DOCS OUTPUTS TAGLIB UTF8 VISUALIZER
|
|
|
|
OPTIONS_DEFAULT= CURL CLOCK OUTPUTS TAGLIB UTF8 VISUALIZER
|
2013-01-07 20:50:20 +00:00
|
|
|
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
|
2008-08-30 12:12:07 +00:00
|
|
|
|
|
|
|
PLIST_FILES= bin/ncmpcpp \
|
2014-12-29 09:01:34 +00:00
|
|
|
man/man1/ncmpcpp.1.gz
|
2015-03-25 19:15:26 +00:00
|
|
|
PORTDOCS= AUTHORS COPYING NEWS bindings config
|
2008-08-30 12:12:07 +00:00
|
|
|
|
2016-04-01 13:29:15 +00:00
|
|
|
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
|
2014-12-29 09:01:34 +00:00
|
|
|
CURL_CONFIGURE_WITH= curl
|
2009-02-08 21:38:49 +00:00
|
|
|
|
2014-12-29 09:01:34 +00:00
|
|
|
CLOCK_CONFIGURE_ENABLE= clock
|
2009-02-08 21:38:49 +00:00
|
|
|
|
2014-12-29 09:01:34 +00:00
|
|
|
UTF8_CONFIGURE_ENABLE= unicode
|
2008-08-30 12:12:07 +00:00
|
|
|
|
2016-04-01 13:29:15 +00:00
|
|
|
TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib
|
2014-12-29 09:01:34 +00:00
|
|
|
TAGLIB_CONFIGURE_WITH= taglib
|
2011-02-17 21:23:44 +00:00
|
|
|
|
2014-12-29 09:01:34 +00:00
|
|
|
OUTPUTS_CONFIGURE_ENABLE= outputs
|
|
|
|
|
2016-04-01 13:29:15 +00:00
|
|
|
VISUALIZER_BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3
|
2014-12-29 09:01:34 +00:00
|
|
|
VISUALIZER_CONFIGURE_ENABLE= visualizer
|
2009-09-12 21:36:04 +00:00
|
|
|
|
2015-08-19 13:41:51 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2008-08-30 12:12:07 +00:00
|
|
|
post-install:
|
2013-12-29 11:31:22 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpcpp ${STAGEDIR}${PREFIX}/bin/
|
2015-08-19 13:29:59 +00:00
|
|
|
post-install-DOCS-on:
|
2014-04-01 20:11:29 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-12-29 09:01:34 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/AUTHORS ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}
|
2015-03-25 19:15:26 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/bindings ${WRKSRC}/doc/config ${STAGEDIR}${DOCSDIR}/
|
2008-08-30 12:12:07 +00:00
|
|
|
|
2015-08-19 13:41:51 +00:00
|
|
|
.include <bsd.port.post.mk>
|