2000-10-28 03:20:02 +02:00
|
|
|
# New ports collection makefile for: mod_python
|
|
|
|
# Date created: 28 August 2000
|
2003-01-07 03:47:59 +01:00
|
|
|
# Whom: Hye-Shik Chang
|
2000-10-28 03:20:02 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mod_python
|
2003-04-09 14:43:50 +02:00
|
|
|
PORTVERSION= 3.0.3
|
2000-10-28 03:20:02 +02:00
|
|
|
CATEGORIES= www python
|
2003-04-16 23:35:34 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
|
2003-01-07 03:47:59 +01:00
|
|
|
MASTER_SITE_SUBDIR= modpython
|
2001-08-16 11:31:29 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
2000-10-28 03:20:02 +02:00
|
|
|
|
2003-01-07 03:47:59 +01:00
|
|
|
MAINTAINER= perky@FreeBSD.org
|
2003-02-25 07:25:35 +01:00
|
|
|
COMMENT= Apache module that embeds the Python interpreter within the server
|
2000-10-28 03:20:02 +02:00
|
|
|
|
2003-11-07 10:12:58 +01:00
|
|
|
USE_APACHE= yes
|
2001-03-23 01:27:40 +01:00
|
|
|
USE_PYTHON= yes
|
|
|
|
|
2000-11-15 15:09:37 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-08-05 05:14:38 +02:00
|
|
|
USE_REINPLACE= yes
|
2003-01-07 03:47:59 +01:00
|
|
|
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
|
|
|
|
MAKE_ENV= EXPR_COMPAT=yes
|
2001-03-23 01:27:40 +01:00
|
|
|
|
2003-08-05 05:14:38 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PYTHON_REL} >= 230
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's,LONG_LONG,long long,g' ${WRKSRC}/src/requestobject.c
|
|
|
|
.endif
|
|
|
|
|
2000-10-28 03:20:02 +02:00
|
|
|
post-install:
|
2000-11-15 15:09:37 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2000-10-28 03:20:02 +02:00
|
|
|
|
2003-08-05 05:14:38 +02:00
|
|
|
.include <bsd.port.post.mk>
|