aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libshout2/Makefile
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-01-16 04:40:48 +0800
committerarved <arved@FreeBSD.org>2003-01-16 04:40:48 +0800
commiteb44e8a1c2e9eab25d2af29f0f068587aecea7ad (patch)
treeaf207193aa433f902e6c41ba55942336656b9db0 /audio/libshout2/Makefile
parentcc61aa103cf5b4bdec3cad99030ca5520507232f (diff)
downloadfreebsd-ports-gnome-eb44e8a1c2e9eab25d2af29f0f068587aecea7ad.tar.gz
freebsd-ports-gnome-eb44e8a1c2e9eab25d2af29f0f068587aecea7ad.tar.zst
freebsd-ports-gnome-eb44e8a1c2e9eab25d2af29f0f068587aecea7ad.zip
Complete Repocopy from audio/libshout -> audio/libshout2, audio/icecast -> audio/icecast2.
Update to a development Snapshot of icecast2. The new icecast2 protocol supports ogg-vorbis streaming. PR: 45250, 45251 Submitted by: Michael Nottebrock <michaelnottebrock@gmx.net>
Diffstat (limited to 'audio/libshout2/Makefile')
-rw-r--r--audio/libshout2/Makefile37
1 files changed, 32 insertions, 5 deletions
diff --git a/audio/libshout2/Makefile b/audio/libshout2/Makefile
index 112498c4fdfd..673a9be0d872 100644
--- a/audio/libshout2/Makefile
+++ b/audio/libshout2/Makefile
@@ -5,15 +5,42 @@
# $FreeBSD$
#
-PORTNAME= libshout
-PORTVERSION= 1.0.7
+PORTNAME= libshout2
+PORTVERSION= 20021112
CATEGORIES= audio net
-MASTER_SITES= http://developer.icecast.org/libshout/releases/
+MASTER_SITES= http://tigress.com/lofi/ \
+ http://lofi.dyndns.org/
+DISTNAME= libshout-devel-${PORTVERSION}
-MAINTAINER= zach@pabst.bendnet.com
+MAINTAINER= michaelnottebrock@gmx.net
+LIB_DEPENDS= ogg.4:${PORTSDIR}/audio/libogg \
+ vorbis.2:${PORTSDIR}/audio/libvorbis
+
+CONFIGURE_ENV= CFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
-PLIST_SUB+= PORTVERSION=${PORTVERSION}
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+USE_REINPLACE= yes
+
+WRKSRC= ${WRKDIR}/libshout
+
+post-configure:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|'\
+ ${WRKSRC}/examples/Makefile
+ @${REINPLACE_CMD} -E -e 's|(INCLUDES \=.*)|\1 -I${LOCALBASE}/include|'\
+ ${WRKSRC}/src/Makefile
+ @${REINPLACE_CMD} -e 's|-O20|${CFLAGS}|' ${WRKSRC}/examples/Makefile \
+ ${WRKSRC}/include/Makefile \
+ ${WRKSRC}/include/shout/Makefile \
+ ${WRKSRC}/src/avl/Makefile \
+ ${WRKSRC}/src/httpp/Makefile \
+ ${WRKSRC}/src/net/Makefile \
+ ${WRKSRC}/src/timing/Makefile \
+ ${WRKSRC}/src/thread/Makefile \
+ ${WRKSRC}/src/Makefile \
+ ${WRKSRC}/Makefile
.include <bsd.port.mk>