# $Id: Portfile,v 1.13 2005/07/30 12:26:44 yves Exp $

PortSystem 1.0
name	        mp3info	
version	        0.8.4
revision		3
categories		audio
maintainers		yves@opendarwin.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
}
