openbsd-ports/net/icecast/Makefile

44 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.32 2006/02/05 15:53:14 alek Exp $
2000-08-28 12:14:20 -04:00
COMMENT= "server for streaming various media formats"
DISTNAME= icecast-2.3.1
CATEGORIES= net audio
2000-08-28 12:14:20 -04:00
HOMEPAGE= http://www.icecast.org/
MAINTAINER= Moritz Grimm <gtgbr@gmx.net>
# GPL
2000-08-28 12:14:20 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-15 19:31:20 -05:00
WANTLIB= c crypto iconv m ogg pthread ssl xml2 z
2000-08-28 12:14:20 -04:00
MASTER_SITES= http://downloads.xiph.org/releases/icecast/
2002-03-08 11:02:14 -05:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --localstatedir=/var --with-theora=${LOCALBASE}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_LIBTOOL= Yes
LIB_DEPENDS= curl.2::net/curl \
xslt.3::textproc/libxslt \
vorbis.3::audio/libvorbis \
speex.3::audio/speex \
theora.1::multimedia/libtheora
SEPARATE_BUILD= simple
2000-08-28 12:14:20 -04:00
post-build:
@sed -e 's,##PREFIX##,${TRUEPREFIX},g' < ${FILESDIR}/README.OpenBSD > \
${WRKBUILD}/README.OpenBSD
2000-08-28 12:14:20 -04:00
post-install:
${INSTALL_DATA} ${WRKBUILD}/README.OpenBSD \
${PREFIX}/share/doc/icecast/README.OpenBSD
2000-08-28 12:14:20 -04:00
.include <bsd.port.mk>