aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xfce4-xmms-plugin/Makefile
blob: 95a3843109b0b3e80a37c6211e9ea8d6ae018f1f (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
# New ports collection makefile for:    xfce4-xmms-plugin
# Date created:             2004/05/10
# Whom:                 Zahemszky, Gábor <Gabor@Zahemszky.HU>
#
# $FreeBSD$
#

PORTNAME=   xfce4-xmms-plugin
PORTVERSION=    0.4.2
CATEGORIES= multimedia audio xfce
MASTER_SITES=   http://goodies.xfce.org/releases/${PORTNAME}/
DIST_SUBDIR=    xfce4

MAINTAINER= jfb@minet.net
COMMENT=    XFce 4 xmms control plugin for xfce4-panel

GNU_CONFIGURE=  yes
USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_GMAKE=  yes
USE_GNOME=  gnometarget gtk20 intltool intlhack pango pkgconfig
USE_XFCE=   configenv libgui libutil panel
USE_XLIB=   yes

OPTIONS=    BEEP    "Use Beep media player instead of xmms"     off

.include <bsd.port.pre.mk>
.include "${PORTSDIR}/x11-wm/xfce4/bsd.xfce.mk"

.if defined(WITH_BEEP)
LIB_DEPENDS=    beep.2:${PORTSDIR}/multimedia/beep-media-player
CONFIGURE_ARGS+=--with-player=beep
.else
LIB_DEPENDS=    xmms.4:${PORTSDIR}/multimedia/xmms
CONFIGURE_ARGS+=--with-player=xmms
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|== x|= x|g' ${WRKSRC}/configure

.include <bsd.port.post.mk>