blob: 8216cd5b457a5c93f0bf480925418bc06476d0df (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Created by: Mark Kane <mark@mkproductions.org>
# $FreeBSD$
PORTNAME= streamtranscoder
PORTVERSION= 1.2.8
PORTREVISION= 13
CATEGORIES= audio
MASTER_SITES= http://www.oddsock.org/tools/streamTranscoder/
MAINTAINER= mark@mkproductions.org
COMMENT= Transcode and stream audio to a SHOUTcast/Icecast/Peercast server
BROKEN= Unfetchable
LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg \
libvorbis.so:${PORTSDIR}/audio/libvorbis \
libmad.so:${PORTSDIR}/audio/libmad \
libcurl.so:${PORTSDIR}/ftp/curl \
libmp3lame.so:${PORTSDIR}/audio/lame
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/streamTranscoder
PORTDOCS= AUTHORS README
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|-O20|$$CFLAGS|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/<curl\/types.h>/d' \
${WRKSRC}/aclocal.m4 ${WRKSRC}/configure \
${WRKSRC}/src/libtranscoder/transcurl.cpp
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|