freebsd-ports/audio/icecast2/Makefile

49 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: icecast
# Date created: 28 Jan 1999
# Whom: Chip Marshall <chip@eboai.org>
#
1999-08-25 06:36:31 +02:00
# $FreeBSD$
#
PORTNAME= icecast2
PORTVERSION= 2.3.2
PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= audio net ipv6
MASTER_SITES= http://downloads.xiph.org/releases/icecast/ \
http://svn.xiph.org/releases/icecast/
2004-01-08 19:25:49 +01:00
DISTNAME= icecast-${PORTVERSION}
MAINTAINER= sunpoet@sunpoet.net
2003-02-21 12:08:38 +01:00
COMMENT= A streaming mp3/ogg-vorbis audio server
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
shout.5:${PORTSDIR}/audio/libshout2 \
speex.1:${PORTSDIR}/audio/speex \
2007-10-09 20:20:07 +02:00
theora.0:${PORTSDIR}/multimedia/libtheora \
vorbis.4:${PORTSDIR}/audio/libvorbis \
xslt.2:${PORTSDIR}/textproc/libxslt
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_RC_SUBR= icecast2.sh
SUB_FILES+= pkg-message
2005-09-26 19:04:14 +02:00
CONFIGURE_ENV= OGG_PREFIX=${LOCALBASE} CFLAGS=-I${LOCALBASE}/include
DOCSDIR= ${PREFIX}/share/doc/icecast
2004-01-08 19:25:49 +01:00
WRKSRC= ${WRKDIR}/icecast-${PORTVERSION}
.include <bsd.port.pre.mk>
.if defined(NOPORTDOCS)
post-patch:
${REINPLACE_CMD} \
-e 's|SUBDIRS = src conf debian doc web admin win32 examples|SUBDIRS = src conf debian web admin win32 examples # doc|' \
-e 's| install-exec-am install-data-am| install-exec-am|' ${WRKSRC}/Makefile.in
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>