aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xfce4-xmms-controller-plugin/Makefile
blob: f16c799bd6509a3275b67bca9b733ed1a81f0644 (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
# New ports collection makefile for:   xfce4-xmms-controller-plugin
# Date created:        8 Nov 2004
# Whom:                Robin Schoonover (endx7@users.sf.net)
#
# $FreeBSD$
#

PORTNAME=	xfce4-xmms-controller-plugin
PORTVERSION=	1.4.3
PORTREVISION=	3
CATEGORIES=	multimedia audio xfce
MASTER_SITES=	http://eoin.angrystickman.com/files/
DIST_SUBDIR=	xfce4

MAINTAINER=	robin.schoonover@gmail.com
COMMENT=	XMMS controller plugin for the xfce4 panel

BUILD_DEPENDS=	xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel
LIB_DEPENDS=	xfce4util.1:${PORTSDIR}/x11/libxfce4util \
		xfcegui4.3:${PORTSDIR}/x11-toolkits/libxfce4gui \
		xmms.4:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS=	xfce4-panel:${PORTSDIR}/x11-wm/xfce4-panel

USE_GNOME=	gtk20
USE_X_PREFIX=	yes
USE_REINPLACE=	yes
INSTALLS_SHLIB=	yes
USE_AUTOTOOLS=	libtool:15

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--datadir=${PREFIX}/share/${PORTNAME}

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500043
IGNORE=		requires pthread stubs not provided by libXThr
.endif

pre-patch:
	${REINPLACE_CMD} -e 's_share/_share/xfce4-xmms-controller-plugin/_' ${WRKSRC}/panel-plugin/xfcexmms.c
	${REINPLACE_CMD} -e 's_/usr/local_${PREFIX}_' ${WRKSRC}/config.h.in

.include <bsd.port.post.mk>