1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/www/mod_python3/Makefile
Hye-Shik Chang 421a5d8ea9 Update to 3.1.3 and unmark FORBIDDEN.
Spotted by:	Simon Barner <barner@in.tum.de>,
		Oliver Eikemeier <eikemeier@fillmore-labs.com>
2004-03-11 14:36:30 +00:00

39 lines
813 B
Makefile

# New ports collection makefile for: mod_python
# Date created: 28 August 2000
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= mod_python
PORTVERSION= 3.1.3
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
MASTER_SITE_SUBDIR= modpython
EXTRACT_SUFX= .tgz
MAINTAINER= perky@FreeBSD.org
COMMENT= Apache module that embeds the Python interpreter within the server
WITH_APACHE2= yes
USE_APACHE= yes
USE_PYTHON= yes
LATEST_LINK= mod_python3
GNU_CONFIGURE= yes
USE_REINPLACE= yes
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
MAKE_ENV= EXPR_COMPAT=yes
.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
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>