summaryrefslogtreecommitdiff
path: root/audio/ezstream/Makefile
blob: a7dffcd299d2dcf38afe6a86cc0b0a448e10ee12 (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
# New ports collection makefile for: ezstream
# Date created:         27 Nov 2004
# Whom:                 Frank Laszlo <laszlof@vonostingroup.com>
#
# $FreeBSD$
#

PORTNAME=	ezstream
PORTVERSION=	0.2.0
CATEGORIES=	audio
MASTER_SITES=	http://svn.xiph.org/releases/ezstream/

MAINTAINER=	laszlof@vonostingroup.com
COMMENT=	A command line utility for streaming to icecast servers

LIB_DEPENDS=	shout.4:${PORTSDIR}/audio/libshout2 \
		vorbis.3:${PORTSDIR}/audio/libvorbis \
		xml2.5:${PORTSDIR}/textproc/libxml2

CONFIGURE_ENV=	CFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:15

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.	for DOC in ezstream_mp3.xml ezstream_reencoding_example_vorbis.xml \
		ezstream_reencoding_example_mp3.xml ezstream_vorbis.xml \
		ezstream_reencoding_example_theora.xml
		${INSTALL_DATA} ${WRKSRC}/conf/${DOC} ${DOCSDIR}
.	endfor
.endif

.include <bsd.port.mk>