blob: 6958fc0de2407f25d890c54693f7839b7c548ec8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# New ports collection makefile for: net-rhythmbox
# Date created: 14 February 2003
# Whom: Hendrik Scholz <hendrik@scholz.net>
#
# $FreeBSD$
#
PORTNAME= net-rhythmbox
PORTVERSION= 0.4.8
PORTREVISION= 3
CATEGORIES= audio gnome
MASTER_SITES= http://download.raisdorf.net/files/
MAINTAINER= hendrik@scholz.net
COMMENT= Audio player for the Gnome 2 desktop environment
LIB_DEPENDS= musicbrainz.3:${PORTSDIR}/audio/libmusicbrainz \
gstplay-0.6.1:${PORTSDIR}/multimedia/gstreamer-plugins \
FLAC.5:${PORTSDIR}/audio/flac \
mad.2:${PORTSDIR}/audio/mad \
vorbis.2:${PORTSDIR}/audio/libvorbis
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gnomehack gnomeprefix libgnomeui
USE_LIBTOOL= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include"
CONFIGURE_ARGS= --disable-lirc
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libxosd.so)
WITH_XOSD= yes
.endif
.if exists(${LOCALBASE}/lib/libvorbis.so)
WITH_VORBIS= yes
.endif
.ifdef (WITH_XOSD)
LIB_DEPENDS+= xosd.4:${PORTSDIR}/misc/xosd
.else
CONFIGURE_ARGS+= --disable-xosd
.endif
.ifdef (WITH_VORBIS)
LIB_DEPENDS+= vorbis.2:${PORTSDIR}/audio/libvorbis
.else
CONFIGURE_ARGS+= --disable-vorbistest
.endif
pre-everything::
.if !defined(WITH_XOSD)
@${ECHO_CMD}
@${ECHO_CMD} "define WITH_XOSD to enable On-Screen-Display support"
@${ECHO_CMD}
.endif
.if !defined(WITH_VORBIS)
@${ECHO_CMD}
@${ECHO_CMD} "define WITH_VORBIS to enable Vorbis support"
@${ECHO_CMD}
.endif
.include <bsd.port.post.mk>
|