Line # Revision Author
1 8 ahitrov@rambler.ru ##############################################################################
2 # $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 ###############################################################################
5
6 PORTVERSION = 0.02
7 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 @sed -i '' -e 's/koi8-r/utf-8/g' ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/XML/TrivialSAX/Handler.pm
21
22
23 include ../../etc/ports.mk