2008-08-30 12:12:07 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ncmpcpp
|
2015-07-10 16:32:18 +00:00
|
|
|
PORTVERSION= 0.6.5
|
2015-08-02 14:03:56 +00:00
|
|
|
PORTREVISION= 1
|
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
|
|
|
|
|
2013-12-11 14:35:36 +00:00
|
|
|
LIB_DEPENDS= libmpdclient.so:${PORTSDIR}/audio/libmpdclient \
|
2014-12-29 09:01:34 +00:00
|
|
|
libfftw3.so:${PORTSDIR}/math/fftw3 \
|
|
|
|
libboost_filesystem.so:${PORTSDIR}/devel/boost-libs
|
2010-01-08 21:56:36 +00:00
|
|
|
|
2014-12-29 09:01:34 +00:00
|
|
|
USES= compiler:c++11-lib iconv libtool ncurses 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
|
|
|
|
2014-12-29 09:01:34 +00:00
|
|
|
CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
|
|
|
|
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
|
|
|
|
2014-12-29 09:01:34 +00:00
|
|
|
TAGLIB_LIB_DEPENDS= libtag.so:${PORTSDIR}/audio/taglib
|
|
|
|
TAGLIB_CONFIGURE_WITH= taglib
|
2011-02-17 21:23:44 +00:00
|
|
|
|
2014-12-29 09:01:34 +00:00
|
|
|
OUTPUTS_CONFIGURE_ENABLE= outputs
|
|
|
|
|
|
|
|
VISUALIZER_BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3
|
|
|
|
VISUALIZER_CONFIGURE_ENABLE= visualizer
|
2009-09-12 21:36:04 +00:00
|
|
|
|
2013-05-06 15:34:17 +00:00
|
|
|
.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
|
|
|
|
|
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:29:59 +00:00
|
|
|
.include <bsd.port.mk>
|