aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xfce4-xmms-plugin/Makefile
blob: d491a71441bcfc7e1ec22041cc462694fc2cca9b (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
# 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.5.2
PORTREVISION=	7
CATEGORIES=	multimedia audio xfce
MASTER_SITES=	http://goodies.xfce.org/releases/${PORTNAME}/
DIST_SUBDIR=	xfce4

MAINTAINER=	miwi@FreeBSD.org
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

OPTIONS=	XMMS		"Enable xmms support"			on \
		BEEP		"Enable beep-media-player support" 	off \
		AUDACIOUS	"Enable audacious support"		off

.include <bsd.port.pre.mk>

.if defined(WITH_BEEP)
RUN_DEPENDS+=	beep-media-player:${PORTSDIR}/multimedia/beep-media-player
.endif

.if defined(WITH_XMMS)
RUN_DEPENDS+=	xmms:${PORTSDIR}/multimedia/xmms
.endif

.if defined(WITH_AUDACIOUS)
RUN_DEPENDS+=	audacious2:${PORTSDIR}/multimedia/audacious
.endif

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

.include <bsd.port.post.mk>