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' \ |