46d67ba12e
from maintainer Moritz Grimm <gtgbr@gmx.net>
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.2 2003/07/26 13:34:40 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::net/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>
|