# New ports collection makefile for: mp3rename
# Date created:         6 Januari 2000
# Whom:                 Sander Janssen <janssen@rendo.dekooi.nl>
#
# $FreeBSD: ports/audio/mp3rename/Makefile,v 1.11 2003/02/13 01:53:07 naddy Exp $
#

PORTNAME=	mp3rename
PORTVERSION=	0.6
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITES_DEBIAN}
MASTER_SITE_SUBDIR=	pool/main/m/mp3rename
DISTNAME=	${PORTNAME}_${PORTVERSION}.orig

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A renaming program for mp3 files based on their id3tag

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig

do-build:
	cd ${WRKSRC} && ${CC} ${CFLAGS} -o mp3rename mp3rename.c

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

.include <bsd.port.mk>
