blob: e856477f3ba0e785245bb346e492593bbd021503 (
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
|
# $NetBSD: Makefile,v 1.19 2006/04/22 09:22:17 rillig Exp $
DISTNAME= libapreq2-2.07
PKGNAME= p5-libapreq2-2.07
SVR4_PKGNAME= p5la2
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_APACHE:=httpd/libapreq/}
MAINTAINER= pkgsrc-users@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_API_DEPENDS.apache+= apache>=2.0.48
BUILDLINK_API_DEPENDS.ap2-perl+= ap2-perl>=2.0.1
USE_TOOLS+= gmake
USE_LIBTOOL= YES
PERL5_PACKLIST= auto/libapreq2/.packlist
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.
.include "../../lang/perl5/module.mk"
MAKE_PARAMS:= ${MAKE_PARAMS:NINSTALLDIRS=vendor}
MAKE_PARAMS+= --with-apache2-apxs="${APXS}" --with-mm-opts="INSTALLDIRS=vendor"
#pre-configure:
# cd ${WRKSRC} && ./buildconf
.include "../../www/ap2-perl/buildlink3.mk"
.include "../../www/apache2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|