mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Unbreak conditionalized Jcode.pm path.
Reported by: pointyhat via kris
This commit is contained in:
parent
1bd446561d
commit
5eb1381a24
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140161
@ -17,7 +17,7 @@ COMMENT= Perl class that implements conversion between arbitrary charsets
|
||||
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Unicode/Map.pm:${PORTSDIR}/converters/p5-Unicode-Map \
|
||||
${SITE_PERL}/${PERL_ARCH}/Unicode/String.pm:${PORTSDIR}/converters/p5-Unicode-String \
|
||||
${SITE_PERL}/${PERL_ARCH}/Unicode/Map8.pm:${PORTSDIR}/converters/p5-Unicode-Map8 \
|
||||
${SITE_PERL}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
|
||||
${JCODE}:${PORTSDIR}/japanese/p5-Jcode
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
@ -25,4 +25,12 @@ PERL_CONFIGURE= yes
|
||||
MAN3= Unicode::MapUTF8.3
|
||||
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500801
|
||||
JCODE= ${SITE_PERL}/${PERL_ARCH}/Jcode.pm
|
||||
.else
|
||||
JCODE= ${SITE_PERL}/Jcode.pm
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -14,7 +14,7 @@ MAINTAINER= kuriyama@FreeBSD.org
|
||||
COMMENT= Another HTML-lint (all messages are written in Japanese)
|
||||
|
||||
RUN_DEPENDS= ${SITE_PERL}/LWP/UserAgent.pm:${PORTSDIR}/www/p5-libwww \
|
||||
${SITE_PERL}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode
|
||||
${JCODE}:${PORTSDIR}/japanese/p5-Jcode
|
||||
|
||||
USE_ZIP= YES
|
||||
WRKSRC= ${WRKDIR}
|
||||
@ -50,4 +50,12 @@ do-install:
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500801
|
||||
JCODE= ${SITE_PERL}/${PERL_ARCH}/Jcode.pm
|
||||
.else
|
||||
JCODE= ${SITE_PERL}/Jcode.pm
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -29,7 +29,7 @@ RUN_DEPENDS+= \
|
||||
${SITE_PERL}/${PERL_ARCH}/Unicode/String.pm:${PORTSDIR}/converters/p5-Unicode-String \
|
||||
${SITE_PERL}/Algorithm/Diff.pm:${PORTSDIR}/devel/p5-Algorithm-Diff \
|
||||
${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
|
||||
${SITE_PERL}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode \
|
||||
${JCODE}:${PORTSDIR}/japanese/p5-Jcode \
|
||||
${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
|
||||
${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
|
||||
${SITE_PERL}/Log/Log4perl.pm:${PORTSDIR}/devel/p5-Log-Log4perl
|
||||
@ -54,6 +54,12 @@ IGNORE= requires Perl 5.6 or newer to run. Either install new Perl or define WIT
|
||||
RUN_DEPENDS+= ${SITE_PERL}/Cache/Memcached.pm:${PORTSDIR}/databases/p5-Cache-Memcached
|
||||
.endif
|
||||
|
||||
.if ${PERL_LEVEL} < 500801
|
||||
JCODE= ${SITE_PERL}/${PERL_ARCH}/Jcode.pm
|
||||
.else
|
||||
JCODE= ${SITE_PERL}/Jcode.pm
|
||||
.endif
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
WIKIAUTO= ${SITE_PERL}/auto/${PORTNAME}
|
||||
|
@ -15,7 +15,7 @@ DISTNAME= wiki${PORTVERSION:S|.|_|g}
|
||||
MAINTAINER= kuriyama@FreeBSD.org
|
||||
COMMENT= FreeStyle Wiki (perl based wiki clone)
|
||||
|
||||
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Jcode.pm:${PORTSDIR}/japanese/p5-Jcode \
|
||||
RUN_DEPENDS= ${JCODE}:${PORTSDIR}/japanese/p5-Jcode \
|
||||
${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template
|
||||
|
||||
USE_ZIP= yes
|
||||
@ -39,4 +39,12 @@ do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/wiki.cgi ${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/setup.sh ${DATADIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500801
|
||||
JCODE= ${SITE_PERL}/${PERL_ARCH}/Jcode.pm
|
||||
.else
|
||||
JCODE= ${SITE_PERL}/Jcode.pm
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user