freebsd-ports/audio/icecast-kh/Makefile
Niclas Zeising 39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00

76 lines
1.8 KiB
Makefile

# Created by: Anes Mukhametov <anes@anes.su>
# $FreeBSD$
PORTNAME= icecast
PORTVERSION= ${ICVERSION}.k${KH}
PORTREVISION= 1
CATEGORIES= audio net ipv6
PKGNAMESUFFIX= -kh
DISTNAME= ${PORTNAME}-${ICVERSION}-kh${KH}
MAINTAINER= anes@anes.su
COMMENT= Streaming mp3/ogg-vorbis audio server, KH branch
LICENSE= GPLv2
LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg \
libtheora.so:${PORTSDIR}/multimedia/libtheora \
libvorbis.so:${PORTSDIR}/audio/libvorbis \
libxml2.so:${PORTSDIR}/textproc/libxml2 \
libxslt.so:${PORTSDIR}/textproc/libxslt
USE_GITHUB= yes
GH_ACCOUNT= karlheyes
GH_PROJECT= icecast-kh
GH_TAGNAME= icecast-${ICVERSION}-kh${KH}
GH_COMMIT= dde3bc0
USES= gmake pkgconfig
GNU_CONFIGURE= yes
USE_RC_SUBR= ${PORTNAME}
SUB_FILES= pkg-message
CONFIGURE_ENV= OGG_PREFIX=${LOCALBASE}
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
ICVERSION= 2.3.3
KH= 10
OPTIONS_DEFINE= CURL DOCS KATE SPEEX SSL_PORT
OPTIONS_DEFAULT= CURL KATE SPEEX
CURL_DESC= Support Directory server interaction (YP) via curl
KATE_DESC= Support Kate/Skeleton codec within Ogg streams
SPEEX_DESC= Support Speex codec within Ogg streams
SSL_PORT_DESC= Use OpenSSL from ports instead of one in the base
CONFLICTS_INSTALL= icecast-[0-9]* icecast2-[0-9]*
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCURL}
BUILD_DEPENDS+= curl>=7.10:${PORTSDIR}/ftp/curl
CONFIGURE_ARGS+= --with-curl=${LOCALBASE}
.else
CONFIGURE_ARGS+= --without-curl
.endif
.if ${PORT_OPTIONS:MKATE}
LIB_DEPENDS+= libkate.so:${PORTSDIR}/multimedia/libkate
.else
CONFIGURE_ARGS+= --without-kate
.endif
.if ${PORT_OPTIONS:MSPEEX}
BUILD_DEPENDS+= speex>=1:${PORTSDIR}/audio/speex
CONFIGURE_ARGS+= --with-speex=${LOCALBASE}
.else
CONFIGURE_ARGS+= --without-speex
.endif
.if ${PORT_OPTIONS:MSSL_PORT}
WITH_OPENSSL_PORT= yes
.else
WITH_OPENSSL_BASE= yes
.endif
.include <bsd.port.mk>