aboutsummaryrefslogtreecommitdiffstats
path: root/converters/p5-Convert-Recode/Makefile
blob: 8a223e7e36ee5a54c2373964a88e133b5a8695d5 (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$
#

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

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>