1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/www/mod_perl2/Makefile
Sheldon Hearn e56af06882 Mark BROKEN for CURRENT with appropriate reference to a PR.
Install src/modules/perl/*.h (suggested by author).

Change some ${PREFIX} to ${LOCALBASE}.

Add RUN_DEPENDS for apache.  Although this breaks the ability to
select an Apache flavour for the package, it's necessary (asami).

PR:		15988
Submitted by:	Igor Vinokurov <igor@zynaps.ru>
2000-01-12 16:46:54 +00:00

56 lines
1.7 KiB
Makefile

# New ports collection makefile for: mod_perl
# Version required: 1.21
# Date created: November 5th 1999
# Whom: Sheldon Hearn <sheldonh@FreeBSD.org>
#
# $FreeBSD$
#
DISTNAME= mod_perl-1.21
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Apache
MAINTAINER= sheldonh@FreeBSD.org
BUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
RUN_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
USE_PERL5= YES
MAN3= Apache.3 Apache::Constants.3 Apache::ExtUtils.3 \
Apache::FakeRequest.3 Apache::Leak.3 \
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 \
Apache::httpd_conf.3 Apache::src.3 Bundle::Apache.3 \
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}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400000
BROKEN= "see PR 14924; use p5-Apache instead"
.endif
do-configure:
@ cd ${WRKSRC}; \
${PERL5} Makefile.PL USE_APXS=1 EVERYTHING=1 \
WITH_APXS=${LOCALBASE}/sbin/apxs \
PERL_EXTRA_CFLAGS='-DDEFAULT_PATH=\"/bin:/usr/bin:/usr/local/bin\"'
post-install:
${MKDIR} ${PREFIX}/include/apache/modules/perl
${INSTALL_DATA} ${WRKSRC}/src/modules/perl/*.h \
${PREFIX}/include/apache/modules/perl
${SH} ${PKGINSTALL}
.include <bsd.port.post.mk>