# Created by: Denise H. G. # $FreeBSD$ PORTNAME= gnormalize PORTVERSION= 0.63 PORTREVISION= 10 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= darcsis@gmail.com COMMENT= Alternative for replaygain RUN_DEPENDS+= p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \ wavegain:audio/wavegain USES= gnome perl5 shebangfix USE_PERL5= run INSTALLS_ICONS= yes SHEBANG_FILES= ${PORTNAME} NO_BUILD= yes OPTIONS_DEFINE= MP3 OGG MP4 CDPARANOIA CDDB CDPLAY FLAC MAC MUSEPACK OPTIONS_DEFAULT= MP3 OGG MP4 MAC_DESC= Monkey's Audio Encoding and Playback CDPLAY_DESC= CD Playback MP3_RUN_DEPENDS= lame:audio/lame \ p5-MP3-Info>=0:audio/p5-MP3-Info OGG_RUN_DEPENDS= oggenc:audio/vorbis-tools MP4_RUN_DEPENDS= faac:audio/faac \ faad:audio/faad CDDB_RUN_DEPENDS= cddb.pl:audio/p5-CDDB_get CDPLAY_RUN_DEPENDS= p5-Audio-CD>=0:audio/p5-Audio-CD FLAC_RUN_DEPENDS= flac:audio/flac MAC_RUN_DEPENDS= mac:audio/mac MUSEPACK_RUN_DEPENDS= mppenc:audio/musepack .include .if ${PORT_OPTIONS:MCDPARANOIA} || ${PORT_OPTIONS:MCDDA2WAV} RUN_DEPENDS+= cdda2wav:sysutils/cdrtools .else RUN_DEPENDS+= cdparanoia:audio/cdparanoia .endif post-patch: @${REINPLACE_CMD} -e 's,^PREFIX=.*,PREFIX=${PREFIX},; \ s,^MANDIR=.*,MANDIR=${MANPREFIX}/man,; \ s,^BASE=.*,BASE=${DATADIR},' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's,/usr/share/gnormalize,${DATADIR},' \ ${WRKSRC}/gnormalize .include