aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xmms-vumeter/Makefile
blob: 55a9889fc3fd22bbcb52615226bc972e4ab12681 (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
# 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=   7
CATEGORIES= graphics
MASTER_SITES=   SF/${PORTNAME}plugin/${PORTNAME}plugin/VU%20meter%20v${PORTVERSION}
PKGNAMEPREFIX=  xmms-

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

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

USE_GNOME=  gdkpixbuf
GNU_CONFIGURE=  yes

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

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

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>