openbsd-ports/net/ices/Makefile
sturm 4a80c3f4f4 Initial import of ices 0.3
Ices version 0 is a source client for streaming MP3 audio to Shoutcast,
Icecast v1 and v2 servers. Due to Perl being shipped on OpenBSD by
default, custom playlist handlers written in Perl are always supported
by this port.

from Moritz Grimm <gtgbr@gmx.net>, cleanup and patches from me

WWW: http://www.icecast.org/
2003-07-26 11:40:45 +00:00

48 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2003/07/26 11:40:45 sturm Exp $
COMMENT= "icecast source for streaming MP3"
DISTNAME= ices-0.3
CATEGORIES= net audio
HOMEPAGE= http://www.icecast.org/
MAINTAINER= Moritz Grimm <gtgbr@gmx.net>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://icecast.org/files/ices/
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-docdir=${LOCALBASE}/share/doc/ices \
--with-moddir=${LOCALBASE}/share/examples/ices \
--with-lame=${LOCALBASE} --with-vorbis=${LOCALBASE}
LIB_DEPENDS= mp3lame.0:lame-*:audio/lame,no_x11 \
shout.3::audio/libshout \
xml2.7::textproc/libxml
FLAVORS= python
FLAVOR?=
.if ${FLAVOR:L:Mpython}
PYTHON_VER= 2.2
CONFIGURE_ARGS+=--with-python=${LOCALBASE}/bin/python${PYTHON_VER}
BUILD_DEPENDS+= ${RUN_DEPENDS}
RUN_DEPENDS+= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
.else
CONFIGURE_ARGS+=--without-python
.endif
SEPARATE_BUILD= simple
post-install:
${INSTALL_DATA} ${WRKBUILD}/conf/ices.conf.dist \
${PREFIX}/share/examples/ices/ices.conf.dist
.include <bsd.port.mk>