Portfile

# $Id: Portfile 21217 2007-01-14 17:00:08Z yves@macports.org $

PortSystem 1.0
name mp3info
version 0.8.4
revision 3
categories audio
maintainers nomaintainer@macports.org
description MP3 information tool
long_description \
A small utility to read and write TAG info, as well as retrieve the MP3 \
Header info. Included is a command-line interface and a gtk-UI.

homepage http://www.ibiblio.org/mp3info/
platforms darwin
master_sites sunsite:apps/sound/mp3-utils/${name}
extract.suffix .tgz
checksums md5 879d0ced8ede5ec9fbaff4813851ea3f

patchfiles patch-Makefile
build.target mp3info

configure {
cd ${worksrcpath}
reinplace "s|prefix=/usr/local|prefix=${destroot}${prefix}|g" Makefile
}

destroot.target install-mp3info

variant x11 {
depends_lib-append port:gtk1
patchfiles-append patch-gmp3info.c
build.target all
destroot.target install
}

files