Index: head/russian/Makefile =================================================================== --- head/russian/Makefile (revision 49395) +++ head/russian/Makefile (revision 49396) @@ -1,28 +1,29 @@ # $FreeBSD$ # SUBDIR += X.language SUBDIR += apache13 SUBDIR += apache13-modssl SUBDIR += cyrproxy SUBDIR += d1489 SUBDIR += elm.language SUBDIR += gd SUBDIR += kde2-i18n SUBDIR += koi8r-ps SUBDIR += messarge SUBDIR += netscape4.language SUBDIR += p5-Lingua-RU-Charset + SUBDIR += p5-XML-Parser-encodings SUBDIR += pgp.language SUBDIR += pine.language SUBDIR += pscyr SUBDIR += rispell SUBDIR += rus-ispell SUBDIR += tac+ia SUBDIR += wmcyrx SUBDIR += xcode SUBDIR += xcyrBGR SUBDIR += xruskb SUBDIR += xxkb .include Property changes on: head/russian/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.37 \ No newline at end of property +1.38 \ No newline at end of property Index: head/russian/p5-XML-Parser-encodings/Makefile =================================================================== --- head/russian/p5-XML-Parser-encodings/Makefile (nonexistent) +++ head/russian/p5-XML-Parser-encodings/Makefile (revision 49396) @@ -0,0 +1,56 @@ +# New ports collection makefile for: XML::Encoding +# Date created: 15 Oct 2001 +# Whom: Sergey Skvortsov +# +# $FreeBSD$ +# + +PORTNAME= XML-Parser-encodings +PORTVERSION= 1.00 +CATEGORIES= russian textproc perl5 +PKGNAMEPREFIX= p5- +DISTFILES= + +MAINTAINER= skv@protey.ru + +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/Encoding.pm:${PORTSDIR}/textproc/p5-XML-Encoding \ + ${NONEXISTENT}:${PORTSDIR}/converters/iconv:extract \ + ${NONEXISTENT}:${PORTSDIR}/converters/iconv-extra:extract +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser + +NO_WRKSUBDIR= YES + +ICONVCCSDIR= ${PORTSDIR}/converters/iconv/work/iconv-2.0/ccs +ICONVEXTRACCSDIR= \ + ${PORTSDIR}/converters/iconv-extra/work/iconv-extra-2.0/ccs +RUSSIANENC= windows-1251 koi8-r cp1251 cp866 mac-cyrillic + +do-configure: +.for ENC in koi8-r cp866 + @${CP} ${ICONVCCSDIR}/${ENC}.txt ${WRKDIR} +.endfor +.for ENC in mac-cyrillic windows-1251 + @${CP} ${ICONVEXTRACCSDIR}/${ENC}.txt ${WRKDIR} +.endfor + @${CP} ${WRKDIR}/windows-1251.txt ${WRKDIR}/cp1251.txt + @${PERL} -pi -e 's/\r/\n/gm;' ${WRKDIR}/mac-cyrillic.txt + +do-build: +.for ENC in ${RUSSIANENC} + @${PREFIX}/bin/make_encmap ${ENC} ${WRKDIR}/${ENC}.txt | \ + ${PERL} -pi -e "s/(?<=^)/ expat='yes'/;" \ + >${WRKDIR}/${ENC}.xml + @${PREFIX}/bin/compile_encoding \ + -o ${WRKDIR}/${ENC}.enc ${WRKDIR}/${ENC}.xml +.endfor + +}.encENC}l: + +do-install: +.for ENC in ${RUSSIANENC} + ${INSTALL_DATA} ${WRKDIR}/${ENC}.enc \ + ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser/Encodings/ +.endfor + +.include Property changes on: head/russian/p5-XML-Parser-encodings/Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/russian/p5-XML-Parser-encodings/pkg-comment =================================================================== --- head/russian/p5-XML-Parser-encodings/pkg-comment (nonexistent) +++ head/russian/p5-XML-Parser-encodings/pkg-comment (revision 49396) @@ -0,0 +1 @@ +Additional russian encodings for XML::Parser Property changes on: head/russian/p5-XML-Parser-encodings/pkg-comment ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/russian/p5-XML-Parser-encodings/pkg-descr =================================================================== --- head/russian/p5-XML-Parser-encodings/pkg-descr (nonexistent) +++ head/russian/p5-XML-Parser-encodings/pkg-descr (revision 49396) @@ -0,0 +1 @@ +Additional russian encodings for XML::Parser. Property changes on: head/russian/p5-XML-Parser-encodings/pkg-descr ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/russian/p5-XML-Parser-encodings/pkg-plist =================================================================== --- head/russian/p5-XML-Parser-encodings/pkg-plist (nonexistent) +++ head/russian/p5-XML-Parser-encodings/pkg-plist (revision 49396) @@ -0,0 +1,8 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/XML/Parser/Encodings/cp1251.enc +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/XML/Parser/Encodings/cp866.enc +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/XML/Parser/Encodings/mac-cyrillic.enc +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/XML/Parser/Encodings/koi8-r.enc +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/XML/Parser/Encodings/windows-1251.enc +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/XML/Parser/Encodings 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/XML/Parser 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/XML 2>/dev/null || true Property changes on: head/russian/p5-XML-Parser-encodings/pkg-plist ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property