openbsd-ports/www/p5-Apache-Test/Makefile
simon da4cdc82f1 Make it work with our mod_perl which has slightely different filenames
and locations.  All ports i've checked depending on this can now run
their regression tests.
2008-05-01 10:12:22 +00:00

25 lines
545 B
Makefile

# $OpenBSD: Makefile,v 1.11 2008/05/01 10:12:22 simon Exp $
COMMENT= Test wrapper with helpers for testing Apache
MODULES= cpan
DISTNAME= Apache-Test-1.30
PKGNAME= p5-${DISTNAME}p0
CATEGORIES= www
MAINTAINER= Simon Bertrang <simon@openbsd.org>
# Apache License 2.0
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MAKE_ENV+= APACHE_TEST_HTTPD=/usr/sbin/httpd
pre-configure:
@perl -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/lib/Apache/TestConfig.pm
.include <bsd.port.mk>