From owner-freebsd-ports Tue Dec 10 18:52:30 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED74137B401 for ; Tue, 10 Dec 2002 18:52:28 -0800 (PST) Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62D9D43E4A for ; Tue, 10 Dec 2002 18:52:28 -0800 (PST) (envelope-from philip@p6m7g8.com) Received: from [192.168.1.50] (pcp699707pcs.hyatsv01.md.comcast.net [68.50.173.216]) by mtaout04.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.05 (built Nov 6 2002)) with ESMTP id <0H6X00M6OP6X53@mtaout04.icomcast.net> for ports@freeBSD.org; Tue, 10 Dec 2002 21:49:45 -0500 (EST) Date: Tue, 10 Dec 2002 21:49:45 +0000 From: "Philip M. Gollucci" Subject: mod_perl2.0 To: ports@freeBSD.org Cc: okay@no.domain.spam Message-id: <1039556984.606.20.camel@p6m7g8.hyatsv01.md.comcast.net> Organization: eJournalPress / UMCP & SDU MIME-version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Content-type: text/plain Content-transfer-encoding: 7BIT Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 # # $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 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message