2010-11-02 04:21:59 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2010/11/02 08:23:58 jasper Exp $
|
2005-02-19 15:49:51 -05:00
|
|
|
|
2007-07-21 04:09:31 -04:00
|
|
|
COMMENT= icecast source for streaming Ogg Vorbis
|
2005-02-19 15:49:51 -05:00
|
|
|
|
|
|
|
DISTNAME= ices-2.0.1
|
2010-07-12 18:07:37 -04:00
|
|
|
REVISION= 5
|
2005-02-19 15:49:51 -05:00
|
|
|
CATEGORIES= net audio
|
|
|
|
|
2007-07-21 04:09:31 -04:00
|
|
|
HOMEPAGE= http://www.icecast.org/ices.php
|
2005-02-19 15:49:51 -05:00
|
|
|
|
2007-07-21 04:09:31 -04:00
|
|
|
MAINTAINER= Moritz Grimm <mdgrimm@gmx.net>
|
2005-02-19 15:49:51 -05:00
|
|
|
|
2010-04-23 01:54:26 -04:00
|
|
|
# GPLv2
|
2005-02-19 15:49:51 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2010-07-12 18:07:37 -04:00
|
|
|
|
2010-04-23 01:54:26 -04:00
|
|
|
WANTLIB= c m ogg pthread sndio theora vorbis vorbisenc z
|
2005-02-19 15:49:51 -05:00
|
|
|
|
|
|
|
MASTER_SITES= http://downloads.xiph.org/releases/ices/
|
|
|
|
|
2010-04-23 01:54:26 -04:00
|
|
|
AUTOCONF_VERSION=2.59
|
|
|
|
AUTOMAKE_VERSION=1.8
|
|
|
|
CONFIGURE_STYLE=autoconf automake
|
|
|
|
CONFIGURE_ARGS= --program-suffix=2 --disable-sun-audio
|
2010-11-02 04:21:59 -04:00
|
|
|
|
|
|
|
# Needs AC_PROG_LIBTOOL
|
|
|
|
USE_LIBTOOL= gnu
|
2005-02-19 15:49:51 -05:00
|
|
|
MODULES= converters/libiconv
|
2006-08-03 19:15:57 -04:00
|
|
|
LIB_DEPENDS= shout.>=3::net/libshout \
|
|
|
|
speex.>=4::audio/speex \
|
|
|
|
xml2.>=9::textproc/libxml
|
2005-02-19 15:49:51 -05:00
|
|
|
|
|
|
|
SEPARATE_BUILD= simple
|
|
|
|
|
2010-04-23 01:54:26 -04:00
|
|
|
post-extract:
|
|
|
|
cp ${FILESDIR}/im_sndio.{c,h} ${WRKSRC}/src/
|
|
|
|
cp ${FILESDIR}/ices-sndio.xml ${WRKSRC}/conf/
|
|
|
|
|
|
|
|
AUTO_ENV= AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION}
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@echo "Running aclocal-${AUTOMAKE_VERSION} in ${WRKSRC}"
|
|
|
|
@cd ${WRKSRC}; ${AUTO_ENV} aclocal -I m4
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@echo "Running automake-${AUTOMAKE_VERSION} in ${WRKSRC}"
|
|
|
|
@cd ${WRKSRC}; ${AUTO_ENV} automake --foreign
|
2005-02-19 15:49:51 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|