Lines 6-14
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME?= xmms2 |
8 |
PORTNAME?= xmms2 |
9 |
PORTVERSION= 0.7 |
9 |
PORTVERSION= 0.8 |
10 |
PORTREVISION?= 2 |
10 |
DISTVERSIONSUFFIX=DrO_o |
11 |
DISTVERSIONSUFFIX=DrNo |
|
|
12 |
CATEGORIES?= audio |
11 |
CATEGORIES?= audio |
13 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20${DISTVERSIONSUFFIX} |
12 |
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20${DISTVERSIONSUFFIX} |
14 |
|
13 |
|
Lines 24-33
USE_SQLITE= 3
Link Here
|
24 |
|
23 |
|
25 |
USE_LDCONFIG= yes |
24 |
USE_LDCONFIG= yes |
26 |
|
25 |
|
27 |
MAN1= nyxmms2.1 xmms2.1 xmms2-et.1 xmms2d.1 xmms2-launcher.1 |
26 |
MAN1= xmms2.1 xmms2-et.1 xmms2d.1 xmms2-launcher.1 |
28 |
MANCOMPRESSED= yes |
27 |
MANCOMPRESSED= yes |
29 |
PLIST_SUB+= INCLUDEDIR="include/${PORTNAME}" LIBDIR="lib/${PORTNAME}" |
28 |
PLIST_SUB+= INCLUDEDIR="include/${PORTNAME}" LIBDIR="lib/${PORTNAME}" |
30 |
|
29 |
|
|
|
30 |
CPPFLAGS+= -I${LOCALBASE}/include |
31 |
|
31 |
OPTIONS= AIRPLAY "Support output via Airport Express" off \ |
32 |
OPTIONS= AIRPLAY "Support output via Airport Express" off \ |
32 |
AO "Support to output via libao" off \ |
33 |
AO "Support to output via libao" off \ |
33 |
APE "Support to playback Monkey's Audio files" off \ |
34 |
APE "Support to playback Monkey's Audio files" off \ |
Lines 52-57
OPTIONS= AIRPLAY "Support output via Air
Link Here
|
52 |
PULSE "Support to output via the PulseAudio" off \ |
53 |
PULSE "Support to output via the PulseAudio" off \ |
53 |
SAMBA "Support to playback files via SMB" off \ |
54 |
SAMBA "Support to playback files via SMB" off \ |
54 |
SID "Support to playback SID files" off \ |
55 |
SID "Support to playback SID files" off \ |
|
|
56 |
SNDFILE "Support to playback AIFF/AU/CAF/PAF files" off \ |
55 |
SPEEX "Support to playback SPEEX files" off \ |
57 |
SPEEX "Support to playback SPEEX files" off \ |
56 |
TREMOR "Support to playback OGG files" off \ |
58 |
TREMOR "Support to playback OGG files" off \ |
57 |
VISUAL "Support for visualization plugins" off \ |
59 |
VISUAL "Support for visualization plugins" off \ |
Lines 206-229
PLIST_SUB+= MAD="@comment "
Link Here
|
206 |
|
208 |
|
207 |
.if !defined(WITHOUT_MDNS_APPLE) && !defined(WITHOUT_MDNS_AVAHI) |
209 |
.if !defined(WITHOUT_MDNS_APPLE) && !defined(WITHOUT_MDNS_AVAHI) |
208 |
BROKEN= You may choose either MDNS_APPLE or MDNS_AVAHI, but not both |
210 |
BROKEN= You may choose either MDNS_APPLE or MDNS_AVAHI, but not both |
|
|
211 |
.elif defined(WITHOUT_MDNS_APPLE) && defined(WITHOUT_MDNS_AVAHI) |
212 |
EXCLUDE+= --without-optionals="mdns" |
209 |
.endif |
213 |
.endif |
210 |
|
214 |
|
211 |
.if !defined(WITHOUT_MDNS_APPLE) |
215 |
.if !defined(WITHOUT_MDNS_APPLE) |
212 |
EXCLUDE+= --without-optionals="avahi" |
216 |
EXCLUDE+= --with-mdns-backend="dns_sd" |
213 |
LIB_DEPENDS+= dns_sd:${PORTSDIR}/net/mDNSResponder |
217 |
LIB_DEPENDS+= dns_sd:${PORTSDIR}/net/mDNSResponder |
214 |
PLIST_SUB+= MDNS_APPLE="" |
218 |
PLIST_SUB+= MDNS_APPLE="" |
215 |
.else |
219 |
.else |
216 |
EXCLUDE+= --without-optionals="dns_sd" |
|
|
217 |
PLIST_SUB+= MDNS_APPLE="@comment " |
220 |
PLIST_SUB+= MDNS_APPLE="@comment " |
218 |
.endif |
221 |
.endif |
219 |
|
222 |
|
220 |
.if !defined(WITHOUT_MDNS_AVAHI) |
223 |
.if !defined(WITHOUT_MDNS_AVAHI) |
221 |
EXCLUDE+= --without-optionals="dns_sd" |
224 |
EXCLUDE+= --with-mdns-backend="avahi" |
222 |
LIB_DEPENDS+= avahi-core:${PORTSDIR}/net/avahi-app |
225 |
LIB_DEPENDS+= avahi-core:${PORTSDIR}/net/avahi-app |
223 |
PLIST_SUB+= MDNS_AVAHI="" |
226 |
PLIST_SUB+= MDNS_AVAHI="" |
224 |
MAN1+= xmms2-mdns-avahi.1 |
227 |
MAN1+= xmms2-mdns-avahi.1 |
225 |
.else |
228 |
.else |
226 |
EXCLUDE+= --without-optionals="avahi" |
|
|
227 |
PLIST_SUB+= MDNS_AVAHI="@comment " |
229 |
PLIST_SUB+= MDNS_AVAHI="@comment " |
228 |
.endif |
230 |
.endif |
229 |
|
231 |
|
Lines 291-296
EXCLUDE+= --without-plugins="sid"
Link Here
|
291 |
PLIST_SUB+= SID="@comment " |
293 |
PLIST_SUB+= SID="@comment " |
292 |
.endif |
294 |
.endif |
293 |
|
295 |
|
|
|
296 |
.if !defined(WITHOUT_SNDFILE) |
297 |
LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile |
298 |
PLIST_SUB+= SNDFILE="" |
299 |
.else |
300 |
EXCLUDE+= --without-plugins="sndfile" |
301 |
PLIST_SUB+= SNDFILE="@comment " |
302 |
.endif |
303 |
|
294 |
.if !defined(WITHOUT_SPEEX) |
304 |
.if !defined(WITHOUT_SPEEX) |
295 |
LIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex |
305 |
LIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex |
296 |
PLIST_SUB+= SPEEX="" |
306 |
PLIST_SUB+= SPEEX="" |
Lines 318-326
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-
Link Here
|
318 |
.if !defined(WITHOUT_VISUAL) |
328 |
.if !defined(WITHOUT_VISUAL) |
319 |
USE_SDL= yes |
329 |
USE_SDL= yes |
320 |
LIB_DEPENDS+= visual-0.4.0:${PORTSDIR}/graphics/libvisual04 |
330 |
LIB_DEPENDS+= visual-0.4.0:${PORTSDIR}/graphics/libvisual04 |
321 |
PLIST_SUB+= VISUAL="" |
|
|
322 |
.else |
331 |
.else |
323 |
EXCLUDE+= --without-optionals="vistest" |
332 |
EXCLUDE+= --without-optionals="vistest" |
|
|
333 |
.endif |
334 |
|
335 |
.if !defined(WITHOUT_VISUAL) && ${EXCLUDE:M--with-vis-reference-clients} |
336 |
PLIST_SUB+= VISUAL="" |
337 |
.else |
324 |
PLIST_SUB+= VISUAL="@comment " |
338 |
PLIST_SUB+= VISUAL="@comment " |
325 |
.endif |
339 |
.endif |
326 |
|
340 |
|
Lines 361-373
PLIST_SUB+= XML="@comment "
Link Here
|
361 |
.endif # !XMMS2_SLAVE |
375 |
.endif # !XMMS2_SLAVE |
362 |
|
376 |
|
363 |
do-configure: |
377 |
do-configure: |
364 |
cd ${WRKSRC} && ./waf configure --conf-prefix=${LOCALBASE} \ |
378 |
@cd ${WRKSRC} && ${MAKE_ENV} ./waf configure --conf-prefix=${LOCALBASE} \ |
365 |
--prefix=${PREFIX} --mandir=${PREFIX}/man ${EXCLUDE} |
379 |
--prefix=${PREFIX} --mandir=${PREFIX}/man ${EXCLUDE} |
366 |
|
380 |
|
367 |
do-build: |
381 |
do-build: |
368 |
cd ${WRKSRC} && ./waf build |
382 |
@cd ${WRKSRC} && ${MAKE_ENV} ./waf build |
369 |
|
383 |
|
370 |
do-install: |
384 |
do-install: |
371 |
cd ${WRKSRC} && ./waf install |
385 |
@cd ${WRKSRC} && ${MAKE_ENV} ./waf install --without-ldconfig |
372 |
|
386 |
|
373 |
.include <bsd.port.post.mk> |
387 |
.include <bsd.port.post.mk> |