Lines 4-10
Link Here
|
4 |
PORTNAME= icecast |
4 |
PORTNAME= icecast |
5 |
DISTVERSIONPREFIX= icecast- |
5 |
DISTVERSIONPREFIX= icecast- |
6 |
DISTVERSION= ${ICVERSION}-kh${KH} |
6 |
DISTVERSION= ${ICVERSION}-kh${KH} |
7 |
PORTREVISION= 3 |
7 |
PORTREVISION= 4 |
8 |
CATEGORIES= audio net ipv6 |
8 |
CATEGORIES= audio net ipv6 |
9 |
PKGNAMESUFFIX= -kh |
9 |
PKGNAMESUFFIX= -kh |
10 |
|
10 |
|
Lines 12-17
Link Here
|
12 |
COMMENT= Streaming mp3/ogg-vorbis audio server, KH branch |
12 |
COMMENT= Streaming mp3/ogg-vorbis audio server, KH branch |
13 |
|
13 |
|
14 |
LICENSE= GPLv2 |
14 |
LICENSE= GPLv2 |
|
|
15 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
|
16 |
|
16 |
LIB_DEPENDS= libogg.so:audio/libogg \ |
17 |
LIB_DEPENDS= libogg.so:audio/libogg \ |
17 |
libtheora.so:multimedia/libtheora \ |
18 |
libtheora.so:multimedia/libtheora \ |
Lines 19-28
Link Here
|
19 |
libxml2.so:textproc/libxml2 \ |
20 |
libxml2.so:textproc/libxml2 \ |
20 |
libxslt.so:textproc/libxslt |
21 |
libxslt.so:textproc/libxslt |
21 |
|
22 |
|
22 |
USE_GITHUB= yes |
|
|
23 |
GH_ACCOUNT= karlheyes |
24 |
GH_PROJECT= icecast-kh |
25 |
|
26 |
USES= gmake pkgconfig ssl |
23 |
USES= gmake pkgconfig ssl |
27 |
GNU_CONFIGURE= yes |
24 |
GNU_CONFIGURE= yes |
28 |
USE_RC_SUBR= ${PORTNAME} |
25 |
USE_RC_SUBR= ${PORTNAME} |
Lines 31-37
Link Here
|
31 |
CFLAGS+= -I${LOCALBASE}/include |
28 |
CFLAGS+= -I${LOCALBASE}/include |
32 |
LDFLAGS+= -L${LOCALBASE}/lib |
29 |
LDFLAGS+= -L${LOCALBASE}/lib |
33 |
|
30 |
|
34 |
ICVERSION= 2.3.3 |
31 |
USE_GITHUB= yes |
|
|
32 |
GH_ACCOUNT= karlheyes |
33 |
GH_PROJECT= icecast-kh |
34 |
|
35 |
ICVERSION= 2.4.0 |
35 |
KH= 10 |
36 |
KH= 10 |
36 |
|
37 |
|
37 |
OPTIONS_DEFINE= CURL DOCS KATE SPEEX |
38 |
OPTIONS_DEFINE= CURL DOCS KATE SPEEX |
Lines 40-67
Link Here
|
40 |
KATE_DESC= Support Kate/Skeleton codec within Ogg streams |
41 |
KATE_DESC= Support Kate/Skeleton codec within Ogg streams |
41 |
SPEEX_DESC= Support Speex codec within Ogg streams |
42 |
SPEEX_DESC= Support Speex codec within Ogg streams |
42 |
|
43 |
|
43 |
CONFLICTS_INSTALL= icecast-[0-9]* icecast2-[0-9]* |
44 |
CURL_BUILD_DEPENDS= curl>=7.10:ftp/curl |
|
|
45 |
CURL_CONFIGURE_WITH= curl=${LOCALBASE} |
46 |
CURL_LIB_DEPENDS= libcurl.so:ftp/curl |
44 |
|
47 |
|
45 |
.include <bsd.port.options.mk> |
48 |
KATE_CONFIGURE_WITH= kate |
|
|
49 |
KATE_LIB_DEPENDS= libkate.so:multimedia/libkate |
46 |
|
50 |
|
47 |
.if ${PORT_OPTIONS:MCURL} |
51 |
SPEEX_BUILD_DEPENDS= speex>=1:audio/speex |
48 |
BUILD_DEPENDS+= curl>=7.10:ftp/curl |
52 |
SPEEX_CONFIGURE_WITH= speex=${LOCALBASE} |
49 |
CONFIGURE_ARGS+= --with-curl=${LOCALBASE} |
53 |
SPEEX_LIB_DEPENDS= libspeex.so:audio/speex |
50 |
.else |
|
|
51 |
CONFIGURE_ARGS+= --without-curl |
52 |
.endif |
53 |
|
54 |
|
54 |
.if ${PORT_OPTIONS:MKATE} |
55 |
CONFLICTS_INSTALL= icecast-[0-9]* icecast2-[0-9]* |
55 |
LIB_DEPENDS+= libkate.so:multimedia/libkate |
|
|
56 |
.else |
57 |
CONFIGURE_ARGS+= --without-kate |
58 |
.endif |
59 |
|
56 |
|
60 |
.if ${PORT_OPTIONS:MSPEEX} |
57 |
.include <bsd.port.options.mk> |
61 |
BUILD_DEPENDS+= speex>=1:audio/speex |
|
|
62 |
CONFIGURE_ARGS+= --with-speex=${LOCALBASE} |
63 |
.else |
64 |
CONFIGURE_ARGS+= --without-speex |
65 |
.endif |
66 |
|
58 |
|
67 |
.include <bsd.port.mk> |
59 |
.include <bsd.port.mk> |