7ac9657102
Allow apache22 in some more case and add a hack to devel/subversion to determine the module by the state of the apache22 option. This comes from www/ap2-subversion and should be fixed to properly use build options or so. OK agc@
29 lines
765 B
Makefile
29 lines
765 B
Makefile
# $NetBSD: Makefile,v 1.27 2007/06/30 16:09:08 joerg Exp $
|
|
|
|
DISTNAME= mod_perl-2.0.3
|
|
PKGNAME= ${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//}
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= http://perl.apache.org/dist/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://perl.apache.org/
|
|
COMMENT= Module that embeds a Perl interpreter into Apache
|
|
|
|
CONFLICTS= ap-perl-[0-9]* p5-Apache-Test-[0-9]*
|
|
|
|
PKG_APACHE_ACCEPTED= apache2 apache22
|
|
|
|
APACHE_MODULE= # defined
|
|
PERL5_PACKLIST= auto/mod_perl2/.packlist
|
|
|
|
MAKE_PARAMS+= MP_APXS=${APXS}
|
|
|
|
MODPERLDOCSDIR= ${PREFIX}/share/doc/mod_perl
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${MODPERLDOCSDIR}
|
|
${CP} -R ${WRKSRC}/docs/* ${MODPERLDOCSDIR}
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/apache.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|