View | Details | Raw Unified | Return to bug 144497 | Differences between
and this patch

Collapse All | Expand All

(-)cmus/Makefile (-6 / +15 lines)
Lines 6-16 Link Here
6
#
6
#
7
7
8
PORTNAME=	cmus
8
PORTNAME=	cmus
9
PORTVERSION=	2.2.0
9
PORTVERSION=	2.3.1
10
PORTREVISION=	4
11
CATEGORIES=	audio
10
CATEGORIES=	audio
12
MASTER_SITES=	http://onion.dynserv.net/~timo/files/ \
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
		http://mirror.greaterscope.net/cmus/
12
MASTER_SITE_SUBDIR=	${PORTNAME}
13
DISTNAME=	${PORTNAME}-v${PORTVERSION}
14
14
15
MAINTAINER=	h.skuhra@gmail.com
15
MAINTAINER=	h.skuhra@gmail.com
16
COMMENT=	Console-based music player with really cool features
16
COMMENT=	Console-based music player with really cool features
Lines 21-28 Link Here
21
HAS_CONFIGURE=	yes
21
HAS_CONFIGURE=	yes
22
CONFIGURE_ARGS+=prefix=${PREFIX} mandir=${MANPREFIX}/man \
22
CONFIGURE_ARGS+=prefix=${PREFIX} mandir=${MANPREFIX}/man \
23
		exampledir=${EXAMPLESDIR}
23
		exampledir=${EXAMPLESDIR}
24
CONFIGURE_ENV+=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
25
		LDFLAGS="-L${LOCALBASE}/lib"
26
24
27
OPTIONS=	FLAC "FLAC (Free Lossless Audio Codec) support" Off \
25
OPTIONS=	FLAC "FLAC (Free Lossless Audio Codec) support" Off \
28
		MAD "MPEG Audio Decoder (libmad) support" On \
26
		MAD "MPEG Audio Decoder (libmad) support" On \
Lines 36-41 Link Here
36
		WAVPACK "Wavpack support" Off \
34
		WAVPACK "Wavpack support" Off \
37
		FFMPEG "FFMPEG support" Off \
35
		FFMPEG "FFMPEG support" Off \
38
		LIBAO "Libao cross-platform audio library" Off \
36
		LIBAO "Libao cross-platform audio library" Off \
37
		PULSEAUDIO "Pulseaudio support" Off \
39
		ARTS "ARTS support" Off
38
		ARTS "ARTS support" Off
40
39
41
.include <bsd.port.pre.mk>
40
.include <bsd.port.pre.mk>
Lines 148-153 Link Here
148
PLIST_SUB+=	AO="@comment "
147
PLIST_SUB+=	AO="@comment "
149
.endif
148
.endif
150
149
150
.if defined(WITH_PULSEAUDIO)
151
LIB_DEPENDS+=	pulse:${PORTSDIR}/audio/pulseaudio
152
CONFIGURE_ARGS+=CONFIG_PULSE=y
153
PLIST_SUB+=	PULSEAUDIO=""
154
.else
155
CONFIGURE_ARGS+=CONFIG_PULSE=n
156
PLIST_SUB+=	PULSEAUDIO="@comment "
157
.endif
158
151
.if defined(WITH_ARTS)
159
.if defined(WITH_ARTS)
152
LIB_DEPENDS+=	artsc:${PORTSDIR}/audio/arts
160
LIB_DEPENDS+=	artsc:${PORTSDIR}/audio/arts
153
CONFIGURE_ARGS+=CONFIG_ARTS=y
161
CONFIGURE_ARGS+=CONFIG_ARTS=y
Lines 158-163 Link Here
158
.endif
166
.endif
159
167
160
MAN1=	cmus.1 cmus-remote.1
168
MAN1=	cmus.1 cmus-remote.1
169
MAN7=	cmus-tutorial.7
161
170
162
post-patch:
171
post-patch:
163
	@${REINPLACE_CMD} -e 's,doc/cmus/examples,examples/cmus,g' \
172
	@${REINPLACE_CMD} -e 's,doc/cmus/examples,examples/cmus,g' \
(-)cmus/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (cmus-2.2.0.tar.bz2) = 7a9895ecfc10cd16577c73051436962f
1
MD5 (cmus-v2.3.1.tar.bz2) = 1b77942c61dd7ddb63d4daf2a42ae58d
2
SHA256 (cmus-2.2.0.tar.bz2) = f18ffafc7161a383ddc79b34cc16a5a38f675454c49799dac5d172bf22d12005
2
SHA256 (cmus-v2.3.1.tar.bz2) = 9878947796c422e350513d616d93ab0a588f0f0312a96135ad61cd9fee2cdefd
3
SIZE (cmus-2.2.0.tar.bz2) = 155448
3
SIZE (cmus-v2.3.1.tar.bz2) = 166748
(-)cmus/pkg-descr (-2 / +1 lines)
Lines 2-6 Link Here
2
by output-plugins. It has got completely configurable keybindings and it can be
2
by output-plugins. It has got completely configurable keybindings and it can be
3
controlled from the outside via cmus-remote(1).
3
controlled from the outside via cmus-remote(1).
4
4
5
Author:	Timo Hirvonen <tihirvon@gmail.com>
5
WWW:	http://cmus.sourceforge.net
6
WWW:	http://onion.dynserv.net/~timo/cmus.html
(-)cmus/pkg-plist (+1 lines)
Lines 13-18 Link Here
13
%%FFMPEG%%lib/cmus/ip/ffmpeg.so
13
%%FFMPEG%%lib/cmus/ip/ffmpeg.so
14
lib/cmus/op/oss.so
14
lib/cmus/op/oss.so
15
%%AO%%lib/cmus/op/ao.so
15
%%AO%%lib/cmus/op/ao.so
16
%%PULSEAUDIO%%lib/cmus/op/pulse.so
16
%%ARTS%%lib/cmus/op/arts.so
17
%%ARTS%%lib/cmus/op/arts.so
17
%%DATADIR%%/cyan.theme
18
%%DATADIR%%/cyan.theme
18
%%DATADIR%%/default.theme
19
%%DATADIR%%/default.theme

Return to bug 144497