Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2002 21:49:45 +0000
From:      "Philip M. Gollucci" <philip@p6m7g8.com>
To:        ports@freeBSD.org
Cc:        okay@no.domain.spam
Subject:   mod_perl2.0
Message-ID:  <1039556984.606.20.camel@p6m7g8.hyatsv01.md.comcast.net>

next in thread | raw e-mail | index | archive | help
I've always wondered why this port wasn't done like a year ago. So I've
decided I can work on this one.

1.99_07 would be good except that xs/APR/APR/Makefile.PL doesn't know
about config_layout.FreeBSD that the apache2 port uses.

mod_perl2.0-current has since fixed this to grab the settings correctly.

So I figure I can just add the current file in the files/ directory as a
patch.  

Or / Also, can have mod_perl2-current port which just pulls it from CVS,
similair to gcc3.3

So far, I have the following most of which was snagged from
/usr/ports/mod_perl

I'm wondering though, given the rescent thread about ${AP_PORT}

# New ports collection makefile for:    mod_perl2
# Date created:                         December 9, 2002
# Whom:                        Philip M. Gollucci <philip@p6m7g8.com>
#
# $FreeBSD$
#

PORTNAME=       mod_perl2
PORTVERSION=    1.99
PORTEPOCH=      07
CATEGORIES=     www perl5
MASTER_SITES=   http://perl.apache.org/dist/
DISTNAME=       mod_perl-${PORTVERSION}_${PORTEPOCH}

MAINTAINER=     philip@p6m7g8.com

BUILD_DEPENDS=  ${LOCALBASE}/sbin/apxs:${APACHE_PORT}
RUN_DEPENDS=    ${LOCALBASE}/sbin/apxs:${APACHE_PORT}

USE_PERL5=      YES

PERLSITEDIR=    ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
MANPREFIX=      ${PREFIX}/lib/perl5/${PERL_VERSION}
APACHE_PORT?=   ${PORTSDIR}/www/apache2

.include <bsd.port.pre.mk>

do-configure:
        @cd ${WRKSRC}; \
        ${PERL5} Makefile.PL MP_INST_APACHE2=1 \
                MP_PROMPT_DEFAULT=1 MP_APXS=${LOCALBASE}/sbin/apxs
                INSTALLSITELIB=${PERLSITEDIR} \
                INSTALLSITEARCH=${PERLSITEDIR}/${PERL_ARCH} \
                INSTALLMAN3DIR=${MANPREFIX}/man/man3 \                
PERL_EXTRA_CFLAGS='-DDEFAULT_PATH=\"/bin:/usr/bin:/usr/local/bin\"'

.include <bsd.port.post.mk>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1039556984.606.20.camel>