diff options
author | mat <mat@FreeBSD.org> | 2015-11-05 20:36:25 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-11-05 20:36:25 +0800 |
commit | 344522393988339d341fda0818f0281645323f90 (patch) | |
tree | 9cbf2a263e7841be76898ae832e7bfb273d3fd08 /russian | |
parent | a8ea83538e74965157afe830f9873190be5ac78a (diff) | |
download | freebsd-ports-graphics-344522393988339d341fda0818f0281645323f90.tar.gz freebsd-ports-graphics-344522393988339d341fda0818f0281645323f90.tar.zst freebsd-ports-graphics-344522393988339d341fda0818f0281645323f90.zip |
Fix ports that confused the meaning of WRKDIR and WRKSRC.
PR: 204056
Submitted by: mat
Reviewed by: bapt
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D2735
Diffstat (limited to 'russian')
-rw-r--r-- | russian/p5-XML-Parser-encodings/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/russian/p5-XML-Parser-encodings/Makefile b/russian/p5-XML-Parser-encodings/Makefile index b29bc73aaf2..d84aed2b8c2 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: |