2013-08-21 19:42:57 +02:00
|
|
|
# Created by: Zach Zurflu <zach@pabst.bendnet.com>
|
2000-06-07 19:15:03 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libshout
|
2014-05-05 16:51:06 +02:00
|
|
|
PORTVERSION= 2.3.1
|
2000-06-07 19:15:03 +02:00
|
|
|
CATEGORIES= audio net
|
2014-05-05 16:51:06 +02:00
|
|
|
MASTER_SITES= http://downloads.xiph.org/releases/${PORTNAME}/ \
|
|
|
|
LOCAL/sunpoet
|
2000-06-07 19:15:03 +02:00
|
|
|
|
2012-02-02 02:26:41 +01:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
2008-11-08 16:13:27 +01:00
|
|
|
COMMENT= Connect and transmit data to an Icecast media streaming server
|
2003-10-10 10:07:11 +02:00
|
|
|
|
2014-05-05 16:51:06 +02:00
|
|
|
LICENSE= LGPL20
|
2000-06-07 19:15:03 +02:00
|
|
|
|
2014-05-05 16:51:06 +02:00
|
|
|
LIB_DEPENDS= libspeex.so:${PORTSDIR}/audio/speex \
|
|
|
|
libtheora.so:${PORTSDIR}/multimedia/libtheora \
|
|
|
|
libvorbis.so:${PORTSDIR}/audio/libvorbis
|
|
|
|
|
|
|
|
CONFLICTS= libshout2-[0-9]*
|
|
|
|
|
2014-07-25 17:36:31 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2000-06-07 19:15:03 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-10-02 17:31:31 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2014-05-05 16:51:06 +02:00
|
|
|
USES= gmake libtool pathfix pkgconfig
|
|
|
|
|
|
|
|
PORTDOCS= *
|
2008-11-08 16:13:27 +01:00
|
|
|
|
|
|
|
post-patch:
|
2014-05-05 16:51:06 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-ffast-math||g' ${WRKSRC}/configure
|
|
|
|
@${REINPLACE_CMD} -e 's|^Requires: |Requires.private: |' ${WRKSRC}/shout.pc.in
|
|
|
|
@${REINPLACE_CMD} -e '/^AM_CPPFLAGS = / s|^\(.*\) \(@XIPH_CPPFLAGS@\) \(.*\)$$|\1 \3 \2|' ${WRKSRC}/examples/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e 's|#ifdef IPV6_V6ONLY|#if defined(__BSD_VISIBLE) \&\& defined(IPV6_V6ONLY)|' ${WRKSRC}/src/net/sock.c
|
|
|
|
|
2000-06-07 19:15:03 +02:00
|
|
|
.include <bsd.port.mk>
|