summaryrefslogtreecommitdiff
path: root/japanese/p5-Jcode/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2005-07-23 07:14:18 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2005-07-23 07:14:18 +0000
commit967e9fc58d5405be176618494d7817584ff83fb8 (patch)
tree11ac78f16f91fad0805d3aac0f1b19fe8f2abb4b /japanese/p5-Jcode/Makefile
parentdc2bc460dd8c68d062e4dbb0564196c946d75626 (diff)
downloadfreebsd-ports-967e9fc58d5405be176618494d7817584ff83fb8.zip
- Update to 2.03.
- Since 2.x, Jcode is the wrapper of Encode module with perl-5.8.1 and after.
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>