2000-03-19 06:42:08 +01:00
|
|
|
# New ports collection makefile for: p5-libapreq
|
|
|
|
# Date created: March 13, 2000
|
|
|
|
# Whom: Frank Mayhar <frank@exit.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-06-17 04:37:15 +02:00
|
|
|
PORTNAME= libapreq
|
2003-10-14 18:23:04 +02:00
|
|
|
PORTVERSION= 1.3
|
2001-01-16 18:33:20 +01:00
|
|
|
CATEGORIES= www perl5 devel
|
2002-07-02 20:07:33 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
2003-07-06 14:43:39 +02:00
|
|
|
MASTER_SITE_SUBDIR= Apache
|
2000-06-17 04:37:15 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
2000-03-19 06:42:08 +01:00
|
|
|
|
2002-07-02 20:07:33 +02:00
|
|
|
MAINTAINER= skv@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Generic Apache Request Library
|
2000-03-19 06:42:08 +01:00
|
|
|
|
2003-07-06 14:43:39 +02:00
|
|
|
.if defined(WITH_MODPERL2)
|
|
|
|
IGNORE= "This port does not support mod_perl2"
|
|
|
|
.else
|
2004-06-10 11:03:15 +02:00
|
|
|
RUN_DEPENDS?= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www/mod_perl
|
2003-07-06 14:43:39 +02:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS} \
|
2004-04-03 12:56:26 +02:00
|
|
|
${SITE_PERL}/${PERL_ARCH}/Apache/Test.pm:${PORTSDIR}/www/p5-Apache-Test
|
2003-07-06 14:43:39 +02:00
|
|
|
.endif
|
2000-03-19 06:42:08 +01:00
|
|
|
|
2001-03-01 07:39:18 +01:00
|
|
|
PERL_CONFIGURE= yes
|
2000-03-19 06:42:08 +01:00
|
|
|
|
2002-07-02 20:07:33 +02:00
|
|
|
MAN3= Apache::Cookie.3 Apache::Request.3 Apache::libapreq.3 \
|
2001-07-01 07:05:53 +02:00
|
|
|
libapreq.3
|
|
|
|
|
2003-05-19 14:30:32 +02:00
|
|
|
post-patch:
|
2003-07-06 14:43:39 +02:00
|
|
|
@${PERL} -pi~ -e '$$_="" if $$. >32 && $$. <50' ${WRKSRC}/Makefile.PL
|
2003-05-19 14:30:32 +02:00
|
|
|
|
2002-07-02 20:07:33 +02:00
|
|
|
post-install:
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}/c/testapreq
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}/perl
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/eg/c/testapreq/* ${EXAMPLESDIR}/c/testapreq
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/eg/perl/* ${EXAMPLESDIR}/perl
|
|
|
|
.endif
|
2000-03-19 06:42:08 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|