freebsd-ports/audio/streamtranscoder/Makefile
Daniel Engberg e3a7ca28c8 */*: Remove BROKEN in all ports that uses bsdforge.com for MASTER_SITES
Site is now back up

Reported by:	Jamie Landeg-Jones <jamie@catflap.org>, Chris <portmaster@bsdforge.com>
Approved by:	portmgr (blanket)
2024-01-14 00:30:23 +01:00

39 lines
1 KiB
Makefile

PORTNAME= streamtranscoder
PORTVERSION= 1.2.8
PORTREVISION= 14
CATEGORIES= audio
MASTER_SITES= https://BSDforge.com/projects/source/audio/streamtranscoder/
MAINTAINER= mark@mkproductions.org
COMMENT= Transcode and stream audio to a SHOUTcast/Icecast/Peercast server
WWW= https://BSDforge.com/projects/audio/streamTranscoder/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libogg.so:audio/libogg \
libvorbis.so:audio/libvorbis \
libmad.so:audio/libmad \
libcurl.so:ftp/curl \
libmp3lame.so:audio/lame
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/streamTranscoder
PORTDOCS= AUTHORS README
OPTIONS_DEFINE= DOCS
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>