aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xmms-vumeter/Makefile
blob: d4ea99ab81cd85fec9ca7fa0ac1217f4a2ddd008 (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
# 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

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>