431c865de4
* Use PKG_APACHE_ACCEPTED.
23 lines
564 B
Makefile
23 lines
564 B
Makefile
# $NetBSD: Makefile,v 1.7 2006/12/08 23:34:11 xtraeme Exp $
|
|
|
|
.include "../../www/ap-fastcgi/Makefile.common"
|
|
|
|
PKGNAME= ${DISTNAME:S/mod_/ap2-/}
|
|
PKGREVISION= 3
|
|
PKG_APACHE_ACCEPTED= apache2 apache22
|
|
APACHE_MANUAL= manual
|
|
APACHE_MODULE= # defined
|
|
USE_LIBTOOL= YES
|
|
|
|
MAKE_FLAGS+= LIBTOOL=${LIBTOOL:Q}
|
|
|
|
SUBST_CLASSES+= ap2
|
|
SUBST_STAGE.ap2= pre-build
|
|
SUBST_FILES.ap2= Makefile
|
|
SUBST_SED.ap2= -e s,/usr/local/apache2,${PREFIX}/share/httpd,
|
|
|
|
post-patch:
|
|
${CP} ${WRKSRC}/Makefile.AP2 ${WRKSRC}/Makefile
|
|
|
|
.include "../../mk/apache.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|