View | Details | Raw Unified | Return to bug 88186
Collapse All | Expand All

(-)audio/darkice/Makefile (-4 / +23 lines)
Lines 7-13 Link Here
7
#
7
#
8
8
9
PORTNAME=	darkice
9
PORTNAME=	darkice
10
PORTVERSION=	0.15
10
PORTVERSION=	0.16
11
CATEGORIES=	audio net
11
CATEGORIES=	audio net
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 15-21 Link Here
15
MAINTAINER=	ports@FreeBSD.org
15
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	An IceCast, IceCast2 and ShoutCast live audio streamer
16
COMMENT=	An IceCast, IceCast2 and ShoutCast live audio streamer
17
17
18
LIB_DEPENDS=	vorbis.3:${PORTSDIR}/audio/libvorbis
18
OPTIONS=	VORBIS "Ogg Vorbis support" on \
19
		LAME "LAME support for MP3" off \
20
		FAAD "FAAC support for AAC" off \
21
		JACK "Jack support" off
19
22
20
USE_REINPLACE=	yes
23
USE_REINPLACE=	yes
21
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
Lines 28-33 Link Here
28
MAN5=		darkice.cfg.5
31
MAN5=		darkice.cfg.5
29
PLIST_FILES=	bin/darkice etc/darkice.cfg
32
PLIST_FILES=	bin/darkice etc/darkice.cfg
30
33
34
.include <bsd.port.pre.mk>
35
36
.if defined(WITHOUT_VORBIS)
37
CONFIGURE_ARGS+=	--without-vorbis
38
.else
39
LIB_DEPENDS+=	vorbis.3:${PORTSDIR}/audio/libvorbis
40
.endif
41
31
.if defined(WITH_LAME)
42
.if defined(WITH_LAME)
32
LIB_DEPENDS+=	mp3lame.0:${PORTSDIR}/audio/lame
43
LIB_DEPENDS+=	mp3lame.0:${PORTSDIR}/audio/lame
33
CONFIGURE_ARGS+=	--with-lame-prefix=${LOCALBASE}
44
CONFIGURE_ARGS+=	--with-lame-prefix=${LOCALBASE}
Lines 35-40 Link Here
35
CONFIGURE_ARGS+=	--without-lame
46
CONFIGURE_ARGS+=	--without-lame
36
.endif
47
.endif
37
48
49
.if defined(WITH_FAAC)
50
LIB_DEPENDS+=	faac.0:${PORTSDIR}/audio/faac
51
CONFIGURE_ARGS+=	--with-faac-prefix=${LOCALBASE}
52
.else
53
CONFIGURE_ARGS+=	--without-faac
54
.endif
55
38
.if defined(WITH_JACK)
56
.if defined(WITH_JACK)
39
LIB_DEPENDS+=	jack.0:${PORTSDIR}/audio/jack
57
LIB_DEPENDS+=	jack.0:${PORTSDIR}/audio/jack
40
.else
58
.else
Lines 42-50 Link Here
42
.endif
60
.endif
43
61
44
post-patch:
62
post-patch:
45
	@${REINPLACE_CMD} -e 's|PTHREAD_CFLAGS=.*$$|PTHREAD_CFLAGS=|g ; \
63
	@${REINPLACE_CMD} -e '/test/s|==|=|g ; \
64
		s|PTHREAD_CFLAGS=.*$$|PTHREAD_CFLAGS=|g ; \
46
		s|PTHREAD_LIBS=.*$$|PTHREAD_LIBS=|g' ${WRKSRC}/configure
65
		s|PTHREAD_LIBS=.*$$|PTHREAD_LIBS=|g' ${WRKSRC}/configure
47
	@${REINPLACE_CMD} -e \
66
	@${REINPLACE_CMD} -e \
48
		's|-O2 -pedantic||g' ${WRKSRC}/src/Makefile.in
67
		's|-O2 -pedantic||g' ${WRKSRC}/src/Makefile.in
49
68
50
.include <bsd.port.mk>
69
.include <bsd.port.post.mk>
(-)audio/darkice/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (darkice-0.15.tar.gz) = 313470008e387b70745ae2d75d5626c9
1
MD5 (darkice-0.16.tar.gz) = c21709b72eefb01f658f3d09d3f360c4
2
SIZE (darkice-0.15.tar.gz) = 1181764
2
SIZE (darkice-0.16.tar.gz) = 1363664
(-)audio/darkice/pkg-descr (-6 / +15 lines)
Lines 1-8 Link Here
1
DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It takes
1
DarkIce is an IceCast, IceCast2 and ShoutCast live audio streamer. It
2
audio input from a sound card, encodes it into mp3 and/or Ogg Vorbis, and
2
records audio from an audio interface (e.g. sound card), encodes it and
3
sends the mp3 stream to one or more IceCast and/or ShoutCast servers, the
3
sends it to a stream server.
4
Ogg Vorbis stream to one or more IceCast2 servers. DarkIce uses lame as a
4
5
shared object as its mp3 encoder, and the Ogg Vorbis as its Ogg Vorbis
5
DarkIce can encode in the following formats:
6
encoder.
6
7
 mp3 - using the lame library
8
 Ogg Vorbis
9
 aac - using the faac library
10
11
DarkIce can send the encoded stream to the following streaming servers:
12
13
 ShoutCast
14
 IceCast 1.3.x and 2.x
15
 Darwin Streaming Server
7
16
8
WWW: http://darkice.sourceforge.net/
17
WWW: http://darkice.sourceforge.net/

Return to bug 88186