freebsd-ports/audio/icecast2/Makefile
Mathieu Arnold 7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00

52 lines
1.3 KiB
Makefile

# Created by: Chip Marshall <chip@eboai.org>
# $FreeBSD$
PORTNAME= icecast2
PORTVERSION= 2.4.3
PORTEPOCH= 1
CATEGORIES= audio net ipv6
MASTER_SITES= http://downloads.xiph.org/releases/icecast/:source \
http://svn.xiph.org/releases/icecast/:source \
LOCAL/sunpoet/icecast:icon,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
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:ftp/curl \
libshout.so:audio/libshout \
libspeex.so:audio/speex \
libtheora.so:multimedia/libtheora \
libvorbis.so:audio/libvorbis \
libxslt.so:textproc/libxslt
OPTIONS_DEFINE= DOCS
CONFIGURE_ENV= OGG_PREFIX=${LOCALBASE}
GNU_CONFIGURE= yes
USE_RC_SUBR= ${PORTNAME}
USES= cpe 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
CPE_VENDOR= xiph
CPE_PRODUCT= icecast
post-install:
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/favicon.ico ${STAGEDIR}${DATADIR}/web/
.include <bsd.port.mk>