aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-volnorm/Makefile
blob: 9a58fad32f8875dadc11df27626369cc65d2b7d3 (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
# Created by: Patrick Li <pat@databits.net>
# $FreeBSD$

PORTNAME=   volnorm
PORTVERSION=    0.8.3
PORTREVISION=   7
CATEGORIES= audio
MASTER_SITES=   SF
PKGNAMEPREFIX=  xmms-

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Volume Normalizer plugin for XMMS

LICENSE=    GPLv2

LIB_DEPENDS=    libxmms.so:multimedia/xmms

BROKEN_powerpc64=   Does not build

USES=       libtool
USE_GNOME=  gtk12
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
PLIST_FILES=    lib/xmms/Effect/libnormvol.so

post-patch:
    @${REINPLACE_CMD} -e '/^SUBDIRS/s|tests||g' ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e '/^COMMON/s|-O2|@CFLAGS@|g' ${WRKSRC}/src/Makefile.in

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/xmms/Effect/libnormvol.so

.include <bsd.port.mk>