aboutsummaryrefslogtreecommitdiffstats
path: root/converters/p5-Convert-Recode/Makefile
blob: eb83d5938156fe376a7f96a41da5ed91af89ff74 (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
# Created by: Dmitry Sivachenko <dima@Chg.RU>
# $FreeBSD$

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

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

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

USES=       perl5
USE_PERL5=  configure

MAN3=       Convert::Recode.3

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

.include <bsd.port.mk>