summaryrefslogtreecommitdiff
path: root/multimedia/musikcube/Makefile
blob: 61de2bf8592c13b3a9b440eed2941d3398c587a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

PORTNAME=	musikcube
DISTVERSION=	0.96.5
PORTREVISION=	1
CATEGORIES=	multimedia audio

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Terminal-based music player, audio engine, metadata indexer, server

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg \
		libboost_system.so:devel/boost-libs \
		libcurl.so:ftp/curl \
		libev.so:devel/libev \
		libfaad.so:audio/faad \
		libFLAC.so:audio/flac \
		libmicrohttpd.so:www/libmicrohttpd \
		libmp3lame.so:audio/lame \
		libogg.so:audio/libogg \
		libsndio.so:audio/sndio \
		libtag.so:audio/taglib \
		libvorbis.so:audio/libvorbis

USES=		cmake:noninja compiler:c++14-lang pkgconfig ssl

USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	clangen
LDFLAGS+=	-lncursesw -lpanelw -ltinfow

.include <bsd.port.options.mk>

.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1300079
USES+=		ncurses
.else
USES+=		ncurses:port
CFLAGS+=	-I${LOCALBASE}/include/ncurses
.endif

.include <bsd.port.mk>