freebsd-ports/audio/streamtranscoder/Makefile
Jean-Yves Lefort 61b8565a92 Add streamtranscoder.
streamTranscoder takes the output from
SHOUTcast/Icecast/Peercast/KasterBlaster servers or a soundcard input and
transcodes them to another SHOUTcast, Icecast, or Peercast server in MP3 or
Ogg Vorbis format. It can transcode the input audio by resampling or
re-encoding, as well as changing the format from MP3 to Ogg Vorbis (or vice
versa).

WWW: http://www.oddsock.org/tools/streamTranscoder/

PR:		ports/85459
Submitted by:	Mark Kane <mark@mkproductions.org>
2005-08-31 02:38:17 +00:00

40 lines
1 KiB
Makefile

# New ports collection makefile for: streamtranscoder
# Date created: 29 August 2005
# Whom: Mark Kane <mark@mkproductions.org>
#
# $FreeBSD$
#
PORTNAME= streamtranscoder
PORTVERSION= 1.2.8
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
LIB_DEPENDS= ogg:${PORTSDIR}/audio/libogg \
vorbis:${PORTSDIR}/audio/libvorbis \
mad:${PORTSDIR}/audio/libmad \
curl:${PORTSDIR}/ftp/curl \
mp3lame:${PORTSDIR}/audio/lame
USE_REINPLACE= yes
USE_LIBTOOL_VER=15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
PLIST_FILES= bin/streamTranscoder
PORTDOCS= AUTHORS README
post-patch:
@${REINPLACE_CMD} -e 's|-D_REENTRANT|${PTHREAD_CFLAGS}|g; \
s|-pthread|${PTHREAD_LIBS}|g; s|-O20|$$CFLAGS|g' \
${WRKSRC}/configure
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>