1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/www/mod_python33/Makefile
Marcus von Appen ff1a29fe19 - Unbreak the build after the recent lang/python27 update.
PR:		192348
Submitted by:	peter@
2014-08-03 08:07:20 +00:00

41 lines
895 B
Makefile

# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= mod_python
PORTVERSION= 3.3.1
PORTREVISION= 7
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD}
MASTER_SITE_SUBDIR= modpython
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
PKGNAMESUFFIX= 33
DIST_SUBDIR= apache2
MAINTAINER= apache@FreeBSD.org
COMMENT= Apache module that embeds the Python interpreter within the server
LICENSE= APACHE20
CONFLICTS_INSTALL= ap2[24]-mod_python3[^3]*
USE_APACHE= 22
USE_PYTHON= yes
USES= tar:tgz
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-apxs="${APXS}" \
--with-python="${PYTHON_CMD}" \
--without-flex
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ARGS+= APXS=${APXS}
MAKE_ENV= EXPR_COMPAT=yes
PLIST_SUB+= PORTVERSION=${PORTVERSION} \
PYTHON_VER=${PYTHON_VER}
# You need to install apache & mod_python before you run this
regression-test: build
-@${MAKE} check -C ${WRKSRC}
.include <bsd.port.mk>