37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.48 2022/06/28 11:37:48 wiz Exp $
|
|
|
|
DISTNAME= libapreq2-2.16
|
|
PKGNAME= p5-${APACHE_PKG_PREFIX}-${DISTNAME}
|
|
PKGREVISION= 1
|
|
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
|
|
LICENSE= apache-2.0
|
|
|
|
DEPENDS+= p5-ExtUtils-XSBuilder>=0.23:../../devel/p5-ExtUtils-XSBuilder
|
|
|
|
USE_TOOLS+= gmake
|
|
USE_LIBTOOL= YES
|
|
PERL5_PACKLIST= auto/libapreq2/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
MAKE_PARAMS:= ${MAKE_PARAMS:NINSTALLDIRS=vendor}
|
|
MAKE_PARAMS+= --with-apache2-apxs="${APXS}" --with-mm-opts="INSTALLDIRS=vendor"
|
|
|
|
pre-configure:
|
|
${LN} -fs ${PKGSRCDIR}/mk/gnu-config/config.guess ${WRKSRC}
|
|
${LN} -fs ${PKGSRCDIR}/mk/gnu-config/config.sub ${WRKSRC}
|
|
|
|
#pre-configure:
|
|
# cd ${WRKSRC} && ./buildconf
|
|
|
|
.include "../../www/ap2-perl/buildlink3.mk"
|
|
.include "../../mk/apache.mk"
|
|
|
|
BUILDLINK_API_DEPENDS.ap2-perl+= ${APACHE_PKG_PREFIX}-perl>=2.0.1
|
|
BUILDLINK_API_DEPENDS.apache+= apache>=2.0.48
|
|
.include "../../mk/bsd.pkg.mk"
|