openbsd-ports/www/p5-libapreq/Makefile
simon b92e0a1d3e Enable tests now p5-Apache-Test works - no regressions.
No bump as package content hasn't changed.
2008-05-01 10:21:58 +00:00

37 lines
898 B
Makefile

# $OpenBSD: Makefile,v 1.7 2008/05/01 10:21:58 simon Exp $
SHARED_ONLY= Yes
COMMENT= Generic Apache Request Library
MODULES= cpan
DISTNAME= libapreq-1.3
CATEGORIES= www
HOMEPAGE= http://httpd.apache.org/apreq/
MAINTAINER= Michael Coulter <mjc@openbsd.org>
# Apache Software License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Apache/}
BUILD_DEPENDS= :mod_perl-*:www/mod_perl \
:p5-Apache-Test-*:www/p5-Apache-Test
RUN_DEPENDS= :mod_perl-*:www/mod_perl
MAKE_ENV+= APACHE_TEST_HTTPD=/usr/sbin/httpd
PORTHOME= ${WRKDIR}
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-libapreq
@cp -R ${WRKSRC}/eg/* ${PREFIX}/share/examples/p5-libapreq
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libapreq
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/libapreq
.include <bsd.port.mk>