freebsd-ports/audio/icecast/Makefile
Stefan Eßer bcaf25a8c8 Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.

This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.

Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
cannot conflict with itself (due to logic in bsd.port.mk that
supresses the pattern match result in that case).

A few ports that set the conflicts variables depending on complex
conditions (e.g. port options), have been left unmodified, despite
probably containing outdated package names.

These changes should only affect the installation of locally built
ports, not the package building with poudriere. They should give an
early indication of the install conflict in cases where currently
the pkg command aborts an installation when it detects that an
existing file would be overwritten,

Approved by:	portmgr (implicit)
2022-01-10 16:15:39 +01:00

45 lines
1.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
CONFLICTS_INSTALL= icecast-kh
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>