2014-05-30 01:35:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.33 2014/05/29 23:38:17 wiz Exp $
|
2004-04-12 20:18:29 +02:00
|
|
|
|
2010-02-23 21:00:54 +01:00
|
|
|
DISTNAME= libapreq2-2.12
|
2007-06-08 13:30:09 +02:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
2014-05-30 01:35:13 +02:00
|
|
|
PKGREVISION= 5
|
2004-04-12 20:18:29 +02:00
|
|
|
SVR4_PKGNAME= p5la2
|
|
|
|
CATEGORIES= www perl5
|
2005-11-03 14:45:46 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE:=httpd/libapreq/}
|
2004-04-12 20:18:29 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-04-12 20:18:29 +02:00
|
|
|
HOMEPAGE= http://httpd.apache.org/apreq/
|
|
|
|
COMMENT= Lots of Apache specific httpd handling modules
|
2010-02-23 21:00:54 +01:00
|
|
|
LICENSE= apache-2.0
|
2004-04-12 20:18:29 +02:00
|
|
|
|
2007-06-30 18:09:07 +02:00
|
|
|
PKG_APACHE_ACCEPTED= apache2 apache22
|
2004-04-12 20:18:29 +02:00
|
|
|
|
2007-06-30 18:09:07 +02:00
|
|
|
DEPENDS+= p5-ExtUtils-XSBuilder>=0.23:../../devel/p5-ExtUtils-XSBuilder
|
2004-12-13 08:00:08 +01:00
|
|
|
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2004-04-12 20:18:29 +02:00
|
|
|
USE_LIBTOOL= YES
|
2005-07-13 20:01:18 +02:00
|
|
|
PERL5_PACKLIST= auto/libapreq2/.packlist
|
2004-12-13 08:00:08 +01:00
|
|
|
|
|
|
|
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"
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.apxs= Fixing module installation.
|
2004-04-12 20:18:29 +02:00
|
|
|
|
2006-02-20 12:15:49 +01:00
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
|
|
|
|
MAKE_PARAMS:= ${MAKE_PARAMS:NINSTALLDIRS=vendor}
|
|
|
|
MAKE_PARAMS+= --with-apache2-apxs="${APXS}" --with-mm-opts="INSTALLDIRS=vendor"
|
2004-04-12 20:18:29 +02:00
|
|
|
|
2007-06-19 23:59:32 +02:00
|
|
|
pre-configure:
|
|
|
|
${LN} -fs ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}
|
|
|
|
${LN} -fs ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}
|
|
|
|
|
2004-04-12 20:18:29 +02:00
|
|
|
#pre-configure:
|
|
|
|
# cd ${WRKSRC} && ./buildconf
|
|
|
|
|
2004-12-13 08:00:08 +01:00
|
|
|
.include "../../www/ap2-perl/buildlink3.mk"
|
2007-06-30 18:09:07 +02:00
|
|
|
.include "../../mk/apache.mk"
|
|
|
|
|
|
|
|
BUILDLINK_API_DEPENDS.ap2-perl+= ${APACHE_PKG_PREFIX}-perl>=2.0.1
|
2007-06-17 22:03:09 +02:00
|
|
|
BUILDLINK_API_DEPENDS.apache+= apache>=2.0.48
|
2004-04-12 20:18:29 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|