mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Add more encodings generated from p5-XML-Encoding source.
PR: ports/136866 (requested) Requested by: Alfred Bartsch <bartsch@dssgmbh.de>
This commit is contained in:
parent
7e4b93040a
commit
d7b384065d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=238764
9 changed files with 24 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= XML-Parser
|
PORTNAME= XML-Parser
|
||||||
PORTVERSION= 2.36
|
PORTVERSION= 2.36
|
||||||
PORTREVISION= 0
|
PORTREVISION= 1
|
||||||
CATEGORIES= textproc perl5
|
CATEGORIES= textproc perl5
|
||||||
MASTER_SITES= CPAN
|
MASTER_SITES= CPAN
|
||||||
PKGNAMEPREFIX= p5-
|
PKGNAMEPREFIX= p5-
|
||||||
|
@ -49,9 +49,25 @@ post-patch:
|
||||||
${CONV_ENC} shift_jis ${XMLPARSER_SJIS}.enc > shift_jis.enc
|
${CONV_ENC} shift_jis ${XMLPARSER_SJIS}.enc > shift_jis.enc
|
||||||
@${ECHO_CMD} Parser/Encodings/Shift_JIS.enc >> ${WRKSRC}/MANIFEST
|
@${ECHO_CMD} Parser/Encodings/Shift_JIS.enc >> ${WRKSRC}/MANIFEST
|
||||||
.endif
|
.endif
|
||||||
|
@${CP} ${FILESDIR}/*.enc ${WRKSRC}/Parser/Encodings/
|
||||||
|
.for e in 1 6 10 11 13 14 15
|
||||||
|
@${ECHO_CMD} Parser/Encodings/iso-8859-${e}.enc >> ${WRKSRC}/MANIFEST
|
||||||
|
.endfor
|
||||||
|
|
||||||
post-configure:
|
post-configure:
|
||||||
@${PERL} -i -pe 's|^(CC = ).*|$$1 ${CC}|;' \
|
@${PERL} -i -pe 's|^(CC = ).*|$$1 ${CC}|;' \
|
||||||
-e 's|^(CCFLAGS = ).*|$$1 ${CFLAGS}|' ${WRKSRC}/Expat/Makefile
|
-e 's|^(CCFLAGS = ).*|$$1 ${CFLAGS}|' ${WRKSRC}/Expat/Makefile
|
||||||
|
|
||||||
|
XE= ${.CURDIR}/../p5-XML-Encoding
|
||||||
|
extract-encodings:
|
||||||
|
@cd ${XE}; \
|
||||||
|
${MAKE} patch; \
|
||||||
|
${CHMOD} og+rX `make -VWRKSRC`
|
||||||
|
|
||||||
|
build-encodings:
|
||||||
|
.for e in 1 6 10 11 13 14 15
|
||||||
|
@cd `cd ${XE}; ${MAKE} -VWRKSRC`; \
|
||||||
|
compile_encoding -o ${FILESDIR}/iso-8859-${e}.enc maps/iso-8859-${e}.xml
|
||||||
|
.endfor
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
BIN
textproc/p5-XML-Parser/files/iso-8859-1.enc
Normal file
BIN
textproc/p5-XML-Parser/files/iso-8859-1.enc
Normal file
Binary file not shown.
BIN
textproc/p5-XML-Parser/files/iso-8859-10.enc
Normal file
BIN
textproc/p5-XML-Parser/files/iso-8859-10.enc
Normal file
Binary file not shown.
BIN
textproc/p5-XML-Parser/files/iso-8859-11.enc
Normal file
BIN
textproc/p5-XML-Parser/files/iso-8859-11.enc
Normal file
Binary file not shown.
BIN
textproc/p5-XML-Parser/files/iso-8859-13.enc
Normal file
BIN
textproc/p5-XML-Parser/files/iso-8859-13.enc
Normal file
Binary file not shown.
BIN
textproc/p5-XML-Parser/files/iso-8859-14.enc
Normal file
BIN
textproc/p5-XML-Parser/files/iso-8859-14.enc
Normal file
Binary file not shown.
BIN
textproc/p5-XML-Parser/files/iso-8859-15.enc
Normal file
BIN
textproc/p5-XML-Parser/files/iso-8859-15.enc
Normal file
Binary file not shown.
BIN
textproc/p5-XML-Parser/files/iso-8859-6.enc
Normal file
BIN
textproc/p5-XML-Parser/files/iso-8859-6.enc
Normal file
Binary file not shown.
|
@ -7,13 +7,20 @@
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/big5.enc
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/big5.enc
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/euc-kr.enc
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/euc-kr.enc
|
||||||
%%EUCJP%%%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/euc-jp.enc
|
%%EUCJP%%%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/euc-jp.enc
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-1.enc
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-2.enc
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-2.enc
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-3.enc
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-3.enc
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-4.enc
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-4.enc
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-5.enc
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-5.enc
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-6.enc
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-7.enc
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-7.enc
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-8.enc
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-8.enc
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-9.enc
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-9.enc
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-10.enc
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-11.enc
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-13.enc
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-14.enc
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/iso-8859-15.enc
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/windows-1250.enc
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/windows-1250.enc
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/windows-1252.enc
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/windows-1252.enc
|
||||||
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/x-euc-jp-jisx0221.enc
|
%%SITE_PERL%%/%%PERL_ARCH%%/XML/Parser/Encodings/x-euc-jp-jisx0221.enc
|
||||||
|
|
Loading…
Add table
Reference in a new issue