aboutsummaryrefslogtreecommitdiffstats
path: root/audio/wavegain/Makefile
blob: 91622c5446d0cbc0044b57861cfe0f71efc3e89d (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
38
39
# New ports collection makefile for:    wavegain
# Date created:         24 May 2008
# Whom:             Denise H. G. <darcsis@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   wavegain
PORTVERSION=    1.2.8
CATEGORIES= audio
MASTER_SITES=   http://www.rarewares.org/files/others/
DISTNAME=   ${PORTNAME}-${PORTVERSION}srcs${EXTRACT_SUFFIX}

MAINTAINER= darcsis@gmail.com
COMMENT=    A program that applies ReplayGain to wave files

LIB_DEPENDS=    sndfile.1:${PORTSDIR}/audio/libsndfile

USE_ZIP=    yes
USE_GMAKE=  yes
USE_DOS2UNIX=   audio.c wavegain.c

PLIST_FILES=    bin/wavegain

WRKSRC= ${WRKDIR}/WaveGain-${PORTVERSION}

.include <bsd.port.pre.mk>

.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
BROKEN=     Does not compile on ia64, powerpc, or sparc64
.endif

do-configure:
    @cd ${WRKSRC} && ${CP} Makefile.linux Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.include <bsd.port.post.mk>