openbsd-ports/www/ap2-mod_perl/Makefile
simon 432dc167e2 since apache-httpd's LIB_DEPENDS changed and ap2-mod_perl used it
indirectly via WANTLIB instead of pulling it in itself, we now have to
do so; p++

ok bernd@
2009-04-09 18:37:35 +00:00

38 lines
874 B
Makefile

# $OpenBSD: Makefile,v 1.14 2009/04/09 18:37:35 simon Exp $
COMMENT= module that embeds a Perl interpreter into Apache2
DISTNAME= mod_perl-2.0.4
PKGNAME= ap2-${DISTNAME}p2
CATEGORIES= www net
WANTLIB= c m perl util db expat
MODULES= cpan converters/libiconv
MASTER_SITES= http://perl.apache.org/dist/ \
${MASTER_SITE_PERL_CPAN:=Apache/}
MAINTAINER= Srebrenko Sehic <haver@insecure.dk>
# Apache Software License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SHARED_ONLY= Yes
CONFIGURE_ARGS+= MP_APXS=${LOCALBASE}/sbin/apxs2
LIB_DEPENDS= apr-1::devel/apr \
aprutil-1::devel/apr-util
RUN_DEPENDS= ::www/apache-httpd
BUILD_DEPENDS= ${RUN_DEPENDS} \
:p5-Apache-Test->=1.29:www/p5-Apache-Test
PORTHOME= ${WRKDIR}
# avoid conflicts
post-extract:
@rm -rf ${WRKSRC}/Apache-Test
.include <bsd.port.mk>