aboutsummaryrefslogtreecommitdiff
path: root/russian/p5-XML-Parser-encodings
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-11-05 12:36:25 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-11-05 12:36:25 +0000
commit065c026fe5e21a269bbaae0ce69307c7308acbea (patch)
tree9cbf2a263e7841be76898ae832e7bfb273d3fd08 /russian/p5-XML-Parser-encodings
parent6d6314e20da82ad66b7b278eee92373caa9ab746 (diff)
downloadports-065c026fe5e21a269bbaae0ce69307c7308acbea.tar.gz
ports-065c026fe5e21a269bbaae0ce69307c7308acbea.zip
Notes
Diffstat (limited to 'russian/p5-XML-Parser-encodings')
-rw-r--r--russian/p5-XML-Parser-encodings/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/russian/p5-XML-Parser-encodings/Makefile b/russian/p5-XML-Parser-encodings/Makefile
index b29bc73aaf21..d84aed2b8c2e 100644
--- a/russian/p5-XML-Parser-encodings/Makefile
+++ b/russian/p5-XML-Parser-encodings/Makefile
@@ -32,18 +32,18 @@ post-extract:
.endfor
do-configure:
- @${CP} ${WRKSRC}/iconv/cp866.txt ${WRKDIR}
- @${CP} ${WRKSRC}/iconv-extra/windows-1251.txt ${WRKDIR}/cp1251.txt
- @${CP} ${WRKSRC}/iconv-extra/mac-cyrillic.txt ${WRKDIR}
- @${PERL} -pi -e 's/\r/\n/gm;' ${WRKDIR}/mac-cyrillic.txt
+ @${CP} ${WRKSRC}/iconv/cp866.txt ${WRKSRC}
+ @${CP} ${WRKSRC}/iconv-extra/windows-1251.txt ${WRKSRC}/cp1251.txt
+ @${CP} ${WRKSRC}/iconv-extra/mac-cyrillic.txt ${WRKSRC}
+ @${PERL} -pi -e 's/\r/\n/gm;' ${WRKSRC}/mac-cyrillic.txt
do-build:
.for ENC in ${RUSSIANENC}
- @${LOCALBASE}/bin/make_encmap ${ENC} ${WRKDIR}/${ENC}.txt | \
+ @${LOCALBASE}/bin/make_encmap ${ENC} ${WRKSRC}/${ENC}.txt | \
${PERL} -pi -e "s/(?<=^<encmap name='${ENC}')()(?=>)/ expat='yes'/;" \
- >${WRKDIR}/${ENC}.xml
+ >${WRKSRC}/${ENC}.xml
@${LOCALBASE}/bin/compile_encoding \
- -o ${WRKDIR}/${ENC}.enc ${WRKDIR}/${ENC}.xml
+ -o ${WRKSRC}/${ENC}.enc ${WRKSRC}/${ENC}.xml
.endfor
do-install: