freebsd-ports/audio/ncmpcpp/Makefile
Martin Wilke 1efe26aaa0 - Update to 0.2.3
Changelog:
	* new screen - complex tag editor (with albums/directories view)
	* brand new song info screen (old one removed)
	* support for renaming files and directories
	* support for reading tags from filename
	* support for editing artist and album in media library
	* support for playlist renaming
	* support for following lyrics of now playing song
	* support for fetching artist's info from last.fm
	* fixed compilation for Mac OS X and *BSD
	* fixed compilation for older gcc versions
	* extended configuration (e.g. all colors can be user-defined)
	* 'repeat one song' mode works with random mode now
	* incremental seeking (old behaviour is still available through config)
	* a bunch of fixes and improvements

PR:		127521
Submitted by:	Dennis Herrmann <adox@mcx2.org> (maintainer)
2008-09-22 23:42:04 +00:00

68 lines
1.6 KiB
Makefile

# New ports collection makefile for: ncmpcpp
# Date created: August 25 2008
# Whom: Dennis Herrmann <adox@mcx2.org>
#
# $FreeBSD$
#
PORTNAME= ncmpcpp
PORTVERSION= 0.2.3
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 \
%%DOCSDIR%%/ncmpcpprc \
%%DOCSDIR%%/ncmpcpp_keys \
%%DOCSDIR%%/NEWS \
%%DOCSDIR%%/AUTHORS
PLIST_DIRS= %%DOCSDIR%%
.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/
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "installing additional documentation to ${DOCSDIR}"
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}/NEWS
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}/AUTHORS
${INSTALL_DATA} ${WRKSRC}/doc/ncmpcpprc ${DOCSDIR}/ncmpcpprc
${INSTALL_DATA} ${WRKSRC}/doc/ncmpcpp_keys ${DOCSDIR}/ncmpcpp_keys
.endif
@${ECHO_MSG} ""
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG} ""
.include <bsd.port.post.mk>