mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
48f4591035
- Clean up the Makefile. - Follow some upstream recommendations (--with-data-packaging=archive, --disable-renaming, -DICU_NO_USER_DATA_OVERRIDE). - Patch makefiles to install static libraries with INSTALL_DATA so they aren't stripped. - Patch config/mh-bsd-gcc to sync with config/mh-linux-gcc. - Fix endianness detection in ICU. The code wanted to use BYTE_ORDER defined in machine/endian.h, but this isn't visible because ICU is compiled with _XOPEN_SOURCE. Patch the code to use _BYTE_ORDER instead. - Compile ICU with C++11 compiler to enable move constructors. - Patch ICU to fix a problem with atomics in the case of a C++11 compiler without C++11 header <atomic> (like Clang on FreeBSD 9). - Bump all ports that depend on it due to library version change. - Add USES=compiler:c++0x to some ports that pick up -std=c++0x from ICU pkgconfig files. - Add USES=compiler:c++11-lib to graphics/libcdr01 because it also needs a C++11 runtime library now. Add this to all ports that depend on it so their executables load the right libstdc++.so on FreeBSD 9. PR: 205120 Exp-run by: antoine Approved by: portmgr (antoine)
58 lines
1.5 KiB
Makefile
58 lines
1.5 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ncmpcpp
|
|
PORTVERSION= 0.7.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://ncmpcpp.rybczak.net/stable/
|
|
|
|
MAINTAINER= yamagi@yamagi.org
|
|
COMMENT= ncurses mpd client, clone of ncmpc with some new features
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libmpdclient.so:audio/libmpdclient \
|
|
libfftw3.so:math/fftw3 \
|
|
libicudata.so:devel/icu \
|
|
libicuuc.so:devel/icu \
|
|
libboost_filesystem.so:devel/boost-libs
|
|
|
|
USES= compiler:c++11-lib iconv libtool localbase ncurses:port pkgconfig tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= glib20
|
|
LDFLAGS+= -lpthread
|
|
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:ftp/curl
|
|
CURL_CONFIGURE_WITH= curl
|
|
|
|
CLOCK_CONFIGURE_ENABLE= clock
|
|
|
|
UTF8_CONFIGURE_ENABLE= unicode
|
|
|
|
TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib
|
|
TAGLIB_CONFIGURE_WITH= taglib
|
|
|
|
OUTPUTS_CONFIGURE_ENABLE= outputs
|
|
|
|
VISUALIZER_BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3
|
|
VISUALIZER_CONFIGURE_ENABLE= visualizer
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpcpp ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|