summaryrefslogtreecommitdiff
path: root/www/p5-libapreq2/Makefile
blob: 0deeeef17990aaf7d7e1c578fef87b609b0f95e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.6 2004/12/20 11:31:14 grant Exp $

DISTNAME=	libapreq2-2.04_03-dev
PKGNAME=	p5-libapreq2-2.4.3
SVR4_PKGNAME=	p5la2
PKGREVISION=	1
CATEGORIES=	www perl5
MASTER_SITES=	http://www.apache.org/dist/httpd/libapreq/

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://httpd.apache.org/apreq/
COMMENT=	Lots of Apache specific httpd handling modules

DEPENDS+=	p5-ExtUtils-XSBuilder>=0.23:../../devel/p5-ExtUtils-XSBuilder

BUILDLINK_DEPENDS.apache+=	apache>=2.0.48
BUILDLINK_DEPENDS.ap2-perl+=	ap2-perl>=1.99.15

WRKSRC=		${WRKDIR}/libapreq2-2.04-dev
USE_BUILDLINK3=	YES
USE_GNU_TOOLS+=	make
USE_LIBTOOL=	YES
PERL5_PACKLIST=	${PERL5_SITEARCH}/auto/libapreq2/.packlist
PERL5_REQD+=	5.6.1

SUBST_CLASSES+=		apxs
SUBST_STAGE.apxs=	post-patch
SUBST_FILES.apxs=	env/Makefile.in
SUBST_SED.apxs=		-e "s|@APACHE2_APXS@ -i -a -n|@APACHE2_APXS@ -i -n|g"
SUBST_MESSAGE.apxs=	"Fixing module installation."

MAKE_PARAMS+=	--with-apache2-apxs="${APXS}"

#pre-configure:
#	cd ${WRKSRC} && ./buildconf

.include "../../lang/perl5/module.mk"
.include "../../www/ap2-perl/buildlink3.mk"
.include "../../www/apache2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"