# New ports collection makefile for:	p5-Convert-Recode
# Date created:				17 January 2000
# Whom:					Dmitry Sivachenko <dima@Chg.RU>
#
# $FreeBSD: ports/converters/p5-Convert-Recode/Makefile,v 1.7 2003/03/07 05:57:58 ade Exp $
#

PORTNAME=	Convert-Recode
PORTVERSION=	1.03
CATEGORIES=	converters perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Convert
PKGNAMEPREFIX=	p5-

MAINTAINER=	demon@FreeBSD.org
COMMENT=	Front end to the GNU recode program

RUN_DEPENDS=	recode:${PORTSDIR}/converters/recode

PERL_CONFIGURE=	YES

MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=		Convert::Recode.3

post-patch:
		${PERL} -pi -e 's#recode -\$$#${LOCALBASE}/bin/recode -\$$#' \
		${WRKSRC}/Recode.pm

.include <bsd.port.mk>
