Line # Revision Author
1 8 ahitrov@rambler.ru ##############################################################################
2 495 ahitrov #
3 8 ahitrov@rambler.ru ###############################################################################
4
5 include ../../etc/perl.mk
6
7 ifeq (${shell ${PERL} -e 'print 1 if ${PERL_LEVEL}<501000'},1)
8 PORTVERSION = 1.29
9 else
10 PORTVERSION = 1.31
11 endif
12
13 11 ahitrov@rambler.ru MASTER_CPAN_SUBDIR = ModPerl/GOZER
14 8 ahitrov@rambler.ru PERL_MAKEMAKER = yes
15 PERL_CHECK = no
16 CONFIGURE_POSTARGS = APACHE_SRC=${APACHE_WRKSRC}/src \
17 USE_APACI=1 \
18 DO_HTTPD=1 \
19 PREP_HTTPD=1 \
20 EVERYTHING=1
21
22 495 ahitrov CONFIGURE_PRECMD = ${MAKE_RECURSIVE} pre-configure
23 pre-configure:
24 ifeq (${shell ${PERL} -e 'print 1 if ${PERL_LEVEL}>=501400'},1)
25 cd ${WRKSRC} && patch -p0 < ${PORTDIR}/patch.perl5.14
26 endif
27 ifeq (${shell ${PERL} -e 'print 1 if ${PERL_LEVEL}>=501600'},1)
28 cd ${WRKSRC} && patch -p0 < ${PORTDIR}/patch.perl5.16
29 endif
30 580 ahitrov ifeq (${shell ${PERL} -e 'print 1 if ${PERL_LEVEL}>=502000'},1)
31 cd ${WRKSRC} && patch -p0 < ${PORTDIR}/patch.perl5.20
32 endif
33 722 ahitrov ifeq (${shell ${PERL} -e 'print 1 if ${PERL_LEVEL}>=502100'},1)
34 cd ${WRKSRC} && patch -p0 < ${PORTDIR}/patch.perl5.26
35 endif
36 8 ahitrov@rambler.ru
37 include ../../etc/ports.mk