1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

japanese/jacode.pl: Fix use of package separator

Use of ' as a package name separator is deprecated in lang/perl5.38

PR:		274445
Reported by:	takefu@airport.fm
This commit is contained in:
Fernando Apesteguía 2023-10-13 14:05:25 +02:00
parent 7bbe011b6c
commit a3fbfba4c9

View File

@ -1,5 +1,6 @@
PORTNAME= jacode.pl
DISTVERSION= 2.13.4.31
PORTREVISION= 1
CATEGORIES= japanese perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:INA/${PORTNAME:S|j|J|:S|.pl||}
@ -20,6 +21,10 @@ NO_BUILD= yes
PLIST_FILES= ${SITE_PERL_REL}/${PORTNAME}\
${SITE_PERL_REL}/${PORTNAME:S|j|J|:S|.pl|.pm|}
pre-patch:
@${FIND} ${WRKSRC}/lib/jacode.pl ${WRKSRC}/t -type f -exec\
${REINPLACE_CMD} -e "s|jacode'|jacode::|g" -e "s|jcode'|jcode::|g" {} \;
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}
${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PORTNAME}