2000-01-12 11:46:54 -05:00
|
|
|
# New ports collection makefile for: mod_perl
|
1999-11-09 05:37:34 -05:00
|
|
|
# Date created: November 5th 1999
|
|
|
|
# Whom: Sheldon Hearn <sheldonh@FreeBSD.org>
|
1999-11-05 09:50:26 -05:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 20:07:29 -04:00
|
|
|
PORTNAME= mod_perl
|
2001-07-18 06:07:41 -04:00
|
|
|
PORTVERSION= 1.26
|
1999-11-05 09:50:26 -05:00
|
|
|
CATEGORIES= www perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= Apache
|
|
|
|
|
|
|
|
MAINTAINER= sheldonh@FreeBSD.org
|
|
|
|
|
2000-01-12 11:46:54 -05:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
|
1999-11-05 09:50:26 -05:00
|
|
|
|
|
|
|
USE_PERL5= YES
|
|
|
|
|
|
|
|
MAN3= Apache.3 Apache::Constants.3 Apache::ExtUtils.3 \
|
2000-03-10 05:41:18 -05:00
|
|
|
Apache::FakeRequest.3 Apache::File.3 Apache::Leak.3 \
|
1999-11-05 09:50:26 -05: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 \
|
2001-02-14 08:33:14 -05:00
|
|
|
Apache::httpd_conf.3 Apache::src.3 Apache::test.3 \
|
|
|
|
Bundle::Apache.3 \
|
1999-11-05 09:50:26 -05: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
|
|
|
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
2001-02-14 08:33:14 -05:00
|
|
|
PERLSITEDIR= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
|
1999-11-05 09:50:26 -05:00
|
|
|
|
2000-03-10 05:41:18 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1999-11-05 09:50:26 -05:00
|
|
|
do-configure:
|
|
|
|
@ cd ${WRKSRC}; \
|
|
|
|
${PERL5} Makefile.PL USE_APXS=1 EVERYTHING=1 \
|
2001-02-14 08:33:14 -05:00
|
|
|
PREFIX=${PREFIX} INSTALLSITELIB=${PERLSITEDIR} \
|
|
|
|
INSTALLSITEARCH=${PERLSITEDIR}/${PERL_ARCH} \
|
|
|
|
INSTALLMAN3DIR=${MANPREFIX}/man/man3 \
|
2000-01-12 11:46:54 -05:00
|
|
|
WITH_APXS=${LOCALBASE}/sbin/apxs \
|
1999-11-05 09:50:26 -05:00
|
|
|
PERL_EXTRA_CFLAGS='-DDEFAULT_PATH=\"/bin:/usr/bin:/usr/local/bin\"'
|
|
|
|
|
|
|
|
post-install:
|
2000-01-12 11:46:54 -05:00
|
|
|
${MKDIR} ${PREFIX}/include/apache/modules/perl
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/modules/perl/*.h \
|
|
|
|
${PREFIX}/include/apache/modules/perl
|
2001-02-15 05:50:18 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/apaci/libperl.so ${PREFIX}/libexec/apache
|
2001-03-06 12:15:02 -05:00
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
1999-11-05 09:50:26 -05:00
|
|
|
|
2001-05-28 16:52:46 -04:00
|
|
|
post-deinstall:
|
|
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGDEINSTALL} ${PKGNAME} POST-DEINSTALL
|
|
|
|
|
2000-03-10 05:41:18 -05:00
|
|
|
.include <bsd.port.post.mk>
|