Line # Revision Author
1 3 ahitrov@rambler.ru ##############################################################################
2 127 ahitrov # $HeadURL: http://svn.dev.rambler.ru/Contenido/branches/utf8/ports/all/TrivialSAX/GNUmakefile $
3 # $Id: GNUmakefile 1489 2009-11-27 14:15:17Z abavykin $
4 3 ahitrov@rambler.ru ###############################################################################
5
6 124 ahitrov PORTVERSION = 0.03
7 3 ahitrov@rambler.ru PERL_MAKEMAKER = yes
8 MASTER_CPAN_SUBDIR = XML
9 PORT_DEPENDS = libxml-perl
10
11
12 do-configure: ;
13
14 do-build: ;
15
16 do-install:
17 @test -d ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/TrivialSAX \
18 || mkdir -p ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/TrivialSAX
19 @cp -f ${WRKSRC}/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/TrivialSAX/
20 127 ahitrov @sed -i '' -e 's/koi8-r/utf-8/g' ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/TrivialSAX/Handler.pm
21 3 ahitrov@rambler.ru
22
23 include ../../etc/ports.mk