Revision 210

Date:
2012/04/17 16:15:53
Author:
ahitrov
Revision Log:
Port fix
Files:

Legend:

 
Added
 
Removed
 
Modified
  • koi8/core/ports/all/XML-Parser-encodings/GNUmakefile

     
    1 1 ##############################################################################
    2 # $HeadURL: http://svn.dev.rambler.ru/Contenido/trunk/ports/all/XML-Parser-encodings/GNUmakefile $
    3 # $Id: GNUmakefile 661 2007-01-29 12:03:09Z abavykin $
    2 # $HeadURL: svn+ssh://svn@vcs.dev.rambler.ru/Contenido/trunk/ports/all/XML-Parser-encodings/GNUmakefile $
    3 # $Id: GNUmakefile 1654 2012-04-17 14:56:57Z abavykin $
    4 4 ###############################################################################
    5 5
    6 6 PORTVERSION = 0.01
     
    17 17 do-build:
    18 18 @export ${BUILD_ENV}; for ENC in *.txt; do \
    19 19 ENC_NAME=`echo $${ENC} | perl -pe 's/\.txt$$//'`; \
    20 ${PREFIX}/bin/make_encmap $${ENC_NAME} $${ENC_NAME}.txt | \
    20 PATH=/usr/local/bin:${PREFIX}/bin make_encmap $${ENC_NAME} $${ENC_NAME}.txt | \
    21 21 ${PERL} -pi -e "s/(?<=^<encmap name='$${ENC_NAME}')()(?=>)/ expat='yes'/;" > ${WRKSRC}/$${ENC_NAME}.xml;\
    22 ${PREFIX}/bin/compile_encoding -o ${WRKSRC}/$${ENC_NAME}.enc ${WRKSRC}/$${ENC_NAME}.xml; \
    22 PATH=/usr/local/bin:${PREFIX}/bin compile_encoding -o ${WRKSRC}/$${ENC_NAME}.enc ${WRKSRC}/$${ENC_NAME}.xml; \
    23 23 done
    24 24
    25 25 do-install: