freebsd-ports/www/p5-B-LexInfo/Makefile
Olli Hauer 589069db9a - add test for apache version
- set USE_APACHE=13 explicit, since build with higher
  version is long time broken.

  with hat apache@
  (with focus on changing default apache version to 22)
2011-06-27 21:12:10 +00:00

36 lines
892 B
Makefile

# New ports collection makefile for: B-LexInfo
# Date Created: 08 Oct 2003
# Whom: Trevor S. Cornpropst <tcornpropst@cox.net>
#
# $FreeBSD$
#
PORTNAME= B-LexInfo
PORTVERSION= 0.02
CATEGORIES= www devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= tcornpropst@cox.net
COMMENT= Show information about subroutine lexical variables
# Changed to apache13 exclusive, else apache13 ports
# are broken if apache22 is set as default
USE_APACHE= 13
.include <bsd.port.pre.mk>
.if defined(WITH_MODPERL2) || ${APACHE_VERSION} > 13
IGNORE= broken due the new mod_perl2 API
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Apache2/mod_perl.pm:${PORTSDIR}/www/mod_perl2
.else
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
.endif
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= YES
MAN3= B::LexInfo.3 Apache::RegistryLexInfo.3
.include <bsd.port.post.mk>