Ncmpcpp is almost exact clone of ncmpc but it contains some

new features ncmpc doesn't have. It's been also rewritten
from scratch in C++.

WWW:	http://unkart.ovh.org/ncmpcpp/

PR:		ports/126865
Submitted by:	Dennis Herrmann <adox at mcx2.org>
This commit is contained in:
Martin Wilke 2008-08-30 12:12:07 +00:00
parent 5d8d6cd137
commit 208683d9e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=219450
5 changed files with 77 additions and 0 deletions

View file

@ -455,6 +455,7 @@
SUBDIR += napster
SUBDIR += nas
SUBDIR += ncmpc
SUBDIR += ncmpcpp
SUBDIR += nekobee
SUBDIR += normalize
SUBDIR += nosefart

59
audio/ncmpcpp/Makefile Normal file
View file

@ -0,0 +1,59 @@
# New ports collection makefile for: ncmpcpp
# Date created: August 25 2008
# Whom: Dennis Herrmann <adox@mcx2.org>
#
# $FreeBSD$
#
PORTNAME= ncmpcpp
PORTVERSION= 0.2
CATEGORIES= audio
MASTER_SITES= http://unkart.ovh.org/ncmpcpp/ \
http://mirror.mcx2.org/
MAINTAINER= adox@mcx2.org
COMMENT= A ncurses mpd client, clone of ncmpc with some new features
LIB_DEPENDS= ncursesw.5:${PORTSDIR}/devel/ncurses
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_ICONV= yes
USE_GNOME= glib20
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-unicode
OPTIONS= CURL "Enable fetching lyrics from the Internet" on \
TAGLIB "Enable taglib support" off
.include <bsd.port.pre.mk>
PLIST_FILES= bin/ncmpcpp \
%%EXAMPLESDIR%%/ncmpcpprc.sample
PLIST_DIRS= %%EXAMPLESDIR%%
.if !defined(WITHOUT_CURL)
LIB_DEPENDS+= curl.4:${PORTSDIR}/ftp/curl
CONFIGURE_ARGS+= --with-curl
.else
CONFIGURE_ARGS+= --with-curl=no
.endif
.if !defined(WITH_TAGLIB)
LIB_DEPENDS+= tag:${PORTSDIR}/audio/taglib
CONFIGURE_ARGS+= --with-taglib
.else
CONFIGURE_ARGS+= --with-taglib=no
.endif
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpcpp ${PREFIX}/bin/
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/ncmpcpprc ${EXAMPLESDIR}/ncmpcpprc.sample
@${ECHO_MSG} ""
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG} ""
.include <bsd.port.post.mk>

3
audio/ncmpcpp/distinfo Normal file
View file

@ -0,0 +1,3 @@
MD5 (ncmpcpp-0.2.tar.bz2) = d2f67e5c2dccc0fcaac13b67a5011ed9
SHA256 (ncmpcpp-0.2.tar.bz2) = 77aa8bb89ea72e98d90e010f7c3075fd1b3660dd40706c69597463182990b19c
SIZE (ncmpcpp-0.2.tar.bz2) = 283557

5
audio/ncmpcpp/pkg-descr Normal file
View file

@ -0,0 +1,5 @@
Ncmpcpp is almost exact clone of ncmpc but it contains some
new features ncmpc doesn't have. It's been also rewritten
from scratch in C++.
WWW: http://unkart.ovh.org/ncmpcpp/

View file

@ -0,0 +1,9 @@
###########################################################################
ncmpcpp has been installed.
A default ncmpcpprc config has been installed to:
PREFIX/share/examples/ncmpcpprc.sample
For more information about ncmpcpp visit:
http://unkart.ovh.org/ncmpcpp
###########################################################################