2008-05-01 06:21:58 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2008/05/01 10:21:58 simon Exp $
|
2004-01-17 10:11:18 -05:00
|
|
|
|
2007-01-16 12:52:06 -05:00
|
|
|
SHARED_ONLY= Yes
|
2002-10-16 09:09:30 -04:00
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= Generic Apache Request Library
|
2002-10-16 09:09:30 -04:00
|
|
|
|
2007-01-16 12:52:06 -05:00
|
|
|
MODULES= cpan
|
2004-04-16 18:32:27 -04:00
|
|
|
DISTNAME= libapreq-1.3
|
2007-01-16 12:52:06 -05:00
|
|
|
CATEGORIES= www
|
2002-10-16 09:09:30 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://httpd.apache.org/apreq/
|
2004-07-04 19:40:05 -04:00
|
|
|
MAINTAINER= Michael Coulter <mjc@openbsd.org>
|
2002-10-16 09:09:30 -04:00
|
|
|
|
|
|
|
# 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/}
|
|
|
|
|
2004-04-16 18:32:27 -04:00
|
|
|
BUILD_DEPENDS= :mod_perl-*:www/mod_perl \
|
|
|
|
:p5-Apache-Test-*:www/p5-Apache-Test
|
2002-10-16 09:09:30 -04:00
|
|
|
|
2004-04-16 18:32:27 -04:00
|
|
|
RUN_DEPENDS= :mod_perl-*:www/mod_perl
|
2002-10-16 09:09:30 -04:00
|
|
|
|
2008-05-01 06:21:58 -04:00
|
|
|
MAKE_ENV+= APACHE_TEST_HTTPD=/usr/sbin/httpd
|
|
|
|
PORTHOME= ${WRKDIR}
|
2002-10-16 09:09:30 -04:00
|
|
|
|
|
|
|
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>
|