1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/audio/icecast2/Makefile
Sunpoet Po-Chuan Hsieh d88f7966ba - Update to 2.4.0
- Simplify Makefile

Changes:	http://svn.xiph.org/icecast/trunk/icecast/ChangeLog
2014-05-17 16:42:02 +00:00

50 lines
1.3 KiB
Makefile

# Created by: Chip Marshall <chip@eboai.org>
# $FreeBSD$
PORTNAME= icecast2
PORTVERSION= 2.4.0
PORTEPOCH= 1
CATEGORIES= audio net ipv6
MASTER_SITES= http://downloads.xiph.org/releases/icecast/:source \
http://svn.xiph.org/releases/icecast/:source \
LOCAL/sunpoet:source \
http://www.icecast.org/:icon
DISTFILES= icecast-${PORTVERSION}${EXTRACT_SUFX}:source \
favicon.ico:icon
DIST_SUBDIR= icecast
EXTRACT_ONLY= icecast-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Streaming mp3/ogg-vorbis audio server
LICENSE= GPLv2
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
libshout.so:${PORTSDIR}/audio/libshout \
libspeex.so:${PORTSDIR}/audio/speex \
libtheora.so:${PORTSDIR}/multimedia/libtheora \
libvorbis.so:${PORTSDIR}/audio/libvorbis \
libxslt.so:${PORTSDIR}/textproc/libxslt
OPTIONS_DEFINE= DOCS
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV= OGG_PREFIX=${LOCALBASE}
GNU_CONFIGURE= yes
USE_RC_SUBR= ${PORTNAME}
USES= gmake
WRKSRC= ${WRKDIR}/icecast-${PORTVERSION}
DATADIR= ${PREFIX}/share/icecast
DOCSDIR= ${PREFIX}/share/doc/icecast
PLIST_FILES= bin/icecast \
etc/icecast.xml.sample
PORTDATA= *
PORTDOCS= *
SUB_FILES= pkg-message
post-install:
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/favicon.ico ${STAGEDIR}${DATADIR}/web/
.include <bsd.port.mk>