aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xmms-volnorm/Makefile
blob: 258ff96d5769da527299f9e82663f88eecbd6b6a (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-volnorm
# Date created:             Fri Aug 17 12:17:23 EDT 2001
# Whom:                 Patrick Li <pat@databits.net>
#
# $FreeBSD$
#

PORTNAME=   volnorm
PORTVERSION=    0.8.3
PORTREVISION=   5
CATEGORIES= audio
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  xmms-

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

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

USE_GNOME=  gnometarget gtk12
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
MAKE_JOBS_SAFE= 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
    @${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/configure

do-install:
    ${INSTALL_DATA} ${WRKSRC}/src/.libs/libnormvol.so ${PREFIX}/lib/xmms/Effect

.include <bsd.port.mk>