aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xfce4-xmms-plugin/Makefile
blob: 8e119cc1033dda3f5608dad69b95654ec7c9a795 (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
# Created by: Zahemszky, G�bor <Gabor@Zahemszky.HU>
# $FreeBSD$

PORTNAME=   xfce4-xmms-plugin
PORTVERSION=    0.5.3
PORTREVISION=   4
CATEGORIES= multimedia audio xfce
MASTER_SITES=   ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR=/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR=    xfce4

MAINTAINER= xfce@FreeBSD.org
COMMENT=    Xfce4 XMMS control plugin for xfce4-panel

GNU_CONFIGURE=  yes
USE_BZIP2=  yes
USES=       gettext pathfix
USE_GMAKE=  yes
USE_GNOME=  gtk20 intltool intlhack pango
USE_XFCE=   configenv libgui libutil panel

OPTIONS_DEFINE= XMMS BEEP AUDACIOUS
OPTIONS_DEFAULT=    XMMS
XMMS_DESC=  xmms support
BEEP_DESC=  beep-media-player support
AUDACIOUS_DESC= audacious support

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MBEEP}
RUN_DEPENDS+=   beep-media-player:${PORTSDIR}/multimedia/beep-media-player
.endif

.if ${PORT_OPTIONS:MXMSS}
RUN_DEPENDS+=   xmms:${PORTSDIR}/multimedia/xmms
.endif

.if ${PORT_OPTIONS:MAUDACIOUS}
RUN_DEPENDS+=   audacious2:${PORTSDIR}/multimedia/audacious
.endif

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

.include <bsd.port.post.mk>