aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/p5-Jcode/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/p5-Jcode/Makefile')
-rw-r--r--japanese/p5-Jcode/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/japanese/p5-Jcode/Makefile b/japanese/p5-Jcode/Makefile
index 79aa4d03825d..6363a7226886 100644
--- a/japanese/p5-Jcode/Makefile
+++ b/japanese/p5-Jcode/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Jcode
-PORTVERSION= 0.88
+PORTVERSION= 2.03
CATEGORIES= japanese perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/D/DA/DANKOGAI
@@ -15,22 +15,20 @@ MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension interface to convert Japanese text
PERL_CONFIGURE= yes
-MAN3= Jcode.3 Jcode::Unicode.3 Jcode::Unicode::Constants.3 \
- Jcode::Unicode::NoXS.3
-
-post-configure:
-.for DIR in Unicode
- ${PERL} -pi -e "s:CCFLAGS = :CCFLAGS = ${CFLAGS} :g ; \
- s:CC = cc:CC = ${CC}:g" ${WRKSRC}/${DIR}/Makefile
-.endfor
+MAN3= Jcode.3 Jcode::Nihongo.3
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
-.if ${PERL_LEVEL} < 500804
+.if ${PERL_LEVEL} < 500801
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
+MAN3+= Jcode::Unicode.3 Jcode::Unicode::Constants.3 \
+ Jcode::Unicode::NoXS.3
+PLIST_SUB= WRAPPER="@comment " REALMOD=""
+.else
+PLIST_SUB= WRAPPER="" REALMOD="@comment "
.endif
.include <bsd.port.post.mk>