# New ports collection makefile for: id3ren
# Date created:         28 February 1999
# Whom:                 Joao Carlos Mendes Luis <jonny@jonny.eng.br>
#
# $FreeBSD: ports/audio/id3ren/Makefile,v 1.10 2003/02/21 10:59:29 knu Exp $
#

PORTNAME=	id3ren
PORTVERSION=	0.97a
CATEGORIES=	audio
MASTER_SITES=	http://cbothamy.free.fr/projects/id3ren/
DISTNAME=	id3ren97a

MAINTAINER=	jonny@jonny.eng.br
COMMENT=	Mpeg Audio Layer 3 util: rename files, edit tags, search, etc

USE_ZIP=	yes
USE_REINPLACE=	yes
WRKSRC=		${WRKDIR}/id3ren/src

pre-patch:
	@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
		${WRKSRC}/id3ren.c ${WRKSRC}/misc.c

.include <bsd.port.mk>
