aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xfce4-xmms-plugin/Makefile
blob: 67b1a90a635de388363f42c4eda96c0885c9dbac (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
# 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.3
PORTREVISION=	1
CATEGORIES=	multimedia audio xfce
MASTER_SITES=	${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR=/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
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=	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>