aboutsummaryrefslogtreecommitdiff
path: root/converters/p5-Encode/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2013-09-16 02:43:52 +0000
committerRong-En Fan <rafan@FreeBSD.org>2013-09-16 02:43:52 +0000
commitce89548323b22d082a606a4b3684ed51f14c06f1 (patch)
tree071e45a08ce51a7c5c21d0a1712866e02dfcc75a /converters/p5-Encode/Makefile
parent74db0bce115a4da6f2f5c30fde6e188246066229 (diff)
downloadports-ce89548323b22d082a606a4b3684ed51f14c06f1.tar.gz
ports-ce89548323b22d082a606a4b3684ed51f14c06f1.zip
Notes
Diffstat (limited to 'converters/p5-Encode/Makefile')
-rw-r--r--converters/p5-Encode/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/converters/p5-Encode/Makefile b/converters/p5-Encode/Makefile
index 54e840f51069..e7b84aea7853 100644
--- a/converters/p5-Encode/Makefile
+++ b/converters/p5-Encode/Makefile
@@ -1,9 +1,8 @@
-# Created by: Rong-En Fan <rafan@infor.org>
-#
+# Created by: Rong-En Fan <rafan@infor.org>
# $FreeBSD$
PORTNAME= Encode
-PORTVERSION= 2.49
+PORTVERSION= 2.55
CATEGORIES= converters perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DANKOGAI
@@ -15,8 +14,8 @@ COMMENT= Provides interfaces between strings and the rest of the system
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-USES= perl5
-USE_PERL5= patch configure
+USES= perl5
+USE_PERL5= configure
MAN3= Encode.3 \
Encode::Alias.3 \
@@ -38,11 +37,7 @@ MAN3= Encode.3 \
encoding.3
post-patch:
- ${PERL} -pi -e '$$_="" if $$.>=24 && $$.<=26; $$_="my \@exe_files=();\n" if $$.==25' ${WRKSRC}/Makefile.PL
-
-post-configure:
- @${FIND} ${WRKSRC}/ -name Makefile -exec \
- ${REINPLACE_CMD} -e 's,^CC =,CC ?=,' {} \;
+ @${REINPLACE_CMD} -e 's|bin/enc2xs||; s|bin/piconv||' ${WRKSRC}/Makefile.PL
regression-test:
cd ${WRKSRC} && ${MAKE} test