freebsd-ports/audio/icecast/Makefile
2021-07-01 04:43:32 +08:00

43 lines
1 KiB
Makefile

# Created by: Chip Marshall <chip@eboai.org>
PORTNAME= icecast
PORTVERSION= 2.4.4
PORTEPOCH= 1
CATEGORIES= audio net
MASTER_SITES= https://downloads.xiph.org/releases/icecast/:source \
https://ftp.osuosl.org/pub/xiph/releases/icecast/:source \
LOCAL/sunpoet/icecast:icon,source \
https://github.com/xiph/Icecast-Server/raw/master/web/:icon
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:source \
favicon.ico:icon
DIST_SUBDIR= icecast
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Streaming mp3/ogg-vorbis audio server
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:ftp/curl \
libogg.so:audio/libogg \
libspeex.so:audio/speex \
libtheora.so:multimedia/libtheora \
libvorbis.so:audio/libvorbis
USES= cpe gmake gnome localbase ssl
USE_GNOME= libxml2 libxslt
GNU_CONFIGURE= yes
USE_RC_SUBR= icecast
SUB_FILES= pkg-message
CPE_VENDOR= xiph
OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/favicon.ico ${STAGEDIR}${DATADIR}/web/
.include <bsd.port.mk>