PORTNAME=	Apache-ASP
PORTVERSION=	2.63
CATEGORIES=	www perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-
PKGNAMESUFFIX=	${MODPERL_SUFFIX}

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Active Server Pages for Apache
WWW=		https://metacpan.org/release/Apache-ASP

LICENSE=	GPLv2

BUILD_DEPENDS=	${RUN_DEPENDS}
RUN_DEPENDS=	p5-Devel-Symdump>=0:devel/p5-Devel-Symdump \
		p5-HTML-Clean>=0:www/p5-HTML-Clean \
		p5-HTML-FillInForm>=0:www/p5-HTML-FillInForm \
		p5-HTTP-Date>=0:www/p5-HTTP-Date \
		p5-MLDBM>=0:databases/p5-MLDBM \
		p5-MLDBM-Sync>=0.25:databases/p5-MLDBM-Sync \
		p5-Tie-Cache>=0:devel/p5-Tie-Cache \
		p5-XML-LibXSLT>=0:textproc/p5-XML-LibXSLT

# XXX not tested with mod_perl2, but mod_perl was removed ...
#.if !defined(WITHOUT_MODPERL)
#RUN_DEPENDS+=	ap13-mod_perl>=0:www/mod_perl \
#		p5-Apache-Filter>=0:www/p5-Apache-Filter \
#		p5-Apache-SSI>=0:www/p5-Apache-SSI
#MODPERL_SUFFIX?=+mod_perl
#.endif

NO_ARCH=	yes
USES=		perl5
USE_PERL5=	configure

.include <bsd.port.mk>
