c2d1a14c7c
- Bump PORTREVISION for ftp/curl shlib change - Add TEST_DEPENDS - Convert to new options framework - Adjust options: - Add COOKIES - Add CYASSL, NSS, POLARSSL, THREADED_RESOLVER, TLS_SRP [1] - Add GSSAPI and SPNEGO [2] - Remove KERBEROS4 - Rename LIBIDN to IDN - Remove TRACKMEMORY [1] - Sort option handler - Add SLAVEDIRS: ftp/curl-hiphop - Cosmetic change - Cleanup Makefile header - While I'm here, fix typo (PORTREVSION) in x11-wm/ede/Makefile Changes: http://curl.haxx.se/changes.html PR: ports/172325 (-exp run), ports/177369 (based on) [1] Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> [1], hrs (via email) [2] Exp run by: miwi
44 lines
1.1 KiB
Makefile
44 lines
1.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
|
|
PORTREVISION= 10
|
|
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
|
|
|
|
GNU_CONFIGURE= yes
|
|
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
|
|
@${REINPLACE_CMD} -e '/<curl\/types.h>/d' \
|
|
${WRKSRC}/aclocal.m4 ${WRKSRC}/configure \
|
|
${WRKSRC}/src/libtranscoder/transcurl.cpp
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|