aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-03-02 14:46:31 +0800
committerknu <knu@FreeBSD.org>2001-03-02 14:46:31 +0800
commit9f2656ff04537f23f6853a11a50efb7bdf370d6c (patch)
treec5e6a5b6799cb3dfa17a3e4444a193c5e2291cd9 /japanese
parent0f47f458e5acda9b7d2b355a0ee4e71271bdd76f (diff)
downloadfreebsd-ports-graphics-9f2656ff04537f23f6853a11a50efb7bdf370d6c.tar.gz
freebsd-ports-graphics-9f2656ff04537f23f6853a11a50efb7bdf370d6c.tar.zst
freebsd-ports-graphics-9f2656ff04537f23f6853a11a50efb7bdf370d6c.zip
Use PERL_CONFIGURE.
Left out by: vanilla ;)
Diffstat (limited to 'japanese')
-rw-r--r--japanese/p5-Jcode/Makefile8
-rw-r--r--japanese/p5-nkf/Makefile8
2 files changed, 5 insertions, 11 deletions
diff --git a/japanese/p5-Jcode/Makefile b/japanese/p5-Jcode/Makefile
index edd074b0884..0ca18fdb1ba 100644
--- a/japanese/p5-Jcode/Makefile
+++ b/japanese/p5-Jcode/Makefile
@@ -16,9 +16,9 @@ MAINTAINER= kuriyama@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
-USE_PERL5= yes
USE_ZIP= yes
+PERL_CONFIGURE= yes
MAN3= Jcode.3 Jcode::Unicode.3 Jcode::Unicode::Constants.3 \
Jcode::Unicode::NoXS.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
@@ -27,11 +27,9 @@ MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
-do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
- CC="${CC}" CCFLAGS="${CFLAGS}"
+post-configure:
.for DIR in Unicode Jcode
- ${PERL} -pi -e "s:CCFLAGS = :CCFLAGS = ${CFLAGS}:g ; \
+ ${PERL} -pi -e "s:CCFLAGS = :CCFLAGS = ${CFLAGS} :g ; \
s:CC = cc:CC = ${CC}:g" ${WRKSRC}/${DIR}/Makefile
.endfor
diff --git a/japanese/p5-nkf/Makefile b/japanese/p5-nkf/Makefile
index a1c5e6fb82a..f8c5a10602f 100644
--- a/japanese/p5-nkf/Makefile
+++ b/japanese/p5-nkf/Makefile
@@ -16,12 +16,12 @@ DISTNAME= ${PORTNAME}171
MAINTAINER= max@FreeBSD.org
-USE_PERL5= yes
+PERL_CONFIGURE= yes
EXTRACT_CMD= ${SH}
EXTRACT_BEFORE_ARGS= # Empty
EXTRACT_AFTER_ARGS= > /dev/null
-WRKSRC= ${WRKDIR}/NKF
+WRKSRC= ${WRKDIR}/NKF
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= NKF.3
@@ -29,8 +29,4 @@ MAN3= NKF.3
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
-do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
- CC="${CC}" CCFLAGS="${CFLAGS}"
-
.include <bsd.port.post.mk>