PORTNAME=	Convert-Recode
PORTVERSION=	1.04
PORTREVISION=	2
CATEGORIES=	converters perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

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

BUILD_DEPENDS=	recode:converters/recode
RUN_DEPENDS=	recode:converters/recode

USES=		perl5
USE_PERL5=	configure

post-patch:
		@${REINPLACE_CMD} -i '' -e 's|recode -\$$|${LOCALBASE}/bin/recode -\$$|' \
			${WRKSRC}/Recode.pm

.include <bsd.port.mk>
