aboutsummaryrefslogtreecommitdiff
path: root/converters/p5-Convert-Recode/Makefile
blob: 95d097123e2a83d6b51055e01c13c2be803880f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:	p5-Convert-Recode
# Date created:				17 January 2000
# Whom:					Dmitry Sivachenko <dima@Chg.RU>
#
# $FreeBSD$
#

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

MAINTAINER=	dima@Chg.RU

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

USE_PERL5=	YES

MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}

MAN3=		Convert::Recode.3

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

do-configure:
		@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL PREFIX=${PREFIX}

.include <bsd.port.mk>