2000-01-12 17:46:54 +01:00
|
|
|
# New ports collection makefile for: mod_perl
|
1999-11-09 11:37:34 +01:00
|
|
|
# Date created: November 5th 1999
|
|
|
|
# Whom: Sheldon Hearn <sheldonh@FreeBSD.org>
|
1999-11-05 15:50:26 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-10 02:07:29 +02:00
|
|
|
PORTNAME= mod_perl
|
2004-03-28 18:58:28 +02:00
|
|
|
PORTVERSION= 1.29
|
2004-09-02 11:58:25 +02:00
|
|
|
PORTREVISION= 1
|
1999-11-05 15:50:26 +01:00
|
|
|
CATEGORIES= www perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= Apache
|
|
|
|
|
2004-08-18 18:21:55 +02:00
|
|
|
MAINTAINER= apache@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Embeds a Perl interpreter in the Apache server
|
1999-11-05 15:50:26 +01:00
|
|
|
|
2005-09-19 11:10:47 +02:00
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww
|
2003-02-24 08:25:41 +01:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
1999-11-05 15:50:26 +01:00
|
|
|
|
2005-09-19 11:10:47 +02:00
|
|
|
USE_APACHE= YES
|
2004-01-11 03:30:44 +01:00
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= USE_APXS=1 EVERYTHING=1 INSTALLSITELIB=${SITE_PERL} \
|
|
|
|
INSTALLSITEARCH=${SITE_PERL}/${PERL_ARCH} \
|
|
|
|
WITH_APXS=${APXS} \
|
|
|
|
PERL_EXTRA_CFLAGS='-DDEFAULT_PATH=\"/bin:/usr/bin:/usr/local/bin\"'
|
1999-11-05 15:50:26 +01:00
|
|
|
|
|
|
|
MAN3= Apache.3 Apache::Constants.3 Apache::ExtUtils.3 \
|
2000-03-10 11:41:18 +01:00
|
|
|
Apache::FakeRequest.3 Apache::File.3 Apache::Leak.3 \
|
1999-11-05 15:50:26 +01:00
|
|
|
Apache::Log.3 Apache::Options.3 \
|
|
|
|
Apache::PerlRun.3 Apache::PerlRunXS.3 \
|
|
|
|
Apache::RedirectLogFix.3 \
|
|
|
|
Apache::Registry.3 Apache::SizeLimit.3 \
|
|
|
|
Apache::Status.3 Apache::Symbol.3 Apache::Symdump.3 \
|
|
|
|
Apache::Table.3 Apache::URI.3 Apache::Util.3 \
|
2003-07-10 13:59:49 +02:00
|
|
|
Apache::httpd_conf.3 Apache::src.3 Apache::testold.3 \
|
2001-02-14 14:33:14 +01:00
|
|
|
Bundle::Apache.3 \
|
1999-11-05 15:50:26 +01:00
|
|
|
Apache::Debug.3 mod_perl.3 Apache::SIG.3 Apache::Resource.3 \
|
|
|
|
Apache::RegistryLoader.3 Apache::StatINC.3 Apache::Include.3 \
|
|
|
|
Apache::PerlSections.3 cgi_to_mod_perl.3 \
|
|
|
|
mod_perl_cvs.3 mod_perl_method_handlers.3 mod_perl_traps.3 \
|
|
|
|
mod_perl_tuning.3
|
2005-05-22 16:51:54 +02:00
|
|
|
.if defined(APACHE_PORT)
|
|
|
|
. if ${APACHE_PORT:Mipv6} != ""
|
|
|
|
WITH_APACHE_IPV6= YES
|
|
|
|
. endif
|
|
|
|
.endif
|
1999-11-05 15:50:26 +01:00
|
|
|
|
2005-05-22 16:51:54 +02:00
|
|
|
.if defined(WITH_APACHE_IPV6)
|
2004-08-18 21:11:12 +02:00
|
|
|
CFLAGS+= -DAPACHE6
|
|
|
|
.endif
|
|
|
|
|
2000-03-10 11:41:18 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-09-02 11:58:25 +02:00
|
|
|
.if ${PERL_LEVEL} >= 500800
|
|
|
|
MAN3+= Apache::MyConfig.3
|
|
|
|
.endif
|
|
|
|
|
1999-11-05 15:50:26 +01:00
|
|
|
post-install:
|
2000-01-12 17:46:54 +01:00
|
|
|
${MKDIR} ${PREFIX}/include/apache/modules/perl
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/modules/perl/*.h \
|
|
|
|
${PREFIX}/include/apache/modules/perl
|
2001-02-15 11:50:18 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/apaci/libperl.so ${PREFIX}/libexec/apache
|
2001-03-06 18:15:02 +01:00
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
1999-11-05 15:50:26 +01:00
|
|
|
|
2001-05-28 22:52:46 +02:00
|
|
|
post-deinstall:
|
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGDEINSTALL} ${PKGNAME} POST-DEINSTALL
|
|
|
|
|
2000-03-10 11:41:18 +01:00
|
|
|
.include <bsd.port.post.mk>
|