summaryrefslogtreecommitdiff
path: root/audio/icecast-kh/Makefile
blob: 0e30c39aaee03c496000afed6e7c04b3a20e44ff (plain) (blame)
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
44
45
46
47
48
49
50
51
# Created by: Anes Mukhametov <anes@anes.su>

PORTNAME=	icecast
DISTVERSIONPREFIX=	icecast-
DISTVERSION=	2.4.0-kh15
CATEGORIES=	audio net
PKGNAMESUFFIX=	-kh

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Streaming mp3/ogg-vorbis audio server, KH branch

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libogg.so:audio/libogg \
		libtheora.so:multimedia/libtheora \
		libvorbis.so:audio/libvorbis

USES=		gmake gnome localbase pkgconfig ssl
USE_GITHUB=	yes
GH_ACCOUNT=	karlheyes
GH_PROJECT=	icecast-kh
USE_GNOME=	libxml2 libxslt
USE_RC_SUBR=	icecast

CONFLICTS_INSTALL=	icecast

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	OGG_PREFIX=${LOCALBASE}
# /usr/bin/ld: error: undefined symbol: ERR_get_error
LIBS+=		-L${OPENSSLLIB} -lcrypto

SUB_FILES=	pkg-message

OPTIONS_DEFINE=		CURL DOCS KATE SPEEX
OPTIONS_DEFAULT=	CURL KATE SPEEX

CURL_DESC=		Support Directory server interaction (YP) via curl
KATE_DESC=		Support Kate/Skeleton codec within Ogg streams
SPEEX_DESC=		Support Speex codec within Ogg streams

CURL_CONFIGURE_WITH=	curl=${LOCALBASE}
CURL_LIB_DEPENDS=	libcurl.so:ftp/curl

KATE_CONFIGURE_WITH=	kate
KATE_LIB_DEPENDS=	libkate.so:multimedia/libkate

SPEEX_CONFIGURE_WITH=	speex=${LOCALBASE}
SPEEX_LIB_DEPENDS=	libspeex.so:audio/speex

.include <bsd.port.mk>