aboutsummaryrefslogtreecommitdiff
path: root/audio/icecast/Makefile
blob: f82c912d5a5b52ed51f26a393684c3d142ac994e (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
# Created by: Chip Marshall <chip@eboai.org>
# $FreeBSD$

PORTNAME=	icecast
PORTVERSION=	2.4.4
PORTEPOCH=	1
CATEGORIES=	audio net
MASTER_SITES=	https://downloads.xiph.org/releases/icecast/:source \
		https://svn.xiph.org/releases/icecast/:source \
		LOCAL/sunpoet/icecast:icon,source \
		https://github.com/xiph/Icecast-Server/raw/master/web/:icon
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:source \
		favicon.ico:icon
DIST_SUBDIR=	icecast
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Streaming mp3/ogg-vorbis audio server

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libcurl.so:ftp/curl \
		libogg.so:audio/libogg \
		libspeex.so:audio/speex \
		libtheora.so:multimedia/libtheora \
		libvorbis.so:audio/libvorbis

OPTIONS_DEFINE=	DOCS

USES=		cpe gmake gnome localbase ssl
USE_GNOME=	libxml2 libxslt

GNU_CONFIGURE=	yes
USE_RC_SUBR=	${PORTNAME}

SUB_FILES=	pkg-message

CPE_VENDOR=	xiph

post-install:
	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/favicon.ico ${STAGEDIR}${DATADIR}/web/

.include <bsd.port.mk>