head	1.10;
access;
symbols
	RELEASE_6_0_0:1.7
	RELEASE_5_4_0:1.6
	RELEASE_4_11_0:1.5
	RELEASE_5_3_0:1.5
	RELEASE_4_10_0:1.5
	RELEASE_5_2_1:1.4
	RELEASE_5_2_0:1.4
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1;
locks; strict;
comment	@# @;


1.10
date	2005.11.05.09.07.39;	author kris;	state dead;
branches;
next	1.9;

1.9
date	2005.11.04.10.52.59;	author edwin;	state Exp;
branches;
next	1.8;

1.8
date	2005.09.19.11.52.13;	author clement;	state Exp;
branches;
next	1.7;

1.7
date	2005.07.23.02.53.37;	author kris;	state Exp;
branches;
next	1.6;

1.6
date	2005.03.26.20.07.31;	author kris;	state Exp;
branches;
next	1.5;

1.5
date	2004.04.05.23.19.34;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2003.11.10.13.38.31;	author perky;	state Exp;
branches;
next	1.3;

1.3
date	2003.11.07.09.12.54;	author marcus;	state Exp;
branches;
next	1.2;

1.2
date	2003.02.25.06.25.35;	author perky;	state Exp;
branches;
next	1.1;

1.1
date	2002.07.13.18.38.33;	author perky;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Remove expired ports
@
text
@# New ports collection makefile for:	mod_pcgi2
# Date created:		19 May 2002
# Whom:			Hye-Shik Chang
#
# $FreeBSD: ports/www/mod_pcgi2/Makefile,v 1.9 2005/11/04 10:52:59 edwin Exp $
#

PORTNAME=	mod_pcgi2
PORTVERSION=	2.0.2
CATEGORIES=	www zope
MASTER_SITES=	http://zope.org/Members/phd/mod_pcgi2/mod_pcgi2/
DISTNAME=	${PORTNAME}-${PORTVERSION}-src

MAINTAINER=	perky@@FreeBSD.org
COMMENT=	Persistent CGI module for Apache and Zope

RUN_DEPENDS=	${ZOPEBASEDIR}/skel/bin/zopectl.in:${PORTSDIR}/www/zope

APACHE_COMPAT=	yes

.if defined(WITH_APACHE13)
BUILD_DEPENDS=	${LOCALBASE}/include/apache/httpd.h:${PORTSDIR}/${APACHE_PORT}
RUN_DEPENDS=	${LOCALBASE}/include/apache/httpd.h:${PORTSDIR}/${APACHE_PORT}
.else
BUILD_DEPENDS=	${LOCALBASE}/include/apache2/httpd.h:${PORTSDIR}/${APACHE_PORT}
RUN_DEPENDS=	${LOCALBASE}/include/apache2/httpd.h:${PORTSDIR}/${APACHE_PORT}
.endif

USE_PYTHON=	yes

# You can change this in the environment if you like.
SZOPEBASEDIR?=	www/Zope

# Don't change these
ZOPEBASEDIR=	${LOCALBASE}/${SZOPEBASEDIR}
WRKSRC=		${WRKDIR}/pcgi2
BUILDOPT=	-DMOD_PCGI2 -DUNIX -DHAVE_UNION_SEMUN
SOURCES=	mod_pcgi2.c parseinfo.c pcgi-wrapper.c
PLIST_SUB=	APXS="${APXS}" APACHEVER="${APACHEVER}"
MSG_SUB=	-e 's,%%CONFFILE%%,etc/${APACHEVER}/mod_pcgi2.conf,' \
		-e 's,%%PREFIX%%,${PREFIX},'
PKGMESSAGE=	${WRKDIR}/pkg-message

.if defined(WITH_APACHE13)
APACHEVER=	apache
.else
WITH_APACHE2=	yes
APACHEVER=	apache2
BUILDOPT+=	-DAPACHE2 -Wc,-shared
.endif

post-extract:
	@@${SED} -e 's,%%PYTHON_CMD%%,${PYTHON_CMD},g' \
		-e 's,%%ZOPEBASEDIR%%,${ZOPEBASEDIR},g' \
		${FILESDIR}/mod_pcgi2.conf.dist >${WRKDIR}/mod_pcgi2.conf
	@@${SED} ${MSG_SUB} pkg-message > ${PKGMESSAGE}

do-build:
	@@cd ${WRKSRC} && ${APXS} -c -o mod_pcgi2.so ${BUILDOPT} ${SOURCES}

do-install:
.if defined(WITH_APACHE13)
	@@${APXS} -ia -n pcgi2 ${WRKSRC}/mod_pcgi2.so
.else
	@@${INSTALL_PROGRAM} ${WRKSRC}/.libs/mod_pcgi2.so ${PREFIX}/libexec/${APACHEVER}/
	@@${APXS} -ea -n pcgi2 libexec/${APACHEVER}/mod_pcgi2.so
.endif
	@@${INSTALL_DATA} ${WRKDIR}/mod_pcgi2.conf ${PREFIX}/etc/${APACHEVER}/
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.9
log
@Undo breakage by properly installing mod_pcgi2.so
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.8
log
@- Define APACHE_COMPAT
  It fixed INDEX build with next exp-build patchset and prepare a smooth
  migration to bsd.apache.mk
  It's a no-op for now.

Approved by:	portmgr (self)
@
text
@a19 3
BROKEN=		Does not install
DEPRECATED=	${BROKEN}
EXPIRATION_DATE=2005-09-22
d65 1
a65 1
	@@${INSTALL_PROGRAM} ${WRKSRC}/mod_pcgi2.so ${PREFIX}/libexec/${APACHEVER}/
@


1.7
log
@This port is scheduled for deletion on 2005-09-22 if it is still broken
at that time and no PRs have been submitted to fix it.
@
text
@d19 1
@


1.6
log
@BROKEN: Install fails

Approved by:    portmgr (self)
@
text
@d20 2
@


1.5
log
@- Chase zope-2.7 update (change of dependency file)
@
text
@d19 2
@


1.4
log
@Update to 2.0.2
@
text
@d17 1
a17 1
RUN_DEPENDS=	${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope
@


1.3
log
@Use the new Apache bits from bsd.port.mk.

Submitted by:	dinoex
@
text
@d9 1
a9 1
PORTVERSION=	2.0.1
d11 1
a11 1
MASTER_SITES=	http://www.zope.org/Members/phd/mod_pcgi2/
@


1.2
log
@De-pkg-comment for my ports.
@
text
@d20 2
a21 2
BUILD_DEPENDS=	${LOCALBASE}/include/apache/httpd.h:${PORTSDIR}/www/apache13
RUN_DEPENDS=	${LOCALBASE}/include/apache/httpd.h:${PORTSDIR}/www/apache13
d23 2
a24 2
BUILD_DEPENDS=	${LOCALBASE}/include/apache2/httpd.h:${PORTSDIR}/www/apache2
RUN_DEPENDS=	${LOCALBASE}/include/apache2/httpd.h:${PORTSDIR}/www/apache2
a30 1
APXS?=		${LOCALBASE}/sbin/apxs
d45 1
@


1.1
log
@Add mod_pcgi2 2.0.1, Persistent CGI module for Apache and Zope.

PR:		38269
Submitted by:	perky
@
text
@d15 1
@

