aboutsummaryrefslogtreecommitdiff
path: root/graphics/xmms-vumeter/Makefile
blob: d727ec7bfbb965da3124c9636cf83dff8985117a (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
# New ports collection makefile for:	xmms-vumeter
# Date created:			13 Jun 2005
# Whom:				Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD$
#

PORTNAME=	vumeter
PORTVERSION=	0.9.2
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}plugin
PKGNAMEPREFIX=	xmms-

MAINTAINER=	alepulver@FreeBSD.org
COMMENT=	Analog VUmeter plugin for XMMS

LIB_DEPENDS=	xmms.4:${PORTSDIR}/multimedia/xmms

USE_X_PREFIX=	yes
USE_GNOME=	gdkpixbuf
GNU_CONFIGURE=	yes
USE_REINPLACE=	yes

DATADIR=	${PREFIX}/share/xmms/VU_Meter_skins

post-patch:
	@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/src/vumeter.h

post-install:
.for s in default default.mirror default.oldxmms
	${MKDIR} ${DATADIR}/${s}
	${INSTALL_DATA} ${WRKSRC}/skins/${s}/* ${DATADIR}/${s}
.endfor

.include <bsd.port.mk>